tests/utils/utils.sh: run_python_bt2_test(): make `python_exec` var. local
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 10 Nov 2023 04:41:04 +0000 (23:41 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 7 Feb 2024 21:25:56 +0000 (16:25 -0500)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I05f7600cd60ba849ab20617d6354ddf07db4afa0

tests/utils/utils.sh

index aa7353b7781846c708b4b5c2d9a3037dd3af72cf..8320b18939cfeb900261ec19b3b6bcd9ed254dd3 100644 (file)
@@ -460,6 +460,8 @@ run_python_bt2_test() {
        local -r test_dir="$1"
        local -r test_pattern="${2:-'*'}"
 
+       local python_exec
+
        if test "${BT_TESTS_COVERAGE:-}" = "1"; then
                python_exec="check_coverage"
        else
This page took 0.024575 seconds and 4 git commands to generate.