From ea81414f0c8672a6575de4b98ad395cfcad93a7c Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 10 Nov 2023 00:30:41 -0500 Subject: [PATCH] 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 --- tests/utils/utils.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- 2.34.1