forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Following https://crrev.com/c/1641436, wptserve needs to have an output directory to redirect its logs to (same as Apache). However, run_webdriver_tests.py didn't set the output directory of the port object ("results-directory") previously, so it would default to out/Release/layout-test-results, which does not exist on the bot. This change adds a new --output-dir argument to run_webdriver_tests.py and sets it to ISOLATED_OUTDIR on Swarming and a temporary directory locally (when the argument isn't present). In addition, wptserve.py is reverted back to conditionally add --ws_doc_root as run_webdriver_tests does not have WebSocket handlers. Drive-by change: remove the redundant --isolated-script-test-output flag from gn_isolate_map.pyl as the isolated script runner already adds that flag automatically. Bug: 968904, 972005 Change-Id: Id066981b7eee6585de56dfa62e750b367b965843 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1649382 Reviewed-by: John Chen <johnchen@chromium.org> Reviewed-by: Dirk Pranke <dpranke@chromium.org> Auto-Submit: Robert Ma <robertma@chromium.org> Commit-Queue: Robert Ma <robertma@chromium.org> Cr-Commit-Position: refs/heads/master@{#668016}
- Loading branch information
Showing
4 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters