Bug 1117146: Forbid execution of no-asmjs variants when debugging; r=nbp

--HG--
extra : rebase_source : 5d5642dc0d64fea966d11f5369b0456b91874fd0
This commit is contained in:
Benjamin Bouvier 2015-01-22 16:58:52 +01:00
parent 1305a18d74
commit 57d80cbadc
2 changed files with 4 additions and 1 deletions

View File

@ -147,6 +147,9 @@ def main(argv):
test_list = []
read_all = True
# Forbid running several variants of the same asmjs test, when debugging.
options.can_test_also_noasmjs = not options.debug
if test_args:
read_all = False
for arg in test_args:

View File

@ -195,7 +195,7 @@ class Test:
elif name == 'tz-pacific':
test.tz_pacific = True
elif name == 'test-also-noasmjs':
test.test_also_noasmjs = True
test.test_also_noasmjs = options.can_test_also_noasmjs
elif name == 'ion-eager':
test.jitflags.append('--ion-eager')
elif name == 'dump-bytecode':