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

Submitted by Andrei Gherzan on Aug. 17, 2012, 1:02 p.m. | Patch ID: 34813


Message ID cover.1345208249.git.andrei.gherzan@windriver.com
State New
Headers show


git://git.yoctoproject.org/poky-contrib ag/dbus-tests

Commit Message

Andrei Gherzan Aug. 17, 2012, 1:02 p.m.
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

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

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