tests/utils/utils.sh: add run_python helper function
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 22 Sep 2023 15:33:59 +0000 (11:33 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 11 Oct 2023 03:43:33 +0000 (23:43 -0400)
commit1e14ec653e366e2781f59e03ac619748f345d6d1
tree3fc2a97cbba2482c537d6d97451a0cfb99a06a0a
parent041857ecdec13bc59d1bcce2d73e6371f6ba4e7c
tests/utils/utils.sh: add run_python helper function

Add a run_python function, which runs the passed command with
`tests/utils/python` in PYTHONPATH.  Re-implement run_python_bt2 on top
of run_python.

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