testsuite should use bt2 python imports
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 9 months 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.