WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
68931
nrwt: newly generated results are put in cross-platform directory
https://bugs.webkit.org/show_bug.cgi?id=68931
Summary
nrwt: newly generated results are put in cross-platform directory
Ryosuke Niwa
Reported
2011-09-27 13:48:03 PDT
old-run-webkit-tests put newly generated results in right directory (e.g. platform/mac, platform/win. etc...) new-run-webkit-tests appears to put new results in wherever tests are, which is very annoying for pixel tests as contributors need to manually move them all to platform/X/
Attachments
fixes the bug
(6.61 KB, patch)
2011-10-20 17:48 PDT
,
Ryosuke Niwa
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2011-10-20 17:48:26 PDT
Created
attachment 111882
[details]
fixes the bug
Adam Barth
Comment 2
2011-10-20 17:49:56 PDT
Comment on
attachment 111882
[details]
fixes the bug View in context:
https://bugs.webkit.org/attachment.cgi?id=111882&action=review
> Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:145 > + _render_tree_dump_pattern = re.compile(r"^layer at \(\d+,\d+\) size \d+x\d+\n")
hum...
Ryosuke Niwa
Comment 3
2011-10-20 17:57:50 PDT
(In reply to
comment #2
)
> (From update of
attachment 111882
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=111882&action=review
> > > Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:145 > > + _render_tree_dump_pattern = re.compile(r"^layer at \(\d+,\d+\) size \d+x\d+\n") > > hum...
Don't like it?
Adam Barth
Comment 4
2011-10-20 17:59:00 PDT
Looks like a hack, right?
Ryosuke Niwa
Comment 5
2011-10-20 18:03:16 PDT
(In reply to
comment #4
)
> Looks like a hack, right?
Not really. I'm detecting whether the output looks like render tree dump or not. Since there is currently no way for us to know whether a test prints render tree dump or not, I don't think we can do better. orwt uses a similar trick in isTextOnlyTest.
Adam Barth
Comment 6
2011-10-20 18:08:19 PDT
Another approach might be to have DRT return a Content-Type header that says whether it is a text dump or a render tree dump.
Ryosuke Niwa
Comment 7
2011-10-20 18:48:20 PDT
(In reply to
comment #6
)
> Another approach might be to have DRT return a Content-Type header that says whether it is a text dump or a render tree dump.
Yeah, that'll be cleaner and will be a nice follow up to do. This bug is about the regression that nrwt doesn't behave like orwt and this patch fixes exactly that.
WebKit Review Bot
Comment 8
2011-10-20 20:34:59 PDT
Comment on
attachment 111882
[details]
fixes the bug Clearing flags on attachment: 111882 Committed
r98062
: <
http://trac.webkit.org/changeset/98062
>
WebKit Review Bot
Comment 9
2011-10-20 20:35:04 PDT
All reviewed patches have been landed. Closing bug.
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