Project

General

Profile

Bug #1271

testsuite should use bt2 python imports

Added by Mathieu Desnoyers about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/29/2020
Due date:
% Done:

0%

Estimated time:

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.

#1

Updated by Mathieu Desnoyers about 1 month 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.

Also available in: Atom PDF