summaryrefslogtreecommitdiffstats
path: root/Lib/test/support
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2023-06-06 06:36:36 (GMT)
committerGitHub <noreply@github.com>2023-06-06 06:36:36 (GMT)
commit852348ab65783601e0844b6647ea033668b45c11 (patch)
treea6057e85fcfebec7f091e230f6d59bcdf8f5f308 /Lib/test/support
parentf04c16875b649e2c2b420eb146308d0206c7e527 (diff)
downloadcpython-852348ab65783601e0844b6647ea033668b45c11.zip
cpython-852348ab65783601e0844b6647ea033668b45c11.tar.gz
cpython-852348ab65783601e0844b6647ea033668b45c11.tar.bz2
Display the sanitizer config in the regrtest header. (#105301)
Display the sanitizers present in libregrtest. Having this in the CI output for tests with the relevant environment variable displayed will help make it easier to do what we need to create an equivalent local test run.
Diffstat (limited to 'Lib/test/support')
-rw-r--r--Lib/test/support/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
index fee8343..0b5ff3a 100644
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -414,7 +414,7 @@ def check_sanitizer(*, address=False, memory=False, ub=False):
)
address_sanitizer = (
'-fsanitize=address' in _cflags or
- '--with-memory-sanitizer' in _config_args
+ '--with-address-sanitizer' in _config_args
)
ub_sanitizer = (
'-fsanitize=undefined' in _cflags or