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

Issue 986393003: Allow expected.txt files in testharness LayoutTests with console errors (Closed)

Created:
5 years, 9 months ago by jww
Modified:
5 years, 7 months ago
Reviewers:
Dirk Pranke
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Allow expected.txt files in testharness LayoutTests with console errors. The presubmit check currently does not allow passing testharness tests to also have an expected.txt file. However, there are some tests that also include expected console errors, and since testharness cannot check console messages, it is necessary to check these in the expected.txt file. This CL modifies the presubmit checker to allow expected.txt files with testharness tests when they contain a console error. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191654

Patch Set 1 #

Patch Set 2 : Fixed test failures #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -3 lines) Patch
M Tools/Scripts/check-testharness-expected-pass View 1 chunk +4 lines, -3 lines 2 comments Download
M Tools/Scripts/webkitpy/layout_tests/models/testharness_results.py View 1 chunk +17 lines, -0 lines 0 comments Download
M Tools/Scripts/webkitpy/layout_tests/models/testharness_results_unittest.py View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
jww
Dirk, since you suggested adding this, would you mind doing the honors of this review? ...
5 years, 9 months ago (2015-03-09 18:03:43 UTC) #2
Dirk Pranke
lgtm
5 years, 9 months ago (2015-03-09 22:39:41 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986393003/1
5 years, 9 months ago (2015-03-09 22:42:29 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/51491)
5 years, 9 months ago (2015-03-10 00:47:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986393003/20001
5 years, 9 months ago (2015-03-10 18:09:25 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://src.chromium.org/viewvc/blink?view=rev&revision=191654
5 years, 9 months ago (2015-03-10 19:52:07 UTC) #12
Dirk Pranke
lgtm https://codereview.chromium.org/986393003/diff/20001/Tools/Scripts/check-testharness-expected-pass File Tools/Scripts/check-testharness-expected-pass (right): https://codereview.chromium.org/986393003/diff/20001/Tools/Scripts/check-testharness-expected-pass#newcode26 Tools/Scripts/check-testharness-expected-pass:26: not testharness_results.is_testharness_output_with_console_errors(content): nit: the expressions should be line ...
5 years, 7 months ago (2015-04-30 16:00:37 UTC) #13
jww
5 years, 7 months ago (2015-04-30 16:18:37 UTC) #14
Message was sent while issue was closed.
Dirk, this mail was my mistake. You approved this CL a while back, and I meant
to send you it's counterpart (https://codereview.chromium.org/1112973002/) for
console warnings. Sorry for the confusion!

https://codereview.chromium.org/986393003/diff/20001/Tools/Scripts/check-test...
File Tools/Scripts/check-testharness-expected-pass (right):

https://codereview.chromium.org/986393003/diff/20001/Tools/Scripts/check-test...
Tools/Scripts/check-testharness-expected-pass:26: not
testharness_results.is_testharness_output_with_console_errors(content):
On 2015/04/30 16:00:37, Dirk Pranke wrote:
> nit: the expressions should be line wrapped by wrapping them in parens, rather
> than using backslashes. I know you didn't start this, but could you fix it?

Done (on the actual CL)

Powered by Google App Engine
This is Rietveld 408576698