|
|
Created:
4 years, 8 months ago by kinuko Modified:
4 years, 8 months ago Reviewers:
Dirk Pranke CC:
chromium-reviews, blink-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionLayouTests: Run virtual http/tests as http tests
It looks currently only virtual/stable/http tests can run as http tests
(with http server) in virtual LayoutTest settings?
TEST=n/a
BUG=
Committed: https://crrev.com/c8e33bbf1f5da85536209b384f363dd13305eea1
Cr-Commit-Position: refs/heads/master@{#385632}
Patch Set 1 #Patch Set 2 : bool #
Total comments: 1
Patch Set 3 : simplify #Patch Set 4 : restore other conditions #Messages
Total messages: 31 (15 generated)
The CQ bit was checked by kinuko@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861313002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861313002/1
Description was changed from ========== LayouTests: Run virtual http/tests as http tests It looks currently only virtual/stable/http tests can run as http tests (with http server) in virtual LayoutTest settings? TEST=n/a BUG= ========== to ========== LayouTests: Run virtual http/tests as http tests It looks currently only virtual/stable/http tests can run as http tests (with http server) in virtual LayoutTest settings? TEST=n/a BUG= ==========
kinuko@chromium.org changed reviewers: + dpranke@chromium.org
Hi Dirk, does a change like this make sense? I had tough time when I tried to add virtual http tests (something like this: https://codereview.chromium.org/1859383002/) and adding this change seems to have made it work.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
Hmm, webkit_tests's failing... so something isn't working well :(
The CQ bit was checked by kinuko@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861313002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861313002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Ok, now it passes all tests. PTL
lgtm w/ suggested change (which is totally different than what you did ;). https://codereview.chromium.org/1861313002/diff/20001/third_party/WebKit/Tool... File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py (right): https://codereview.chromium.org/1861313002/diff/20001/third_party/WebKit/Tool... third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:229: bool(re.match(self.VIRTUAL_HTTP_SUBDIR_PATTERN, test)) I think we can make this a little easier and just have this be: def _is_http_test(self, test): return (port.TEST_PATH_SEPARATOR + 'http' + port.TEST_PATH_SEPARATOR) in test it doesn't look like there are any directories with '/http/' in the name that aren't actually for http. All of the websocket tests are in /http/ as well so we don't need that clause.
On 2016/04/06 21:54:25, Dirk Pranke wrote: > lgtm w/ suggested change (which is totally different than what you did ;). Ok sure, will simplify it like that before landing =)
The CQ bit was checked by kinuko@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dpranke@chromium.org Link to the patchset: https://codereview.chromium.org/1861313002/#ps40001 (title: "simplify")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861313002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861313002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by kinuko@chromium.org to run a CQ dry run
The CQ bit was unchecked by kinuko@chromium.org
The CQ bit was checked by kinuko@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dpranke@chromium.org Link to the patchset: https://codereview.chromium.org/1861313002/#ps60001 (title: "restore other conditions")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861313002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861313002/60001
It turns out that I still seem to need test.startswith('http/') (leading slash misses this) and is_websocket_tests too, so I restored two original lines and just replaced self.VIRTUAL_HTTP_SUBDIR in test with self._port.TEST_PATH_SEPARATOR + self.HTTP_SUBDIR in test I'm landing this (if all tests pass), if you want a follow-up cleanup please let me know! Thanks
Message was sent while issue was closed.
Description was changed from ========== LayouTests: Run virtual http/tests as http tests It looks currently only virtual/stable/http tests can run as http tests (with http server) in virtual LayoutTest settings? TEST=n/a BUG= ========== to ========== LayouTests: Run virtual http/tests as http tests It looks currently only virtual/stable/http tests can run as http tests (with http server) in virtual LayoutTest settings? TEST=n/a BUG= ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
On 2016/04/07 02:03:20, kinuko wrote: > It turns out that I still seem to need test.startswith('http/') (leading slash > misses this) and is_websocket_tests too, so I restored two original lines and > just replaced > > self.VIRTUAL_HTTP_SUBDIR in test > > with > > self._port.TEST_PATH_SEPARATOR + self.HTTP_SUBDIR in test > > I'm landing this (if all tests pass), if you want a follow-up cleanup please let > me know! Thanks Looks like some webkitpy tests failed; maybe they just need to be updated. Anyway, patchset #4 lgtm, too .
Message was sent while issue was closed.
Description was changed from ========== LayouTests: Run virtual http/tests as http tests It looks currently only virtual/stable/http tests can run as http tests (with http server) in virtual LayoutTest settings? TEST=n/a BUG= ========== to ========== LayouTests: Run virtual http/tests as http tests It looks currently only virtual/stable/http tests can run as http tests (with http server) in virtual LayoutTest settings? TEST=n/a BUG= Committed: https://crrev.com/c8e33bbf1f5da85536209b384f363dd13305eea1 Cr-Commit-Position: refs/heads/master@{#385632} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/c8e33bbf1f5da85536209b384f363dd13305eea1 Cr-Commit-Position: refs/heads/master@{#385632} |