aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus/dbus/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/dbus/dbus/run-ptest')
-rwxr-xr-xmeta/recipes-core/dbus/dbus/run-ptest11
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/recipes-core/dbus/dbus/run-ptest b/meta/recipes-core/dbus/dbus/run-ptest
index e08ecb1a637..c72d083a917 100755
--- a/meta/recipes-core/dbus/dbus/run-ptest
+++ b/meta/recipes-core/dbus/dbus/run-ptest
@@ -1,3 +1,10 @@
#!/bin/sh
-cd test
-make -k runtest-TESTS
+
+output() {
+ if [ $? -eq 0 ]
+ then echo "PASS: $i"
+ else echo "FAIL: $i"
+ fi
+}
+
+for i in `ls test/test-*`; do ./$i ./test/data DBUS_TEST_HOMEDIR=./test >/dev/null; output; done