Project

General

Profile

Actions

Bug #1271

closed

testsuite should use bt2 python imports

Added by Mathieu Desnoyers almost 4 years ago. Updated 13 days ago.

Status:
Resolved
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.

Actions #1

Updated by Mathieu Desnoyers almost 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.

Actions #2

Updated by Kienan Stewart 13 days 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

Actions

Also available in: Atom PDF