Bug 67078 - new-run-webkit-tests chromium port fails a windows test in test-webkitpy
Summary: new-run-webkit-tests chromium port fails a windows test in test-webkitpy
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 19:08 PDT by Shawn Singh
Modified: 2011-08-29 14:38 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.26 KB, patch)
2011-08-26 19:16 PDT, Shawn Singh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Singh 2011-08-26 19:08:40 PDT
Missed one small fix that caused test-webkitpy to fail when testing chromium port of NRWT on windows.
Comment 1 Shawn Singh 2011-08-26 19:16:20 PDT
Created attachment 105431 [details]
Patch
Comment 2 Eric Seidel (no email) 2011-08-29 12:04:26 PDT
Comment on attachment 105431 [details]
Patch

How do we test this?
Comment 3 Tony Chang 2011-08-29 12:06:21 PDT
Which test is failing?  Why doesn't it show up on the the build.webkit.org bots?
Comment 4 Dirk Pranke 2011-08-29 12:10:02 PDT
Comment on attachment 105431 [details]
Patch

Whoops. The change seems fine to me, but it would be good to answer Tony and Eric's questions, and it would be good to have a test if it wouldn't be too much of a hassle (I haven't thought about what it would take to test this but we can discuss it if you like). Clearing R+/CQ+ for now.
Comment 5 Shawn Singh 2011-08-29 12:29:23 PDT
Right, I should have explained.

In my opinion there already is an appropriate test for this patch.   It is the unit test code for NWRT itself, which can be run by Tools/Scripts/test-webkitpy.  The specific test that was failing is test_diff_image() in Tools/Scripts/webkitpy/layout_tests/port/chromium_unittest.py.

This patch fixes a previous fix that I submitted for
https://bugs.webkit.org/show_bug.cgi?id=47240

that patch did fail (as it should have) the test-webkitpy script, so I feel the existing tests are appropriate.
Comment 6 Dirk Pranke 2011-08-29 12:46:43 PDT
Comment on attachment 105431 [details]
Patch

ok.
Comment 7 WebKit Review Bot 2011-08-29 13:17:03 PDT
Comment on attachment 105431 [details]
Patch

Clearing flags on attachment: 105431

Committed r94008: <http://trac.webkit.org/changeset/94008>
Comment 8 WebKit Review Bot 2011-08-29 13:17:08 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 David Levin 2011-08-29 14:21:19 PDT
Note it is good to mention something about the testing in the ChangeLog.

For example, this fixes test_diff_image() from Tools/Scripts/webkitpy/layout_tests/port/chromium_unittest.py.

Then it would answer people's questions in the bug and when they see the check in.
Comment 10 Shawn Singh 2011-08-29 14:38:43 PDT
OK, I will do that from now on.  Thanks!