Bug #1271
closedtestsuite should use bt2 python imports
0%
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.
Updated by Mathieu Desnoyers over 4 years ago
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.
Updated by Kienan Stewart 6 months ago
- 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