From 657e726a0dad08aa30a8117aa93d129bf3fb8e19 Mon Sep 17 00:00:00 2001 From: Michal Majewski Date: Mon, 20 Nov 2017 14:36:36 +0100 Subject: [PATCH] [test] Common statusfile flag format for mozilla and test262. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: v8:6917 Change-Id: Ida8594caead9119b7b5dad6209017e2eae9cd3aa Reviewed-on: https://chromium-review.googlesource.com/776799 Commit-Queue: MichaƂ Majewski Reviewed-by: Sergiy Byelozyorov Reviewed-by: Michael Achenbach Cr-Commit-Position: refs/heads/master@{#49495} --- test/mozilla/mozilla.status | 4 ++-- tools/testrunner/local/testsuite.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/mozilla/mozilla.status b/test/mozilla/mozilla.status index 943acde732..d64b74f354 100644 --- a/test/mozilla/mozilla.status +++ b/test/mozilla/mozilla.status @@ -938,7 +938,7 @@ }], # 'arch == mipsel and simulator_run' ['arch == mips64el and simulator_run', { - 'js1_5/extensions/regress-355497': [FAIL_OK, 'Flags: --sim-stack-size=512'], + 'js1_5/extensions/regress-355497': [FAIL_OK, '--sim-stack-size=512'], }], # 'arch == mips64el and simulator_run' ['arch == mips', { @@ -987,7 +987,7 @@ 'js1_5/extensions/regress-336410-1': [SKIP], #BUG(3152): Avoid C stack overflow. - 'js1_5/extensions/regress-355497': [FAIL_OK, 'Flags: --sim-stack-size=512'], + 'js1_5/extensions/regress-355497': [FAIL_OK, '--sim-stack-size=512'], }], # 'arch == arm64 and simulator_run' ['variant == wasm_traps', { diff --git a/tools/testrunner/local/testsuite.py b/tools/testrunner/local/testsuite.py index ac1e47dc51..823de0535e 100644 --- a/tools/testrunner/local/testsuite.py +++ b/tools/testrunner/local/testsuite.py @@ -183,8 +183,8 @@ class TestSuite(object): if statusfile.DoSkip(t.outcomes): continue # Don't add skipped tests to |filtered|. for outcome in t.outcomes: - if outcome.startswith('Flags: '): - t.flags += outcome[7:].split() + if outcome.startswith('--'): + t.flags += outcome.split() slow = statusfile.IsSlow(t.outcomes) pass_fail = statusfile.IsPassOrFail(t.outcomes) skip = False