Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Issue 2203013002: [test] Enable test status filtering by variant (Closed)

Created:
4 years, 4 months ago by Michael Achenbach
Modified:
4 years, 4 months ago
CC:
mythria, rmcilroy, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[test] Enable test status filtering by variant This adds the possibility to address test cases in the status file with the variant under which the test is running. This is only allowed in top-level sections. Example: [{ 'test-case': [PASS, SLOW], }] ['variant == foo', { 'test-case': [FAIL], }] The test case "test-case" is marked as slow in all variants. Additionally, in variant foo, it'll be expected to fail. This CL also exemplifies the new feature with test cases running under the ignition_turbofan variant. The corresponding legacy flag is deprecated. BUG=v8:5238 Committed: https://crrev.com/03f51248226a00cefb545f0afbbb81f36671ae35 Cr-Commit-Position: refs/heads/master@{#38342}

Patch Set 1 : Implementation #

Patch Set 2 : Fixes #

Patch Set 3 : Move status lines and deprecate --ignition-turbofan flag #

Total comments: 1

Patch Set 4 : Draft of a different solution #

Patch Set 5 : File #

Patch Set 6 : Draft version without using 'virtual/../' strings internally #

Patch Set 7 : Fixes #

Patch Set 8 : Fixes and different variant syntax #

Patch Set 9 : Clean up #

Total comments: 1

Patch Set 10 : Added tests #

Total comments: 1

Patch Set 11 : Fixes #

Patch Set 12 : Add frozen rules and wildcards #

Total comments: 3

Patch Set 13 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+479 lines, -79 lines) Patch
M test/cctest/cctest.status View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 5 6 7 3 chunks +7 lines, -7 lines 0 comments Download
M test/webkit/webkit.status View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M tools/run-deopt-fuzzer.py View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M tools/run-tests.py View 1 2 3 4 5 6 7 8 5 chunks +11 lines, -3 lines 0 comments Download
M tools/testrunner/local/statusfile.py View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +88 lines, -21 lines 0 comments Download
A tools/testrunner/local/statusfile_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +163 lines, -0 lines 0 comments Download
M tools/testrunner/local/testsuite.py View 1 2 3 4 5 6 7 8 9 10 5 chunks +55 lines, -42 lines 0 comments Download
A tools/testrunner/local/testsuite_unittest.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +96 lines, -0 lines 0 comments Download
M tools/testrunner/local/utils.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +21 lines, -0 lines 0 comments Download
A tools/testrunner/local/variants.py View 1 2 3 4 5 6 7 1 chunk +30 lines, -0 lines 0 comments Download
M tools/testrunner/objects/testcase.py View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 49 (27 generated)
Michael Achenbach
PTAL. To ease review, patch 1 doesn't move status lines, just modifies them in place. ...
4 years, 4 months ago (2016-08-02 13:19:00 UTC) #8
Jakob Kummerow
I'm not overly happy with this. Why introduce a new way to express conditional expectations? ...
4 years, 4 months ago (2016-08-02 14:13:09 UTC) #11
Michael Achenbach
> I'm not overly happy with this. Why introduce a new way to express conditional ...
4 years, 4 months ago (2016-08-02 14:35:21 UTC) #12
Jakob Kummerow
On 2016/08/02 14:35:21, Michael Achenbach (slow) wrote: > The 'virtual' notion is inspired by the ...
4 years, 4 months ago (2016-08-02 14:45:49 UTC) #13
Michael Achenbach
On 2016/08/02 14:45:49, Jakob wrote: > On 2016/08/02 14:35:21, Michael Achenbach (slow) wrote: > > ...
4 years, 4 months ago (2016-08-02 15:11:39 UTC) #14
jochen (gone - plz use gerrit)
lgtm I think it's preferable over the current way to add variants. I agree that ...
4 years, 4 months ago (2016-08-02 15:32:31 UTC) #15
Michael Achenbach
> I agree that we shouldn't have two systems, but migrate variants to virtual test ...
4 years, 4 months ago (2016-08-02 15:39:36 UTC) #16
Jakob Kummerow
On 2016/08/02 15:11:39, Michael Achenbach (slow) wrote: > How about this: We could use the ...
4 years, 4 months ago (2016-08-02 16:55:13 UTC) #17
Michael Achenbach
Sketched a different solution in patch 4. This permits the old status file syntax and ...
4 years, 4 months ago (2016-08-03 08:30:29 UTC) #18
jochen (gone - plz use gerrit)
On 2016/08/02 at 15:39:36, machenbach wrote: > > I agree that we shouldn't have two ...
4 years, 4 months ago (2016-08-03 10:37:41 UTC) #19
Michael Achenbach
On 2016/08/03 10:37:41, jochen wrote: > On 2016/08/02 at 15:39:36, machenbach wrote: > > > ...
4 years, 4 months ago (2016-08-03 10:40:57 UTC) #20
Michael Achenbach
PTAL at patch 9 https://codereview.chromium.org/2203013002/diff/160001/tools/testrunner/objects/testcase.py File tools/testrunner/objects/testcase.py (right): https://codereview.chromium.org/2203013002/diff/160001/tools/testrunner/objects/testcase.py#newcode32 tools/testrunner/objects/testcase.py:32: def __init__(self, suite, path, variant=None, ...
4 years, 4 months ago (2016-08-03 15:22:21 UTC) #30
Jakob Kummerow
lgtm
4 years, 4 months ago (2016-08-04 11:42:47 UTC) #35
Michael Achenbach
Please also take a look at the tests in patch 10.
4 years, 4 months ago (2016-08-04 12:29:33 UTC) #36
Jakob Kummerow
tests LGTM with comment. https://codereview.chromium.org/2203013002/diff/180001/tools/testrunner/local/testsuite.py File tools/testrunner/local/testsuite.py (right): https://codereview.chromium.org/2203013002/diff/180001/tools/testrunner/local/testsuite.py#newcode182 tools/testrunner/local/testsuite.py:182: t.outcomes = rules[testname] s/=/|=/ here ...
4 years, 4 months ago (2016-08-04 13:08:31 UTC) #37
Michael Achenbach
Fixed - also ensured immutable rules and wildcards in patch 12
4 years, 4 months ago (2016-08-04 14:12:06 UTC) #38
Jakob Kummerow
still LGTM. https://codereview.chromium.org/2203013002/diff/220001/tools/testrunner/local/statusfile_unittest.py File tools/testrunner/local/statusfile_unittest.py (right): https://codereview.chromium.org/2203013002/diff/220001/tools/testrunner/local/statusfile_unittest.py#newcode54 tools/testrunner/local/statusfile_unittest.py:54: # Sanity check that we can do ...
4 years, 4 months ago (2016-08-04 14:17:12 UTC) #39
tandrii(chromium)
lgtm
4 years, 4 months ago (2016-08-04 14:17:27 UTC) #41
Michael Achenbach
On 2016/08/04 14:17:12, Jakob wrote: > still LGTM. > > https://codereview.chromium.org/2203013002/diff/220001/tools/testrunner/local/statusfile_unittest.py > File tools/testrunner/local/statusfile_unittest.py (right): ...
4 years, 4 months ago (2016-08-04 14:22:11 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2203013002/240001
4 years, 4 months ago (2016-08-04 14:23:17 UTC) #45
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 4 months ago (2016-08-04 14:41:16 UTC) #47
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 14:42:26 UTC) #49
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/03f51248226a00cefb545f0afbbb81f36671ae35
Cr-Commit-Position: refs/heads/master@{#38342}

Powered by Google App Engine
This is Rietveld 408576698