Skip to content

Build and package dbus-tests - separate recipe

Andrei Gherzan openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2python-dbus: Native dbus python module needed for dbus testsmeta/recipes-devtools/python/python-dbus_1.1.1.bb+4 -12 replies
2/2dbus-tests: Add separate recipe for building dbus-testsmeta/recipes-core/dbus/dbus-tests/run_test.sh meta/recipes-core/dbus/dbus-tests_1.4.20.bb+86 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Build and package dbus-tests - separate recipe

While compiling dbus with tests, dbus and dbus-glib are needed. To compile dbus-glib, dbus is needed (obviously). The only solution (to compile dbus with tests) that i found, is to create a new recipe named dbus-tests where to compile dbus with --enable-tests --enable-embedded-tests, skip write to sysroot (noexec) and just package dbus-tests.
I included a wrapper to run all tests.
As discussed on mailing list, tests location is: libdir/BPN

Tested on all qemu machines with dbus 1.4.20 and with the comming 1.6.4

The following changes since commit bddd8300325267253941e7ce656ce2cf86a8a4a4:

apr-util: fix the rules.mk with path to sysroot instead of the workdir of apr (2012-08-17 13:10:08 +0100)

are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ag/dbus-tests
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ag/dbus-tests

Andrei Gherzan (2):
python-dbus: Native dbus python module needed for dbus tests
dbus-tests: Add separate recipe for building dbus-tests

 meta/recipes-core/dbus/dbus-tests/run_test.sh     |   22 +++++++
 meta/recipes-core/dbus/dbus-tests_1.4.20.bb       |   64 +++++++++++++++++++++
 meta/recipes-devtools/python/python-dbus_1.1.1.bb |    5 +-
 3 files changed, 90 insertions(+), 1 deletions(-)
 create mode 100755 meta/recipes-core/dbus/dbus-tests/run_test.sh
 create mode 100644 meta/recipes-core/dbus/dbus-tests_1.4.20.bb
Signature · 1 line
1.7.5.4