Revert "Revert "try asan on Linux"" [Back to asan on Linux]

This reverts commit 02a704a8c7.
This commit is contained in:
Benjamin Sergeant 2019-01-07 21:13:48 -08:00
parent 9f678e5962
commit 6102f81710

View File

@ -29,6 +29,9 @@ sanitizersFlags = {
'none': '' 'none': ''
} }
sanitizer = 'tsan' sanitizer = 'tsan'
if osName == 'Linux':
sanitizer = 'asan'
sanitizerFlags = sanitizersFlags[sanitizer] sanitizerFlags = sanitizersFlags[sanitizer]
cmakeCmd = 'cmake -DCMAKE_BUILD_TYPE=Debug {} {} ..'.format(generator, sanitizerFlags) cmakeCmd = 'cmake -DCMAKE_BUILD_TYPE=Debug {} {} ..'.format(generator, sanitizerFlags)