WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 35778
new-run-webkit-tests: fix --clobber-old-results
https://bugs.webkit.org/show_bug.cgi?id=35778
Summary
new-run-webkit-tests: fix --clobber-old-results
Dirk Pranke
Reported
2010-03-04 19:57:26 PST
new-run-webkit-tests: fix --clobber-old-results
Attachments
Patch
(1.69 KB, patch)
2010-03-04 19:57 PST
,
Dirk Pranke
no flags
Details
Formatted Diff
Diff
change 'path_utils.' to 'port_obj.'
(1.73 KB, patch)
2010-03-09 11:58 PST
,
Dirk Pranke
japhet
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Dirk Pranke
Comment 1
2010-03-04 19:57:40 PST
Created
attachment 50082
[details]
Patch
Tony Chang
Comment 2
2010-03-04 20:00:56 PST
I'm not a reviewer, but LGTM.
Eric Seidel (no email)
Comment 3
2010-03-05 12:46:59 PST
Comment on
attachment 50082
[details]
Patch I'm confused by this change. What directories are we rm -rf-ing? Does Chromium store results separate from the actual test files? webkit.org does not. Directories like platform/mac may contain both results and additional mac-specific tests. FYI, there is a similar (same?) option on run-webkit-tests called --reset-results, which runs the tests like normal, except tricks the test engine into thinking that every result is new and causes it to overwrite all -expected.txt files in their proper places.
Dirk Pranke
Comment 4
2010-03-05 13:25:34 PST
This deletes the results of the test run (files in layout-test-results/) , not the actual baselines. For some reason Chromium doesn't do this by default every time, and so things like the rebaseline tool may get confused and pull old stale results. Tony, is there some reason we don't just make this option true by default (or just do it every time)?
Tony Chang
Comment 5
2010-03-07 04:19:21 PST
(In reply to
comment #4
)
> Tony, is there some reason we don't just make this option true by default (or > just do it every time)?
run-webkit-tests doesn't delete results every time either:
http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/run-webkit-tests#L997
As far as I can tell, it doesn't have an option to delete the results. But the buildbot slaves on build.webkit.org must delete results between runs because you can download the failing tests from the waterfall. Maybe it's done in by the slave rather than by run-webkit-tests. I don't have a preference for which script does this.
Dimitri Glazkov (Google)
Comment 6
2010-03-08 15:19:14 PST
Comment on
attachment 50082
[details]
Patch rs=me.
Dirk Pranke
Comment 7
2010-03-08 15:57:04 PST
Committed
r55689
: <
http://trac.webkit.org/changeset/55689
>
Michael Nordman
Comment 8
2010-03-08 21:45:02 PST
This patch was reverted, path_utils.py is nowhere to be found upstream so the canary bots weren't running the layout tests at all. (And heaven forbid we roll that into view). Dumi helped me do the revert since I'm not a webkit committer. See
https://trac.webkit.org/changeset/55709
Dirk Pranke
Comment 9
2010-03-08 21:50:52 PST
Thanks for catching this. Apparently I didn't actually test this upstream, as it wouldn't have executed. Very sloppy :(
Dirk Pranke
Comment 10
2010-03-09 11:58:55 PST
Created
attachment 50337
[details]
change 'path_utils.' to 'port_obj.' fix bad merge from downstream - rename 'path_utils.' to 'port_obj.'
Nate Chapin
Comment 11
2010-03-09 13:15:48 PST
Comment on
attachment 50337
[details]
change 'path_utils.' to 'port_obj.' rs=me
Nate Chapin
Comment 12
2010-03-09 13:18:45 PST
Comment on
attachment 50337
[details]
change 'path_utils.' to 'port_obj.' rs=me for real this time, apparently I can't operate a dropdown menu.
Dirk Pranke
Comment 13
2010-03-09 13:23:43 PST
Committed
r55741
: <
http://trac.webkit.org/changeset/55741
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug