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 97380
nrwt: don't require additional-platform-directory to be an abspath or live under LayoutTests
https://bugs.webkit.org/show_bug.cgi?id=97380
Summary
nrwt: don't require additional-platform-directory to be an abspath or live un...
Dirk Pranke
Reported
2012-09-21 17:05:52 PDT
nrwt: don't require additional-platform-directory to be an abspath or live under LayoutTests
Attachments
Patch
(6.53 KB, patch)
2012-09-21 17:07 PDT
,
Dirk Pranke
ojan
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dirk Pranke
Comment 1
2012-09-21 17:07:15 PDT
Created
attachment 165231
[details]
Patch
Dirk Pranke
Comment 2
2012-09-21 18:00:06 PDT
Committed
r129285
: <
http://trac.webkit.org/changeset/129285
>
Ryosuke Niwa
Comment 3
2012-12-17 23:36:07 PST
Comment on
attachment 165231
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=165231&action=review
> Tools/Scripts/webkitpy/layout_tests/port/base.py:802 > + if filename.startswith(self.perf_tests_dir()): > + return self.host.filesystem.relpath(filename, self.perf_tests_dir()) > + else: > + return self.filesystem.abspath(filename)
This doesn't work for performance tests because this relative path is used elsewhere as the test name after split by /.
Dirk Pranke
Comment 4
2012-12-18 11:19:58 PST
(In reply to
comment #3
)
> (From update of
attachment 165231
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=165231&action=review
> > > Tools/Scripts/webkitpy/layout_tests/port/base.py:802 > > + if filename.startswith(self.perf_tests_dir()): > > + return self.host.filesystem.relpath(filename, self.perf_tests_dir()) > > + else: > > + return self.filesystem.abspath(filename) > > This doesn't work for performance tests because this relative path is used elsewhere as the test name after split by /.
I don't follow you ... can you explain further?
Ryosuke Niwa
Comment 5
2012-12-18 11:22:44 PST
(In reply to
comment #4
)
> (In reply to
comment #3
) > > > > This doesn't work for performance tests because this relative path is used elsewhere as the test name after split by /. > > I don't follow you ... can you explain further?
All test names (this is human-readable name re-formatted by the script), etc... are computed from this relative test name so the rest of run-perf-tests will just blow up if you use an absolute path. I got rid of this function in
https://bugs.webkit.org/show_bug.cgi?id=105219
.
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