diff options
Diffstat (limited to 'meta/recipes-core/dbus/dbus/run-ptest')
-rwxr-xr-x | meta/recipes-core/dbus/dbus/run-ptest | 11 |
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 e08ecb1a63..c72d083a91 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 |