From: Michael Jeanson Date: Mon, 19 Oct 2020 17:03:50 +0000 (-0400) Subject: Fix: tests: use the test suite configured python binary X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=ae5c1a4481be68fae027910b141354c1d86daa64 Fix: tests: use the test suite configured python binary Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau Change-Id: I4cd7e1389503fe0914abf965f56e9d2143cbe9fa --- diff --git a/tests/plugins/sink.text.pretty/test_enum b/tests/plugins/sink.text.pretty/test_enum index ed241c3b..b943efc0 100755 --- a/tests/plugins/sink.text.pretty/test_enum +++ b/tests/plugins/sink.text.pretty/test_enum @@ -36,7 +36,7 @@ function compare_enum_sorted # data structures differently (e.g. dictionaries are insertion sorted # since Python 3.7). - run_python_bt2 python3 "${BT_TESTS_SRCDIR}/utils/python/split_sort_compare.py" \ + run_python_bt2 "${BT_TESTS_PYTHON_BIN}" "${BT_TESTS_SRCDIR}/utils/python/split_sort_compare.py" \ "$(cat $expected_file)" "$(cat $actual_file)" }