summaryrefslogtreecommitdiffstats
path: root/src/oh-autotest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/oh-autotest.sh')
-rw-r--r--src/oh-autotest.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/oh-autotest.sh b/src/oh-autotest.sh
index 7176c08..db5ffff 100644
--- a/src/oh-autotest.sh
+++ b/src/oh-autotest.sh
@@ -45,7 +45,9 @@ main()
oh_buildsystems_init
- oh_buildsystem_do 'test' "${@}"
+ if sys="$(oh_buildsystem_find 'test')"; then
+ oh_buildsystem_do 'test' "${sys}" "${@}"
+ fi
}
main "${@}"