Skip to content

Commit 5bd5293

Browse files
authored
Set ASAN_SYMBOLIZER_PATH to mongodbtoolchain v4 (#1446)
1 parent 19bf883 commit 5bd5293

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.evergreen/config_generator/components/funcs/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class Test(Function):
1212
commands = bash_exec(
1313
command_type=EvgCommandType.TEST,
1414
include_expansions_in_env=[
15+
'ASAN_SYMBOLIZER_PATH',
1516
'build_type',
1617
'CRYPT_SHARED_LIB_PATH', # Set by run-orchestration.sh in "start_mongod".
1718
'cse_aws_access_key_id',

.evergreen/config_generator/components/sanitizers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def tasks():
5959

6060
compile_vars = {'ENABLE_TESTS': 'ON'}
6161
test_vars = {
62+
'ASAN_SYMBOLIZER_PATH': '/opt/mongodbtoolchain/v4/bin/llvm-symbolizer',
6263
'TEST_WITH_CSFLE': 'ON',
6364
'MONGOCXX_TEST_TOPOLOGY': topology,
6465
'example_projects_cc': cc_compiler,

.evergreen/scripts/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ set -o pipefail
1414
: "${MONGOCXX_TEST_TOPOLOGY:?}"
1515
: "${UV_INSTALL_DIR:?}"
1616

17+
: "${ASAN_SYMBOLIZER_PATH:-}"
1718
: "${CRYPT_SHARED_LIB_PATH:-}"
1819
: "${disable_slow_tests:-}"
1920
: "${example_projects_cc:-}"

0 commit comments

Comments
 (0)