Fix: tests: conditionally skip Python bindings test that requires Python plugins...
authorSimon Marchi <simon.marchi@efficios.com>
Sun, 7 Jun 2020 22:54:29 +0000 (18:54 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 1 Nov 2023 20:17:40 +0000 (16:17 -0400)
commitfaf5c654855a7a42093e43c4c739bb69dd2375d3
tree206652426c1c553722d48c3e9ce6af39f3d437c2
parentc470d6c4d3b98aea46520862481cc158314129e3
Fix: tests: conditionally skip Python bindings test that requires Python plugins support

As exposed by bug 1272 [1], there are some tests in
test_trace_collection_message_iterator.py that depend on Python plugins
being enabled.  Running the tests with `--enable-python-bindings` and
`--disable-python-plugins` therefore leads to these tests failing.

Fix it by skipping them if the support for Python plugins is not
enabled.

[1] https://bugs.lttng.org/issues/1272

Change-Id: I4881a3b0a336b9078715837cb7f8f423bbc2b982
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3621
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
CI-Build: Michael Jeanson <mjeanson@efficios.com>
configure.ac
tests/bindings/python/bt2/test_trace_collection_message_iterator.py
tests/plugins/sink.ctf.fs/test-assume-single-trace.sh
tests/plugins/sink.ctf.fs/test-stream-names.sh
tests/utils/env.sh.in
This page took 0.024739 seconds and 4 git commands to generate.