#
# This doesn't need to be exported, but it needs to remain set for
# run_python() to use it.
#
# This doesn't need to be exported, but it needs to remain set for
# run_python() to use it.
# Name of the `python3-config` command to use when testing, if not set
if [ -z "${BT_TESTS_PYTHON_CONFIG_BIN:-}" ]; then
# Name of the `python3-config` command to use when testing, if not set
if [ -z "${BT_TESTS_PYTHON_CONFIG_BIN:-}" ]; then
# Append it to existing `ASAN_OPTIONS` variable, such that we
# override the user's value if it contains `detect_leaks=1`.
if [ "${BT_TESTS_ENABLE_ASAN:-}" = "1" ]; then
# Append it to existing `ASAN_OPTIONS` variable, such that we
# override the user's value if it contains `detect_leaks=1`.
if [ "${BT_TESTS_ENABLE_ASAN:-}" = "1" ]; then
- if ${BT_TESTS_CC_BIN} --version | head -n 1 | bt_grep -q '^gcc'; then
- lib_asan="$(${BT_TESTS_CC_BIN} -print-file-name=libasan.so)"
+ if "${BT_TESTS_CC_BIN}" --version | head -n 1 | bt_grep -q '^gcc'; then
+ lib_asan="$("${BT_TESTS_CC_BIN}" -print-file-name=libasan.so)"