Fix: tests: use the test suite configured python binary
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 19 Oct 2020 17:03:50 +0000 (13:03 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Oct 2020 18:56:53 +0000 (14:56 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I4cd7e1389503fe0914abf965f56e9d2143cbe9fa

tests/plugins/sink.text.pretty/test_enum

index ed241c3b39cac53722e878b30f54e6cd2e2bc796..b943efc0190a3d6f4215b089058b24afd341ba8f 100755 (executable)
@@ -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)"
 }
 
This page took 0.025701 seconds and 4 git commands to generate.