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

Issue 22352002: Support test harness (text-only) tests w/o expected results. (Closed)

Created:
7 years, 4 months ago by Dirk Pranke
Modified:
7 years, 2 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch
Visibility:
Public.

Description

Support test harness (text-only) tests w/o expected results. A large number of our existing text-only tests follow the convention of having JS assertions that either print "PASS", "FAIL", or "TIMEOUT" at the beginning of a line of text. If the test out therefor does not contain a FAIL or a TIMEOUT and contains at least one or more "PASS"es, it seems reasonable to assume that the test did actually pass (completely), and the -expected.txt is kinda redundant. The testharness-based tests from the W3C follow this convention as well. Supporting this convention means that we don't need to review and check in thousands of boilerplate -expected.txt files, and we could potentially delete thousands of existing -expected.txt files in the Blink repo. R=ojan@chromium.org, eseidel@chromium.org BUG=268711 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159735

Patch Set 1 #

Patch Set 2 : merge to HEAD, change "js_test" to "testharness_test" #

Patch Set 3 : merge forward #

Patch Set 4 : merge to r159694 #

Patch Set 5 : re-upload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -9 lines) Patch
LayoutTests/fast/harness/results.html View 1 1 chunk +5 lines, -1 line 0 comments Download
Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py View 1 2 1 chunk +28 lines, -4 lines 0 comments Download
Tools/Scripts/webkitpy/layout_tests/controllers/test_result_writer.py View 1 1 chunk +2 lines, -1 line 0 comments Download
Tools/Scripts/webkitpy/layout_tests/models/test_failures.py View 1 3 chunks +9 lines, -1 line 0 comments Download
Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
Tools/Scripts/webkitpy/layout_tests/port/test.py View 1 2 3 4 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Dirk Pranke
7 years, 4 months ago (2013-08-06 02:44:48 UTC) #1
ojan
If we're going to do this for the non-imported tests, then I think it's important ...
7 years, 4 months ago (2013-08-06 22:54:07 UTC) #2
Dirk Pranke
On 2013/08/06 22:54:07, ojan wrote: > If we're going to do this for the non-imported ...
7 years, 4 months ago (2013-08-07 00:23:40 UTC) #3
ojan
> That's a good point about not detecting a partial number of PASSes. I'll have ...
7 years, 4 months ago (2013-08-07 00:30:33 UTC) #4
Dirk Pranke
Post-BlinkOn, there was consensus that we should try to get *something* working as quickly as ...
7 years, 2 months ago (2013-10-08 22:52:44 UTC) #5
ojan
lgtm I don't think testharness_tests is especially clear either, but I don't want to further ...
7 years, 2 months ago (2013-10-09 19:53:33 UTC) #6
Dirk Pranke
On 2013/10/09 19:53:33, ojan wrote: > lgtm > > I don't think testharness_tests is especially ...
7 years, 2 months ago (2013-10-09 20:15:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/22352002/7001
7 years, 2 months ago (2013-10-11 18:20:14 UTC) #8
commit-bot: I haz the power
Failed to apply patch for Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-11 18:20:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/22352002/15001
7 years, 2 months ago (2013-10-11 18:34:44 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=10536
7 years, 2 months ago (2013-10-11 22:32:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/22352002/30001
7 years, 2 months ago (2013-10-15 22:44:43 UTC) #12
commit-bot: I haz the power
7 years, 2 months ago (2013-10-16 09:36:19 UTC) #13
Message was sent while issue was closed.
Change committed as 159735

Powered by Google App Engine
This is Rietveld 408576698