]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
babeltrace2: Fix python bindings ptests
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 14 Aug 2025 17:49:50 +0000 (17:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Aug 2025 08:56:03 +0000 (09:56 +0100)
commit459ca12493a69402c1a0eaa367d8122c3e8c6acc
treeca2c15665711d4bc0445301ef57034b03b2f9ff5
parent194470edf300ae5fd800374c15ef74005d8ca307
babeltrace2: Fix python bindings ptests

The python bindings ptests weren't functional. This patch:

  * Adds a patch to allow the tests to be executed on target standalone
  * Sets a variable to allow the right install path to be passed to setup.py
  * Sets the right paths in the ptest runner script for the python modules
  * Installs the missing data needed to run the tests

Base patch was written by Michael Jeanson, RP then tweaked wording
and formatting and added config to complete the work on all arches.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/babeltrace2/external-python-tests.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/babeltrace2/run-ptest
meta/recipes-kernel/lttng/babeltrace2_2.1.1.bb