From 6102f81710d910f1585b5ad51ee9a5fb5fe53af1 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Mon, 7 Jan 2019 21:13:48 -0800 Subject: [PATCH] Revert "Revert "try asan on Linux"" [Back to asan on Linux] This reverts commit 02a704a8c713af0968e8b4b54f71d480f6b4c0f7. --- test/run.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/run.py b/test/run.py index ac06cac6..2f78c61d 100644 --- a/test/run.py +++ b/test/run.py @@ -29,6 +29,9 @@ sanitizersFlags = { 'none': '' } sanitizer = 'tsan' +if osName == 'Linux': + sanitizer = 'asan' + sanitizerFlags = sanitizersFlags[sanitizer] cmakeCmd = 'cmake -DCMAKE_BUILD_TYPE=Debug {} {} ..'.format(generator, sanitizerFlags)