Add //third_party/blink/tools/run_web_tests.*,
which is the new name of run-webkit-tests.
This CL also replaces references to "run-webkit-tests" with
"run_web_tests.py".
* //blink/tools/run_layout_tests.py
Show a message, and run run_web_tests.py.
* //BUILD.gn
"webkit_layout_tests" doesn't need //third_party/WebKit/Tools/Scripts
any longer.
* //testing/buildbot/gn_isolate_map.pyl
Replace run-webkit-tests with run_web_tests.py.
* //third_party/blink/tools/run_web_tests.{bat,py}
Added.
* //third_party/WebKit/Tools/Scripts/run-webkit-tests
Show a message.
* Other files: Really trivial changes. In many files, this CL
replaces "run-webkit-tests" with "run_web_tests.py" in comments or
strings.
Note that we decided to rename LayoutTests to web_tests.
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/KKNbuzj-3HY/H8FWgtKrBgAJ
Bug: 829697
Change-Id: I899457cb3bcdb306aa47843a4c767c5980d9edc0
Reviewed-on: https://chromium-review.googlesource.com/1025543
Commit-Queue: Kent Tamura <[email protected]>
Reviewed-by: Nico Weber <[email protected]>
Reviewed-by: Quinten Yearsley <[email protected]>
Reviewed-by: Dirk Pranke <[email protected]>
Cr-Commit-Position: refs/heads/master@{#553452}
diff --git a/BUILD.gn b/BUILD.gn
index b290afb5..ff2f6ff 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -957,7 +957,6 @@
"//testing/scripts/run_isolated_script_test.py",
"//testing/xvfb.py",
"//third_party/WebKit/LayoutTests/",
- "//third_party/WebKit/Tools/Scripts/",
"//third_party/blink/perf_tests/",
"//third_party/blink/tools/",
"//third_party/pywebsocket/",
diff --git a/blink/tools/run_layout_tests.py b/blink/tools/run_layout_tests.py
index 46d8ad01..1d216fb 100755
--- a/blink/tools/run_layout_tests.py
+++ b/blink/tools/run_layout_tests.py
@@ -4,16 +4,17 @@
# found in the LICENSE file.
"""Wrapper around
- third_party/WebKit/Tools/Scripts/run-webkit-tests"""
+ third_party/blink/tools/run_web_tests.py"""
import os
import subprocess
import sys
def main():
+ print '\n Please use third_party/blink/tools/run_web_tests.*. ' \
+ 'This command will be removed.\n'
src_dir = os.path.abspath(os.path.join(sys.path[0], '..', '..'))
- script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
- "Scripts")
- script = os.path.join(script_dir, 'run-webkit-tests')
+ script_dir=os.path.join(src_dir, "third_party", "blink", "tools")
+ script = os.path.join(script_dir, 'run_web_tests.py')
cmd = [sys.executable, script] + sys.argv[1:]
return subprocess.call(cmd)
diff --git a/chrome/test/mini_installer/test_installer.py b/chrome/test/mini_installer/test_installer.py
index 216da0b..de98945 100644
--- a/chrome/test/mini_installer/test_installer.py
+++ b/chrome/test/mini_installer/test_installer.py
@@ -570,7 +570,7 @@
def _FullResults(suite, result, metadata):
"""Convert the unittest results to the Chromium JSON test result format.
- This matches run-webkit-tests (the layout tests) and the flakiness dashboard.
+ This matches run_web_tests.py (the layout tests) and the flakiness dashboard.
"""
full_results = {}
diff --git a/docs/accessibility/tests.md b/docs/accessibility/tests.md
index 099fe391..f618a72 100644
--- a/docs/accessibility/tests.md
+++ b/docs/accessibility/tests.md
@@ -33,7 +33,7 @@
To run all accessibility LayoutTests:
```
ninja -C out/release blink_tests
-third_party/WebKit/Tools/Scripts/run-webkit-tests --build-directory=out --target=release accessibility/
+third_party/blink/tools/run_web_tests.py --build-directory=out --target=release accessibility/
```
To run just one test by itself without the script:
diff --git a/docs/testing/identifying_tests_that_depend_on_order.md b/docs/testing/identifying_tests_that_depend_on_order.md
index 6225167..ac2d814 100644
--- a/docs/testing/identifying_tests_that_depend_on_order.md
+++ b/docs/testing/identifying_tests_that_depend_on_order.md
@@ -39,13 +39,13 @@
Instead of running `bisect_web_test_ordering.py`, you can manually do the work
of step 4 above.
-1. `run-webkit-tests --child-processes=1 --order=none --test-list=path/to/file/from/step/3`
+1. `run_web_tests.py --child-processes=1 --order=none --test-list=path/to/file/from/step/3`
2. If the test doesn't fail here, then the test itself is probably just flaky.
If it does, remove some lines from the file and repeat step 1. Continue
repeating until you've found the dependency. If the test fails when run by
itself, but passes on the bots, that means that it depends on another test to
pass. In this case, you need to generate the list of tests run by
- `run-webkit-tests --order=natural` and repeat this process to find which test
+ `run_web_tests.py --order=natural` and repeat this process to find which test
causes the test in question to *pass* (e.g.
[crbug.com/262793](https://crbug.com/262793)).
3. File a bug and give it the
@@ -57,13 +57,13 @@
#### Run tests in a random order and diagnose failures
-1. Run `run-webkit-tests --order=random --no-retry`
+1. Run `run_web_tests.py --order=random --no-retry`
2. Run `./tools/print_web_test_ordering.py` and save the output to a file. This
outputs the tests run in the order they were run on each content_shell
instance.
3. Run the diagnosing steps from above to figure out which tests
-Run `run-webkit-tests --run-singly --no-retry`. This starts up a new
+Run `run_web_tests.py --run-singly --no-retry`. This starts up a new
content_shell instance for each test. Tests that fail when run in isolation but
pass when run as part of the full test suite represent some state that we're not
properly resetting between test runs or some state that we're not properly
diff --git a/docs/testing/layout_test_baseline_fallback.md b/docs/testing/layout_test_baseline_fallback.md
index 3c5ca3d8..ee2a8b6 100644
--- a/docs/testing/layout_test_baseline_fallback.md
+++ b/docs/testing/layout_test_baseline_fallback.md
@@ -118,7 +118,7 @@
In addition, the optimizer also removes redundant all-PASS testharness.js
results. Such baselines are redundant when there are no other fallbacks later
on the search path (including if the all-PASS baselines are at root), because
-`run-webkit-tests` assumes all-PASS testharness.js results when baselines can
+`run_web_tests.py` assumes all-PASS testharness.js results when baselines can
not be found for a platform.
### Rebaseline
diff --git a/docs/testing/layout_tests.md b/docs/testing/layout_tests.md
index f063a86c..1673d3b 100644
--- a/docs/testing/layout_tests.md
+++ b/docs/testing/layout_tests.md
@@ -9,6 +9,10 @@
[Writing Layout Tests documentation](./writing_layout_tests.md) if you find
yourself writing layout tests.
+Note that we're in process of changing the term "layout tests" to "web tests".
+Please assume these terms mean the identical stuff. We also call it as
+"WebKit tests" and "WebKit layout tests".
+
[TOC]
## Running Layout Tests
@@ -46,20 +50,20 @@
TODO: mention `testing/xvfb.py`
The test runner script is in
-`third_party/WebKit/Tools/Scripts/run-webkit-tests`.
+`third_party/blink/tools/run_web_tests.py`.
To specify which build directory to use (e.g. out/Default, out/Release,
out/Debug) you should pass the `-t` or `--target` parameter. For example, to
use the build in `out/Default`, use:
```bash
-python third_party/WebKit/Tools/Scripts/run-webkit-tests -t Default
+python third_party/blink/tools/run_web_tests.py -t Default
```
For Android (if your build directory is `out/android`):
```bash
-python third_party/WebKit/Tools/Scripts/run-webkit-tests -t android --android
+python third_party/blink/tools/run_web_tests.py -t android --android
```
Tests marked as `[ Skip ]` in
@@ -86,13 +90,13 @@
use:
```bash
-Tools/Scripts/run-webkit-tests fast/forms
+third_party/blink/tools/run_web_tests.py fast/forms
```
Or you could use the following shorthand:
```bash
-Tools/Scripts/run-webkit-tests fast/fo\*
+third_party/blink/tools/run_web_tests.py fast/fo\*
```
*** promo
@@ -100,7 +104,7 @@
test the SVG tests and run pixel tests, you would run:
```bash
-Tools/Scripts/run-webkit-tests -t Default svg
+third_party/blink/tools/run_web_tests.py -t Default svg
```
***
@@ -121,7 +125,7 @@
but this requires a manual diff against expected results, because the shell
doesn't do it for you.
-To see a complete list of arguments supported, run: `run-webkit-tests --help`
+To see a complete list of arguments supported, run: `run_web_tests.py --help`
*** note
**Linux Note:** We try to match the Windows render tree output exactly by
@@ -195,7 +199,7 @@
* Using `--additional-driver-flag`:
```bash
- run-webkit-tests --additional-driver-flag=--blocking-repaint
+ run_web_tests.py --additional-driver-flag=--blocking-repaint
```
This tells the test harness to pass `--blocking-repaint` to the
@@ -405,7 +409,7 @@
> Debug DevTools lets you avoid having to recompile after every change to the DevTools front-end.
* Do one of the following:
* Option A) Run from the chromium/src folder:
- `blink/tools/run_layout_tests.sh
+ `third_party/blink/tools/run_web_tests.sh
--additional-driver-flag='--debug-devtools'
--additional-driver-flag='--remote-debugging-port=9222'
--time-out-ms=6000000`
@@ -449,7 +453,7 @@
gclient sync || exit 125
ninja -C out/Debug -j100 blink_tests || exit 125
-blink/tools/run_layout_tests.sh -t Debug \
+third_party/blink/tools/run_web_tests.py -t Debug \
--no-show-results --no-retry-failures \
path/to/layout/test.html
```
@@ -474,8 +478,8 @@
***
```bash
-cd src/third_party/WebKit
-Tools/Scripts/run-webkit-tests --reset-results foo/bar/test.html
+cd src/third_party/blink
+tools/run_web_tests.py --reset-results foo/bar/test.html
```
If there are current expectation files for `LayoutTests/foo/bar/test.html`,
@@ -498,8 +502,8 @@
doesn't support rebaselining flag-specific expectations.
```bash
-cd src/third_party/WebKit
-Tools/Scripts/run-webkit-tests --additional-driver-flag=--enable-flag --reset-results foo/bar/test.html
+cd src/third_party/blink
+tools/run_web_tests.py --additional-driver-flag=--enable-flag --reset-results foo/bar/test.html
```
New baselines will be created in the flag-specific baselines directory, e.g.
@@ -513,14 +517,14 @@
1. Copy existing baselines to the flag-specific baselines directory for the
tests to be rebaselined:
```bash
- Tools/Scripts/run-webkit-tests --additional-driver-flag=--enable-flag --copy-baselines foo/bar/test.html
+ third_party/blink/tools/run_web_tests.py --additional-driver-flag=--enable-flag --copy-baselines foo/bar/test.html
```
Then add the newly created baseline files, commit and upload the patch.
Note that the above command won't copy baselines for passing tests.
2. Rebaseline the test locally:
```bash
- Tools/Scripts/run-webkit-tests --additional-driver-flag=--enable-flag --reset-results foo/bar/test.html
+ third_party/blink/tools/run_web_tests.py --additional-driver-flag=--enable-flag --reset-results foo/bar/test.html
```
Commit the changes and upload the patch.
diff --git a/docs/testing/layout_tests_in_content_shell.md b/docs/testing/layout_tests_in_content_shell.md
index 82cb51e..25ac0a7 100644
--- a/docs/testing/layout_tests_in_content_shell.md
+++ b/docs/testing/layout_tests_in_content_shell.md
@@ -17,11 +17,11 @@
### Running
-You can run layout tests using `run-webkit-tests` (in
-`src/third_party/WebKit/Tools/Scripts`).
+You can run layout tests using `run_web_tests.py` (in
+`src/third_party/blink/tools`).
```bash
-third_party/WebKit/Tools/Scripts/run-webkit-tests storage/indexeddb
+third_party/blink/tools/run_web_tests.py storage/indexeddb
```
or execute the shell directly:
diff --git a/docs/testing/layout_tests_tips.md b/docs/testing/layout_tests_tips.md
index cd50bcc..5911cc3 100644
--- a/docs/testing/layout_tests_tips.md
+++ b/docs/testing/layout_tests_tips.md
@@ -77,7 +77,7 @@
confidence, and giving up CPU cycles for mental energy is a pretty good trade.
```bash
-third_party/WebKit/Tools/Scripts/run-webkit-tests path/to/test.html --repeat-each=100
+third_party/blink/tools/run_web_tests.py path/to/test.html --repeat-each=100
```
The
diff --git a/docs/testing/web_platform_tests.md b/docs/testing/web_platform_tests.md
index 785c4c1..8e81ba8 100644
--- a/docs/testing/web_platform_tests.md
+++ b/docs/testing/web_platform_tests.md
@@ -245,7 +245,7 @@
## Running tests
Same as Blink layout tests, you can use
-[`run-webkit-tests`](layout_tests.md#running-the-tests) to run any WPT test.
+[`run_web_tests.py`](layout_tests.md#running-the-tests) to run any WPT test.
One thing to note is that glob patterns for WPT tests are not yet supported.
diff --git a/docs/testing/writing_layout_tests.md b/docs/testing/writing_layout_tests.md
index 18d58e8..80b2a53 100644
--- a/docs/testing/writing_layout_tests.md
+++ b/docs/testing/writing_layout_tests.md
@@ -271,7 +271,7 @@
`-expected.txt` file that contains the test's expected output.
The baselines are generated automatically when appropriate by
-`run-webkit-tests`, which is described [here](./layout_tests.md), and by the
+`run_web_tests.py`, which is described [here](./layout_tests.md), and by the
[rebaselining tools](./layout_test_expectations.md).
Text baselines for `testharness.js` should be avoided, as having a text baseline
@@ -315,7 +315,7 @@
HTTP tests are those under `LayoutTests/http/tests` (or virtual variants). Use a
locally running HTTP server (Apache) to run them. Tests are served off of ports
8000 and 8080 for HTTP, and 8443 for HTTPS. If you run the tests using
-`run-webkit-tests`, the server will be started automatically. To run the server
+`run_web_tests.py`, the server will be started automatically. To run the server
manually to reproduce or debug a failure:
```bash
diff --git a/testing/buildbot/gn_isolate_map.pyl b/testing/buildbot/gn_isolate_map.pyl
index 80d3fd6..190744f 100644
--- a/testing/buildbot/gn_isolate_map.pyl
+++ b/testing/buildbot/gn_isolate_map.pyl
@@ -1314,7 +1314,7 @@
"script": "//testing/scripts/run_isolated_script_test.py",
"args": [
"--xvfb",
- "../../third_party/WebKit/Tools/Scripts/run-webkit-tests",
+ "../../third_party/blink/tools/run_web_tests.py",
"--clobber-old-results",
"--debug-rwt-logging",
"--no-show-results",
@@ -1327,7 +1327,7 @@
"script": "//testing/scripts/run_isolated_script_test.py",
"args": [
"--xvfb",
- "../../third_party/WebKit/Tools/Scripts/run-webkit-tests",
+ "../../third_party/blink/tools/run_web_tests.py",
"--seed", "4",
"--no-show-results",
"--clobber-old-results",
diff --git a/testing/scripts/common.py b/testing/scripts/common.py
index e68537f..15d3082f 100644
--- a/testing/scripts/common.py
+++ b/testing/scripts/common.py
@@ -19,7 +19,7 @@
os.path.join(SCRIPT_DIR, os.path.pardir, os.path.pardir))
-# run-webkit-tests returns the number of failures as the return
+# run_web_tests.py returns the number of failures as the return
# code, but caps the return code at 101 to avoid overflow or colliding
# with reserved values from the shell.
MAX_FAILURES_EXIT_STATUS = 101
diff --git a/third_party/WebKit/LayoutTests/FlagExpectations/README.txt b/third_party/WebKit/LayoutTests/FlagExpectations/README.txt
index d414bd5..e05fd8c 100644
--- a/third_party/WebKit/LayoutTests/FlagExpectations/README.txt
+++ b/third_party/WebKit/LayoutTests/FlagExpectations/README.txt
@@ -1,9 +1,9 @@
FlagExpectations stores flag-specific test expectations. To run layout tests
with a flag, use:
- run-webkit-tests --additional-driver-flag=--name-of-flag
+ run_web_tests.py --additional-driver-flag=--name-of-flag
-In addition to passing --name-of-flag to the binary, run-webkit-tests will look
+In addition to passing --name-of-flag to the binary, run_web_tests.py will look
for test expectations in
FlagExpectations/name-of-flag
diff --git a/third_party/WebKit/LayoutTests/FlagExpectations/disable-blink-features=RootLayerScrolling b/third_party/WebKit/LayoutTests/FlagExpectations/disable-blink-features=RootLayerScrolling
index b9ee1f1..985cdf6 100644
--- a/third_party/WebKit/LayoutTests/FlagExpectations/disable-blink-features=RootLayerScrolling
+++ b/third_party/WebKit/LayoutTests/FlagExpectations/disable-blink-features=RootLayerScrolling
@@ -587,7 +587,7 @@
# development, just marking failed tests here is fine enough for tests under
# virtual/outofblink-cors.
#
-# ./Tools/Scripts/run-webkit-tests virtual/outofblink-cors
+# ./Tools/Scripts/run_web_tests.py virtual/outofblink-cors
# Found 2061 tests; running 2060, skipping 1.
# 2060 tests ran as expected (1968 passed, 92 didn't).
diff --git a/third_party/WebKit/LayoutTests/NeverFixTests b/third_party/WebKit/LayoutTests/NeverFixTests
index 9ef145b0..18d64c4 100644
--- a/third_party/WebKit/LayoutTests/NeverFixTests
+++ b/third_party/WebKit/LayoutTests/NeverFixTests
@@ -1,6 +1,6 @@
# This file should only include tests that we never want to run.
# There should only be the following categories of tests here:
-# 1. Tests of the test harness (run-webkit-tests) itself.
+# 1. Tests of the test harness (run_web_tests.py) itself.
# 2. Tests enabled by chromium embedders (e.g. Opera).
# 3. Tests that apply to some platforms but not others.
# 4. Tests that are too slow in Debug and so we only want to skip them in Debug.
@@ -1829,7 +1829,7 @@
external/wpt/mediacapture-streams/MediaStream-default-feature-policy.https.html [ WontFix ]
# These directories have manual tests that don't have to run with
-# run-webkit-tests; see https://crbug.com/359838.
+# run_web_tests.py; see https://crbug.com/359838.
http/tests/ManualTests/ [ WontFix ]
# These test produce invisible different pixels on Win7 Debug.
diff --git a/third_party/WebKit/LayoutTests/TestExpectations b/third_party/WebKit/LayoutTests/TestExpectations
index e44b468..e62a7e2 100644
--- a/third_party/WebKit/LayoutTests/TestExpectations
+++ b/third_party/WebKit/LayoutTests/TestExpectations
@@ -1222,7 +1222,7 @@
# development, just marking failed tests here is fine enough for tests under
# virtual/outofblink-cors.
#
-# ./Tools/Scripts/run-webkit-tests virtual/outofblink-cors
+# ./thrid_party/blink/tools/run_web_tests.py virtual/outofblink-cors
# Found 2061 tests; running 2060, skipping 1.
# 2060 tests ran as expected (1968 passed, 92 didn't).
diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/file-input-files-access.html b/third_party/WebKit/LayoutTests/editing/pasteboard/file-input-files-access.html
index 3f9e195..01338ef7 100644
--- a/third_party/WebKit/LayoutTests/editing/pasteboard/file-input-files-access.html
+++ b/third_party/WebKit/LayoutTests/editing/pasteboard/file-input-files-access.html
@@ -125,7 +125,7 @@
if (window.eventSender) {
runTest();
} else {
- testFailed("This test is not interactive, please run using run-webkit-tests");
+ testFailed("This test is not interactive, please run using run_web_tests.py");
}
</script>
diff --git a/third_party/WebKit/LayoutTests/fast/events/message-channel-listener-circular-ownership-expected.txt b/third_party/WebKit/LayoutTests/fast/events/message-channel-listener-circular-ownership-expected.txt
index c9e7a1a5..c136f9fb1 100644
--- a/third_party/WebKit/LayoutTests/fast/events/message-channel-listener-circular-ownership-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/events/message-channel-listener-circular-ownership-expected.txt
@@ -1,5 +1,5 @@
Test that a leak is not created by assigning a MessagePort to a property of its own listener.
-Only works with run-webkit-tests --leaks.
+Only works with run_web_tests.py --leaks.
diff --git a/third_party/WebKit/LayoutTests/fast/events/message-channel-listener-circular-ownership.html b/third_party/WebKit/LayoutTests/fast/events/message-channel-listener-circular-ownership.html
index 637d4c2..76eca35c 100644
--- a/third_party/WebKit/LayoutTests/fast/events/message-channel-listener-circular-ownership.html
+++ b/third_party/WebKit/LayoutTests/fast/events/message-channel-listener-circular-ownership.html
@@ -1,6 +1,6 @@
<body>
<p>Test that a leak is not created by assigning a MessagePort to a property of its own listener.</p>
-<p>Only works with run-webkit-tests --leaks.</p>
+<p>Only works with run_web_tests.py --leaks.</p>
<pre id=log></pre>
<script src="../../resources/gc.js"></script>
<script>
diff --git a/third_party/WebKit/LayoutTests/fast/events/select-element-expected.txt b/third_party/WebKit/LayoutTests/fast/events/select-element-expected.txt
index 229cd52..32933e48 100644
--- a/third_party/WebKit/LayoutTests/fast/events/select-element-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/events/select-element-expected.txt
@@ -1,4 +1,4 @@
-This test verifies that the Home/End/PageUp/PageDown keys work correctly for <select> elements. Since it requires eventSender.keyDown, it will not run solo in the web browser; it must be run with run-webkit-tests.
+This test verifies that the Home/End/PageUp/PageDown keys work correctly for <select> elements. Since it requires eventSender.keyDown, it will not run solo in the web browser; it must be run with run_web_tests.py.
PASS sendKeyAndExpectIndex("ss", "PageDown", 0, 3) is true
diff --git a/third_party/WebKit/LayoutTests/fast/events/select-element.html b/third_party/WebKit/LayoutTests/fast/events/select-element.html
index 45aa9ae5..f326b45 100644
--- a/third_party/WebKit/LayoutTests/fast/events/select-element.html
+++ b/third_party/WebKit/LayoutTests/fast/events/select-element.html
@@ -4,7 +4,7 @@
</head>
<body>
<p>This test verifies that the Home/End/PageUp/PageDown keys work correctly for <select> elements.
-Since it requires <CODE>eventSender.keyDown</CODE>, it will not run solo in the web browser; it must be run with <KBD>run-webkit-tests</KBD>.</p>
+Since it requires <CODE>eventSender.keyDown</CODE>, it will not run solo in the web browser; it must be run with <KBD>run_web_tests.py</KBD>.</p>
<hr>
<form>
<select name="singleselect" id="ss" size="4" multiple="true">
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/svg/use-clipped-hit.svg b/third_party/WebKit/LayoutTests/paint/invalidation/svg/use-clipped-hit.svg
index f0f9077..d840a90 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/svg/use-clipped-hit.svg
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/svg/use-clipped-hit.svg
@@ -33,7 +33,7 @@
document.getElementById("status").textContent = "Passed";
} else {
// in manual mode
- alert("Please use run-webkit-tests.");
+ alert("Please use run_web_tests.py.");
}
}
]]></script>
diff --git a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-all.svg b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-all.svg
index 175cec27..a3de14c 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-all.svg
+++ b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-all.svg
@@ -24,7 +24,7 @@
eventSender.mouseUp();
} else {
// in manual mode
- alert("Please use run-webkit-tests.");
+ alert("Please use run_web_tests.py.");
}
}
]]>
diff --git a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-preserveAspectRatio.svg b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-preserveAspectRatio.svg
index 0b11504..6f651468 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-preserveAspectRatio.svg
+++ b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-preserveAspectRatio.svg
@@ -24,7 +24,7 @@
eventSender.mouseUp();
} else {
// in manual mode
- alert("Please use run-webkit-tests.");
+ alert("Please use run_web_tests.py.");
}
}
]]>
diff --git a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-transform.svg b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-transform.svg
index f475cf3..400fdfe 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-transform.svg
+++ b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-transform.svg
@@ -24,7 +24,7 @@
eventSender.mouseUp();
} else {
// in manual mode
- alert("Please use run-webkit-tests.");
+ alert("Please use run_web_tests.py.");
}
}
]]>
diff --git a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewBox-transform.svg b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewBox-transform.svg
index 3247747..0ea9648 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewBox-transform.svg
+++ b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewBox-transform.svg
@@ -24,7 +24,7 @@
eventSender.mouseUp();
} else {
// in manual mode
- alert("Please use run-webkit-tests.");
+ alert("Please use run_web_tests.py.");
}
}
]]>
diff --git a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewBox.svg b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewBox.svg
index 34c7ab80..df0201d 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewBox.svg
+++ b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewBox.svg
@@ -24,7 +24,7 @@
eventSender.mouseUp();
} else {
// in manual mode
- alert("Please use run-webkit-tests.");
+ alert("Please use run_web_tests.py.");
}
}
]]>
diff --git a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewTarget.svg b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewTarget.svg
index fb38e9d..a09bc18 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewTarget.svg
+++ b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-viewTarget.svg
@@ -24,7 +24,7 @@
eventSender.mouseUp();
} else {
// in manual mode
- alert("Please use run-webkit-tests.");
+ alert("Please use run_web_tests.py.");
}
}
]]>
diff --git a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-zoomAndPan.svg b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-zoomAndPan.svg
index 037514e..9feab30b 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-zoomAndPan.svg
+++ b/third_party/WebKit/LayoutTests/svg/custom/linking-a-03-b-zoomAndPan.svg
@@ -24,7 +24,7 @@
eventSender.mouseUp();
} else {
// in manual mode
- alert("Please use run-webkit-tests.");
+ alert("Please use run_web_tests.py.");
}
}
]]>
diff --git a/third_party/WebKit/LayoutTests/svg/custom/linking-uri-01-b.svg b/third_party/WebKit/LayoutTests/svg/custom/linking-uri-01-b.svg
index e83a9e7..1189b2f6 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/linking-uri-01-b.svg
+++ b/third_party/WebKit/LayoutTests/svg/custom/linking-uri-01-b.svg
@@ -27,7 +27,7 @@
eventSender.mouseUp();
} else {
// in manual mode
- alert("Please use run-webkit-tests.");
+ alert("Please use run_web_tests.py.");
}
}
]]>
diff --git a/third_party/WebKit/LayoutTests/svg/custom/pan-direction.svg b/third_party/WebKit/LayoutTests/svg/custom/pan-direction.svg
index fc0bd48b..aec5a6cf 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/pan-direction.svg
+++ b/third_party/WebKit/LayoutTests/svg/custom/pan-direction.svg
@@ -13,7 +13,7 @@
testPanUp(30);
} else {
// in manual mode
- alert("Please use run-webkit-tests.");
+ alert("Please use run_web_tests.py.");
}
}
]]></script>
diff --git a/third_party/WebKit/LayoutTests/svg/custom/text-hit-test.svg b/third_party/WebKit/LayoutTests/svg/custom/text-hit-test.svg
index 2382417..b610af1 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/text-hit-test.svg
+++ b/third_party/WebKit/LayoutTests/svg/custom/text-hit-test.svg
@@ -32,7 +32,7 @@
document.getElementById("status").textContent = "Passed";
} else {
// in manual mode
- alert("Please use run-webkit-tests.");
+ alert("Please use run_web_tests.py.");
}
}
]]></script>
diff --git a/third_party/WebKit/LayoutTests/transitions/transition-end-event-helpers.js b/third_party/WebKit/LayoutTests/transitions/transition-end-event-helpers.js
index 079914c..bc3caed3 100644
--- a/third_party/WebKit/LayoutTests/transitions/transition-end-event-helpers.js
+++ b/third_party/WebKit/LayoutTests/transitions/transition-end-event-helpers.js
@@ -156,7 +156,7 @@
}
_endFunction = function() { processEndEvents(expected); };
- // Add three seconds of fudge. We don't just use the run-webkit-tests timeout
+ // Add three seconds of fudge. We don't just use the run_web_tests.py timeout
// because processEndEvents gives more information on what failed.
window.setTimeout(_endFunction, maxTime * 1000 + 3000);
}
diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioParam/value-setter-warnings-expected.txt b/third_party/WebKit/LayoutTests/webaudio/AudioParam/value-setter-warnings-expected.txt
index 123fb548..e432964e 100644
--- a/third_party/WebKit/LayoutTests/webaudio/AudioParam/value-setter-warnings-expected.txt
+++ b/third_party/WebKit/LayoutTests/webaudio/AudioParam/value-setter-warnings-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE ERROR: line 39: [audit.js] this test requires the explicit comparison with the expected result when it runs with run-webkit-tests.
+CONSOLE ERROR: line 39: [audit.js] this test requires the explicit comparison with the expected result when it runs with run_web_tests.py.
CONSOLE MESSAGE: line 129: Test: test-0
CONSOLE MESSAGE: line 129: Test: test-1
CONSOLE MESSAGE: line 129: Test: test-2
diff --git a/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-unstable-expected.txt b/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-unstable-expected.txt
index d2c3824..bce77f7 100644
--- a/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-unstable-expected.txt
+++ b/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-unstable-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE ERROR: line 39: [audit.js] this test requires the explicit comparison with the expected result when it runs with run-webkit-tests.
+CONSOLE ERROR: line 39: [audit.js] this test requires the explicit comparison with the expected result when it runs with run_web_tests.py.
CONSOLE WARNING: line 20: Unstable IIRFilter with feedback coefficients: [1, 1.1]
This is a testharness.js-based test.
PASS # AUDIT TASK RUNNER STARTED.
diff --git a/third_party/WebKit/LayoutTests/webaudio/resources/audit.js b/third_party/WebKit/LayoutTests/webaudio/resources/audit.js
index 76ebc4365..66c9b2b 100644
--- a/third_party/WebKit/LayoutTests/webaudio/resources/audit.js
+++ b/third_party/WebKit/LayoutTests/webaudio/resources/audit.js
@@ -1309,7 +1309,7 @@
xhr.responseType = 'arraybuffer';
xhr.onload = () => {
- // |status = 0| is a workaround for the run-webkit-test server. We are
+ // |status = 0| is a workaround for the run_web_test.py server. We are
// speculating the server quits the transaction prematurely without
// completing the request.
if (xhr.status === 200 || xhr.status === 0) {
@@ -1365,7 +1365,7 @@
if (options && options.requireResultFile == true) {
_logError(
'this test requires the explicit comparison with the ' +
- 'expected result when it runs with run-webkit-tests.');
+ 'expected result when it runs with run_web_tests.py.');
}
return new TaskRunner();
diff --git a/third_party/WebKit/LayoutTests/webaudio/tools/README.md b/third_party/WebKit/LayoutTests/webaudio/tools/README.md
index 0c3baa6..ac06092 100644
--- a/third_party/WebKit/LayoutTests/webaudio/tools/README.md
+++ b/third_party/WebKit/LayoutTests/webaudio/tools/README.md
@@ -19,7 +19,7 @@
## Installation
-The `run-webkit-tests` script process all the files in the `webaudio/` directory, so files created by the node package installation will pollute the test result. To avoid this, copy `tools/` directory to another directory. Then run the following in that directory.
+The `run_web_tests.py` script process all the files in the `webaudio/` directory, so files created by the node package installation will pollute the test result. To avoid this, copy `tools/` directory to another directory. Then run the following in that directory.
```
cd ${WHERE_PACKAGE_JSON_IS} npm install
diff --git a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt
index 6fcee2ff..5782809a 100644
--- a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt
+++ b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE ERROR: line 39: [audit.js] this test requires the explicit comparison with the expected result when it runs with run-webkit-tests.
+CONSOLE ERROR: line 39: [audit.js] this test requires the explicit comparison with the expected result when it runs with run_web_tests.py.
This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = 1 duplicate test name: " 1 is equal to 1."
PASS # AUDIT TASK RUNNER STARTED.
diff --git a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures-expected.txt b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures-expected.txt
index 3280ebf..87b2bf0 100644
--- a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures-expected.txt
+++ b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE ERROR: line 39: [audit.js] this test requires the explicit comparison with the expected result when it runs with run-webkit-tests.
+CONSOLE ERROR: line 39: [audit.js] this test requires the explicit comparison with the expected result when it runs with run_web_tests.py.
This is a testharness.js-based test.
PASS # AUDIT TASK RUNNER STARTED.
PASS > [basic-failure] Testing basic assertion failures.
diff --git a/third_party/WebKit/Tools/Scripts/run-webkit-tests b/third_party/WebKit/Tools/Scripts/run-webkit-tests
index 9e10288c..7da86061 100755
--- a/third_party/WebKit/Tools/Scripts/run-webkit-tests
+++ b/third_party/WebKit/Tools/Scripts/run-webkit-tests
@@ -32,4 +32,5 @@
from webkitpy.common import add_blinkpy # pylint: disable=unused-import
from blinkpy.common import multiprocessing_bootstrap
+print '\n Please use third_party/blink/tools/run_web_tests.*. This command will be removed.\n'
multiprocessing_bootstrap.run('blinkpy', 'web_tests', 'run_webkit_tests.py')
diff --git a/third_party/blink/tools/blinkpy/common/exit_codes.py b/third_party/blink/tools/blinkpy/common/exit_codes.py
index 2e8ab88..0e01408 100644
--- a/third_party/blink/tools/blinkpy/common/exit_codes.py
+++ b/third_party/blink/tools/blinkpy/common/exit_codes.py
@@ -10,7 +10,7 @@
# signal). (unsigned)(-SIGINT) == 128+signal.SIGINT
INTERRUPTED_EXIT_STATUS = signal.SIGINT + 128
-# POSIX limits status codes to 0-255. Normally run-webkit-tests returns the
+# POSIX limits status codes to 0-255. Normally run_web_tests.py returns the
# number of tests that failed. These indicate exceptional conditions triggered
# by the script itself, so we count backwards from 255 (aka -1) to enumerate
# them.
diff --git a/third_party/blink/tools/blinkpy/common/message_pool.py b/third_party/blink/tools/blinkpy/common/message_pool.py
index eb41364..15ba177 100644
--- a/third_party/blink/tools/blinkpy/common/message_pool.py
+++ b/third_party/blink/tools/blinkpy/common/message_pool.py
@@ -26,7 +26,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""Module for handling messages and concurrency for run-webkit-tests
+"""Module for handling messages and concurrency for run_we_tests.py
and run_blinkpy_tests.py. This module follows the design for
multiprocessing.Pool and concurrency.futures.ProcessPoolExecutor, with the
following differences:
diff --git