Bug 1291954 - Skip wasm/asm.js for tsan test, r=jonco

TSAN messes up the wasm signal handler on try builders.

--HG--
extra : rebase_source : c161c4eebc1f43daa0eeae13218b47ece13595c4
extra : histedit_source : 2cf2dad71d822fc583da2b5b633f8f21f05fa66a
This commit is contained in:
Steve Fink 2017-05-06 15:35:33 -07:00
Родитель 4bb89f2ec7
Коммит c9a7edcd58
2 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -5,7 +5,7 @@
"compiler": "clang", "compiler": "clang",
"env": { "env": {
"LLVM_SYMBOLIZER": "{TOOLTOOL_CHECKOUT}/clang/bin/llvm-symbolizer", "LLVM_SYMBOLIZER": "{TOOLTOOL_CHECKOUT}/clang/bin/llvm-symbolizer",
"JITTEST_EXTRA_ARGS": "--jitflags=debug --ignore-timeouts={DIR}/cgc-jittest-timeouts.txt --unusable-error-status", "JITTEST_EXTRA_ARGS": "--jitflags=tsan --ignore-timeouts={DIR}/cgc-jittest-timeouts.txt --unusable-error-status",
"JSTESTS_EXTRA_ARGS": "--exclude-file={DIR}/cgc-jstests-slow.txt", "JSTESTS_EXTRA_ARGS": "--exclude-file={DIR}/cgc-jstests-slow.txt",
"TSAN_OPTIONS": "exitcode=0 log_path={OUTDIR}/sanitize_log" "TSAN_OPTIONS": "exitcode=0 log_path={OUTDIR}/sanitize_log"
}, },

Просмотреть файл

@ -32,6 +32,15 @@ JITFLAGS = {
['--ion-eager', '--ion-offthread-compile=off'], # implies --baseline-eager ['--ion-eager', '--ion-offthread-compile=off'], # implies --baseline-eager
['--baseline-eager'], ['--baseline-eager'],
], ],
# Cover cases useful for tsan. Note that tsan on try messes up the signal
# handler (bug 1362239), so must avoid wasm/asmjs.
'tsan': [
['--no-asmjs', '--no-wasm'],
['--no-asmjs', '--no-wasm',
'--ion-eager', '--ion-offthread-compile=off', '--non-writable-jitcode',
'--ion-check-range-analysis', '--ion-extra-checks', '--no-sse3', '--no-threads'],
['--no-asmjs', '--no-wasm', '--no-baseline', '--no-ion'],
],
# Interpreter-only, for tools that cannot handle binary code generation. # Interpreter-only, for tools that cannot handle binary code generation.
'interp': [ 'interp': [
['--no-baseline', '--no-asmjs', '--no-wasm', '--no-native-regexp'] ['--no-baseline', '--no-asmjs', '--no-wasm', '--no-native-regexp']