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

Issue 2610353002: [test] Presumbit check against missing tests in status files (Closed)

Created:
3 years, 11 months ago by Dan Ehrenberg
Modified:
3 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[test] Presumbit check against missing tests in status files Our test infrastructure ignores missing tests which are listed in status files. Sometimes, tests are removed and status file lines are not updated. This patch adds a presubmit check for status files addressing JavaScript tests to not reference missing tests. It also cleans up existing violations. R=machenbach Review-Url: https://codereview.chromium.org/2610353002 Cr-Commit-Position: refs/heads/master@{#42106} Committed: https://chromium.googlesource.com/v8/v8/+/32c1a7933c705cf1d179ecf835efa66ca54e00e5

Patch Set 1 #

Total comments: 2

Patch Set 2 : Generalize to all JS tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -15 lines) Patch
M test/mjsunit/mjsunit.status View 6 chunks +0 lines, -11 lines 0 comments Download
M test/test262/test262.status View 1 chunk +0 lines, -3 lines 0 comments Download
M tools/testrunner/local/statusfile.py View 1 2 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 19 (10 generated)
Dan Ehrenberg
3 years, 11 months ago (2017-01-05 17:16:54 UTC) #3
Michael Achenbach
lgtm https://codereview.chromium.org/2610353002/diff/1/tools/testrunner/local/statusfile.py File tools/testrunner/local/statusfile.py (right): https://codereview.chromium.org/2610353002/diff/1/tools/testrunner/local/statusfile.py#newcode258 tools/testrunner/local/statusfile.py:258: if 'test262' in path and '*' not in ...
3 years, 11 months ago (2017-01-06 09:13:39 UTC) #7
Dan Ehrenberg
https://codereview.chromium.org/2610353002/diff/1/tools/testrunner/local/statusfile.py File tools/testrunner/local/statusfile.py (right): https://codereview.chromium.org/2610353002/diff/1/tools/testrunner/local/statusfile.py#newcode258 tools/testrunner/local/statusfile.py:258: if 'test262' in path and '*' not in rule: ...
3 years, 11 months ago (2017-01-06 09:48:31 UTC) #8
Dan Ehrenberg
3 years, 11 months ago (2017-01-06 09:48:35 UTC) #9
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/2610353002/20001
3 years, 11 months ago (2017-01-06 09:49:17 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/v8/v8/+/32c1a7933c705cf1d179ecf835efa66ca54e00e5
3 years, 11 months ago (2017-01-06 10:13:50 UTC) #16
Michael Achenbach
Thanks for making it generic. I wonder if it will work at all though. There ...
3 years, 11 months ago (2017-01-06 14:34:40 UTC) #17
Dan Ehrenberg
On 2017/01/06 14:34:40, Michael Achenbach (OOO) wrote: > Thanks for making it generic. I wonder ...
3 years, 11 months ago (2017-01-06 14:49:00 UTC) #18
Michael Achenbach
3 years, 11 months ago (2017-01-09 08:48:26 UTC) #19
Message was sent while issue was closed.
> Oh, my mistake, I verified this by modifying status files :) The idea of
running
> always on status files seems reasonable to me (since there aren't many status
> files), though the current logic should be fine for things like test262 rolls.

The current logic will be fine as long as every roll requires a status file
change as well. Probably true most of the time...

Powered by Google App Engine
This is Rietveld 408576698