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 82250
Allow expectations on directories in virtual test suites
https://bugs.webkit.org/show_bug.cgi?id=82250
Summary
Allow expectations on directories in virtual test suites
Adrienne Walker
Reported
2012-03-26 15:51:20 PDT
Allow expectations on directories in virtual test suites
Attachments
Patch
(2.83 KB, patch)
2012-03-26 15:56 PDT
,
Adrienne Walker
dpranke
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Adrienne Walker
Comment 1
2012-03-26 15:56:53 PDT
Created
attachment 133915
[details]
Patch
Dirk Pranke
Comment 2
2012-03-26 16:28:29 PDT
Comment on
attachment 133915
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=133915&action=review
> Tools/Scripts/webkitpy/layout_tests/port/base.py:1099 > + return test_name.replace(suite.name, suite.base)
Your change will allow lookup_virtual_test_base() to handle paths that don't actually map onto base paths that exist. I had to convince myself that that was okay, but I think I did. Given that, I don't think you even need to do the get() on line 1096. You can just replace line 1096 with your 1099.
Adrienne Walker
Comment 3
2012-03-26 16:49:56 PDT
(In reply to
comment #2
)
> (From update of
attachment 133915
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=133915&action=review
> > > Tools/Scripts/webkitpy/layout_tests/port/base.py:1099 > > + return test_name.replace(suite.name, suite.base) > > Your change will allow lookup_virtual_test_base() to handle paths that don't actually map onto base paths that exist. I had to convince myself that that was okay, but I think I did.
Yeah. It looks like the calling code checks that the base path exists after doing the mapping, so I convinced myself that it seemed reasonable too.
> Given that, I don't think you even need to do the get() on line 1096. You can just replace line 1096 with your 1099.
Will do that on landing, thanks.
Adrienne Walker
Comment 4
2012-03-26 16:54:13 PDT
Committed
r112176
: <
http://trac.webkit.org/changeset/112176
>
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