Bug 1290453 - Show debugger job list when there are no jitflags and also show the wasm-baseline config, r=sfink

This commit is contained in:
Hannes Verschore 2016-08-11 14:25:15 +02:00
Родитель 4dd21dd0ff
Коммит 5a814013ac
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -193,15 +193,14 @@ def main(argv):
test_list = []
read_all = True
# Forbid running several variants of the same asmjs test, when debugging.
# But also, no point in adding in noasmjs and wasm-baseline variants if the
# No point in adding in noasmjs and wasm-baseline variants if the
# jitflags forbid asmjs in the first place. (This is to avoid getting a
# wasm-baseline run when requesting --jitflags=interp, but the test
# contains test-also-noasmjs.)
test_flags = get_jitflags(options.jitflags)
options.can_test_also_noasmjs = True
options.can_test_also_wasm_baseline = True
if options.debugger or all(['--no-asmjs' in flags for flags in test_flags]):
if all(['--no-asmjs' in flags for flags in test_flags]):
options.can_test_also_noasmjs = False
options.can_test_also_wasm_baseline = False
@ -305,6 +304,7 @@ def main(argv):
jobs = list(job_list)
def display_job(job):
flags = ""
if len(job.jitflags) != 0:
flags = "({})".format(' '.join(job.jitflags))
return '{} {}'.format(job.path, flags)