Bug #1271
closed
testsuite should use bt2 python imports
Added by Mathieu Desnoyers almost 5 years ago.
Updated about 1 year ago.
Description
The test regression/kernel/validate_select_poll_epoll.py is the single user of the babeltrace python import.
We should move this to the babeltrace2 python API and introduce a dependency on babeltrace2 for the python tests within lttng-tools.
Related to this:
regression/kernel/test_select_poll_epoll disables the use of babeltrace python bindings as soon as running the python script fails, but without reporting any test failure.
We should probably revisit whether we want to make babeltrace2 python bindings mandatory for tests, and if not, we should perhaps introduce a new "--enable-babeltrace-python-bindings" configure option to allow enabling use of those bindings in a way that reports an error if they are missing.
- Status changed from New to Resolved
Marking resolved as this work as been done - `tests/regression/kernel/validate_select_poll_epoll.py` uses the bt2 import
Also available in: Atom
PDF