From: Philippe Proulx Date: Fri, 10 Nov 2023 05:30:41 +0000 (-0500) Subject: tests/utils/utils.sh: don't export `BT_TESTS_ENABLE_ASAN` X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=ea81414f0c8672a6575de4b98ad395cfcad93a7c tests/utils/utils.sh: don't export `BT_TESTS_ENABLE_ASAN` It's only needed by run_python_bt2(). Signed-off-by: Philippe Proulx Change-Id: I5a634fc8dca4ac549ce0487879c36549dfa63dc8 --- diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index 2487444b..36fc86fe 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -184,10 +184,12 @@ fi export BT_TESTS_CC_BIN # Whether or not to enable AddressSanitizer, `0` (disabled) if not set. +# +# This doesn't need to be exported from the point of view of this file, +# but the sourced `env.sh` above does export it. if [ -z "${BT_TESTS_ENABLE_ASAN:-}" ]; then BT_TESTS_ENABLE_ASAN="0" fi -export BT_TESTS_ENABLE_ASAN # Directory containing test data BT_TESTS_DATADIR="${BT_TESTS_SRCDIR}/data"