[webkit-dev] Coming Soon: new-run-webkit-tests

Eric Seidel eric at webkit.org
Fri Apr 9 15:35:27 PDT 2010

Thanks to the tireless efforts of Dirk Pranke, Ojan Vafai, and
numerous other engineers, WebKit now has a new test harness for
running the Layout Tests.

It's FAST:
4-core Mac Pro, Debug build:
run-webkit-tests: 11m25s
new-run-webkit-tests: 3m24s
new-run-webkit-tests --experimental-fully-parallel: 2m42 [1]

WebKitTools/Scripts/new-run-webkit-tests is ready for you to play with
today, however it is not ready to replace run-webkit-tests as our main
testing script yet.

- Fast (see above)
- Skipping is no longer our only tool, can mark tests as flaky (see
- Automatically retries failing tests to avoid failing due to flakiness.
- Outputs json for easier integration with other tools (like flakiness

- Does not run on all core platforms yet (like Windows).
- results.html output is not as pretty as run-webkit-tests' output.
- Missing useful flags (e.g. --guard, --leaks).
- Can't run webarchive, mathml or wml tests yet.
- Exposes more flaky tests due to running tests in a non-deterministic order.

The test_expectations.txt file format is currently documented in the
file itself:

I would invite you to try running new-run-webkit-tests on your Mac
today.  You should feel encouraged to file bugs and hunt me down at
next week's contributer meeting.

If you're interested in contributing to the code, it can all be found here:

Eventually we will rename run-webkit-tests to old-run-webkit-tests and
new-run-webkit-tests to run-webkit-tests.  Since new-run-webkit-tests
is a complete re-write, some features of "run-webkit-tests" may go
missing when we move.  We will be moving them over to
new-run-webkit-tests in priority order.

Thanks for your time.


[1] new-run-webkit-tests currently defaults to a limited
parallel-by-directory mode.  Once we get new-run-webkit-tests on by
default and weed out the existing flaky tests we'll turn on the fully
parallel-by-file mode for a greater speed boost.

More information about the webkit-dev mailing list