Fix: tests: use run_python in gen_mctf_trace
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 30 Oct 2023 15:30:29 +0000 (11:30 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 31 Oct 2023 16:54:08 +0000 (12:54 -0400)
commitec48dce5240d32024e33d519de41eaf5fc7a5a31
treef668f6d82daa9b26363a0b1f385fba8e1f591d94
parent6362d281d2fce21fbb610bae0cabaee4f73c3415
Fix: tests: use run_python in gen_mctf_trace

gen_mctf_trace calls the python3 interpreter, without using the
`run_python` wrapper.  PYTHONPATH is therefore not set appropriately
for Python to find our local `typing.py` module, if needed.

Add a call to `run_python` to fix that.

Change-Id: Id813169905d511e5600a70cebad681b00ebb49d8
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11171
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
CI-Build: Michael Jeanson <mjeanson@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
tests/utils/utils.sh
This page took 0.024418 seconds and 4 git commands to generate.