summaryrefslogtreecommitdiffstats
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-ptest34
1 files changed, 1 insertions, 33 deletions
diff --git a/meta/recipes-core/dbus/dbus/run-ptest b/meta/recipes-core/dbus/dbus/run-ptest
index d3eec08235..54f43e1f68 100755
--- a/meta/recipes-core/dbus/dbus/run-ptest
+++ b/meta/recipes-core/dbus/dbus/run-ptest
@@ -1,35 +1,3 @@
1#!/bin/sh 1#!/bin/sh
2 2gnome-desktop-testing-runner dbus
3output() {
4 retcode=$?
5 if [ $retcode -eq 0 ]
6 then echo "PASS: $i"
7 elif [ $retcode -eq 77 ]
8 then echo "SKIP: $i"
9 else echo "FAIL: $i"
10 fi
11}
12
13export DBUS_TEST_HOMEDIR=./test
14export XDG_RUNTIME_DIR=./test
15export LD_LIBRARY_PATH=@PTEST_PATH@/test/.libs
16
17files=`ls test/test-*`
18
19for i in $files
20do
21 #these programs are used by testcase test-bus, don't run here
22 #additionally, test-names needs to be run under X
23 if [ $i = "test/test-service" ] \
24 || [ $i = "test/test-shell-service" ] \
25 || [ $i = "test/test-segfault" ] \
26 || [ $i = "test/test-bus" ] \
27 || [ $i = "test/test-names" ]
28 then
29 continue
30 fi
31
32 ./$i ./test/data >/dev/null 2>&1
33 output
34done
35 3