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

Issue 2611793002: [test] Process to locally develop and upstream test262 tests (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] Process to locally develop and upstream test262 tests This patch provides improved infrastructure for developing test262 tests together with V8. It has three parts: - The test262 test runner is updated to look for local versions of tests in the /test/test262/local-tests directory, which mirrors /test/test262/data. Additional tests can be added there and are run together with tests from upstream. Upstream tests can be locally updated by using the same name in local-tests; if a same-named test exists, then only the local version will be run. The local-tests directory is in the V8 repository, unlike the contents of the data directory, so tests can be added in the same patch as something else. - The tool /test/test262/upstream-local-tests.sh is added to create a patch against the test262 respository based on a patch which changes the local-tests directory. - The tool /test/test262/prune-local-tests.sh is added to remove redundant local tests on a test262 roll. See design doc: https://docs.google.com/document/d/16bj7AIDgZLv4WOsUEzQ5NzcEN9_xo095e88Pz8FC5rA/edit Review-Url: https://codereview.chromium.org/2611793002 Cr-Commit-Position: refs/heads/master@{#42117} Committed: https://chromium.googlesource.com/v8/v8/+/586deecbb182cf471d390da59fe8143fcfc120c3

Patch Set 1 #

Patch Set 2 : Small fixups to tests #

Patch Set 3 : Add placeholder file #

Total comments: 15

Patch Set 4 : Address review comments and Intl tests #

Total comments: 2

Patch Set 5 : Cleanup nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -17 lines) Patch
M test/test262/archive.py View 1 chunk +1 line, -0 lines 0 comments Download
M test/test262/list.py View 1 chunk +2 lines, -1 line 0 comments Download
A test/test262/local-tests/test/intl402/DateTimeFormat/12.1.1_1.js View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
A test/test262/local-tests/test/intl402/NumberFormat/11.1.1_1.js View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
A test/test262/prune-local-tests.sh View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M test/test262/test262.status View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M test/test262/testcfg.py View 1 2 3 4 6 chunks +27 lines, -11 lines 0 comments Download
A test/test262/upstream-local-tests.sh View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M tools/presubmit.py View 1 2 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 28 (21 generated)
Michael Achenbach
lgtm rubberstamped the .sh files. https://codereview.chromium.org/2611793002/diff/40001/test/test262/prune-local-tests.sh File test/test262/prune-local-tests.sh (right): https://codereview.chromium.org/2611793002/diff/40001/test/test262/prune-local-tests.sh#newcode1 test/test262/prune-local-tests.sh:1: # usage: test/test262/prune-local-tests.sh Might ...
3 years, 11 months ago (2017-01-05 14:06:32 UTC) #13
Dan Ehrenberg
Would anyone be interested in taking a closer look at the .sh files? Also, I ...
3 years, 11 months ago (2017-01-05 16:24:16 UTC) #16
Michael Achenbach
lgtm https://codereview.chromium.org/2611793002/diff/40001/test/test262/testcfg.py File test/test262/testcfg.py (right): https://codereview.chromium.org/2611793002/diff/40001/test/test262/testcfg.py#newcode139 test/test262/testcfg.py:139: os.path.exists(os.path.join(self.localtestroot, relpath+'.js')): On 2017/01/05 16:24:16, Dan Ehrenberg wrote: ...
3 years, 11 months ago (2017-01-06 09:26:02 UTC) #20
Dan Ehrenberg
https://codereview.chromium.org/2611793002/diff/60001/test/test262/testcfg.py File test/test262/testcfg.py (right): https://codereview.chromium.org/2611793002/diff/60001/test/test262/testcfg.py#newcode108 test/test262/testcfg.py:108: RELPATH_REGEXP = re.compile( On 2017/01/06 09:26:02, Michael Achenbach (OOO) ...
3 years, 11 months ago (2017-01-06 09:58:10 UTC) #21
adamk
lgtm, let's land this for now and we can iterate if we find issues with ...
3 years, 11 months ago (2017-01-06 18:52:15 UTC) #22
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/2611793002/80001
3 years, 11 months ago (2017-01-07 02:23:00 UTC) #25
commit-bot: I haz the power
3 years, 11 months ago (2017-01-07 02:44:54 UTC) #28
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/v8/v8/+/586deecbb182cf471d390da59fe8143fcfc...

Powered by Google App Engine
This is Rietveld 408576698