diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-04-17 16:38:26 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-03 06:11:57 +0100 |
commit | 8216015a85812a225563ac85149ecaf37678d2c6 (patch) | |
tree | 45f3e97c7f4f8d64874a51bbacb15453716a24bb /meta/conf | |
parent | 69085ccb296b35b0b0ed67c871f0f60106c27a48 (diff) | |
download | poky-8216015a85812a225563ac85149ecaf37678d2c6.tar.gz |
dbus: fix ptest failure
1. since one bug in run-ptest, testcase test-bus have never been
actually run (althrough it's result is PASS).
After commit 0828850, test-bus can actually run but it
did not install:
test-service, test-shell-service, test-segfault, and
dbus-daemon-launch-helper-test
Add the configure flag:
--enable-embedded-tests
to generate binary dbus-daemon-launch-helper-test, then install
them so that test-bus will now pass.
2. fix testcase test-dbus-daemon failed
we enable --enable-verbose-mode in recipe dbus-test, and don't
enable it in recipe dbus. This will make below test code get
unexpect result of have_verbose and assert.
disable --enable-verbose-mode for recipe dbus-test to fix it.
#ifdef DBUS_ENABLE_STATS
g_assert_true (have_stats);
#else
g_assert_false (have_stats);
#endif
[RP: Since the new test is slow dbus moves to the slow ptest list]
(From OE-Core rev: 2ea676072d7edd06ef9e886827c0d61d574ca377)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/include/ptest-packagelists.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 52f7439e25..ec7ed6fa4d 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc | |||
@@ -10,7 +10,6 @@ PTESTS_FAST = "\ | |||
10 | attr-ptest \ | 10 | attr-ptest \ |
11 | bluez5-ptest \ | 11 | bluez5-ptest \ |
12 | bzip2-ptest \ | 12 | bzip2-ptest \ |
13 | dbus-test-ptest \ | ||
14 | diffstat-ptest \ | 13 | diffstat-ptest \ |
15 | diffutils-ptest \ | 14 | diffutils-ptest \ |
16 | elfutils-ptest \ | 15 | elfutils-ptest \ |
@@ -60,6 +59,7 @@ PTESTS_FAST = "\ | |||
60 | PTESTS_SLOW = "\ | 59 | PTESTS_SLOW = "\ |
61 | bash-ptest \ | 60 | bash-ptest \ |
62 | busybox-ptest \ | 61 | busybox-ptest \ |
62 | dbus-test-ptest \ | ||
63 | e2fsprogs-ptest \ | 63 | e2fsprogs-ptest \ |
64 | glib-2.0-ptest \ | 64 | glib-2.0-ptest \ |
65 | gstreamer1.0-ptest \ | 65 | gstreamer1.0-ptest \ |