aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus/dbus/run-ptest
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2014-05-14 17:29:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-15 23:24:04 +0100
commit596470547451084944082cbed50351ad0d912255 (patch)
tree2cb2d74142281a3ddadc520f3bbb25ac00b0d371 /meta/recipes-core/dbus/dbus/run-ptest
parent0c16964c8f1c96066ab7254048bc5025dd7b4e59 (diff)
downloadopenembedded-core-contrib-596470547451084944082cbed50351ad0d912255.tar.gz
dbus: Update to 1.8.2 version
Upgrade dbus to 1.8.2. Modify ptest suite to make it enabled on new version. If systemd in DISTRO_FEATURES, we expect to install dbus systemd unit files. Remove unneeded patches since it's included in new version. Remove unrecognized option: "--with-xml" [YOCTO #6092] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
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 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