v8/tools/testrunner
Jakob Kummerow f15cb8fe54 [tests] Make processing of test filters faster
The test driver compares command-line arguments against test names
it finds on disk. Using Python's "fnmatch" for this nicely handles
wildcards, but is relatively slow. For given test names that don't
contain any '*', we can use string equality testing, which is much
faster.

Example: the time to evaluate

 tools/run-tests.py --arch x64 --mode release \
   $(grep 'object-spread' -l -r test/test262/data/test/ | \
       sed -E 's|\.js$||' | \
       sed -E 's|^test/test262/data/test/|test262/|')

goes from "I gave up and killed the process after several minutes"
to a couple of seconds with this patch.

Change-Id: I9ec404b7516afd801fe6126347f6dff533d1977c
Reviewed-on: https://chromium-review.googlesource.com/1149196
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54704}
2018-07-25 20:48:05 +00:00
..
local [wasm] Prepare enabling liftoff by default on ia32 and x64 2018-06-22 11:06:26 +00:00
objects [test] Change precedence of statusfile flags 2018-06-08 08:09:22 +00:00
outproc [test] Add reusable negative-test output processor 2018-07-24 09:50:18 +00:00
testproc [tests] Make processing of test filters faster 2018-07-25 20:48:05 +00:00
utils Reland "[test] Random seed processor" 2018-01-31 09:53:34 +00:00
__init__.py First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
base_runner.py [test] Enable loading suites from non-default test root 2018-06-05 07:06:08 +00:00
num_fuzzer.py [test] Fix typo in numfuzzer 2018-04-18 07:44:35 +00:00
PRESUBMIT.py [test] Add basic test-runner system tests 2017-12-27 18:03:49 +00:00
standard_runner.py [wasm] Prepare enabling liftoff by default on ia32 and x64 2018-06-22 11:06:26 +00:00
test_config.py [test] Move options to test config 2018-01-31 13:46:29 +00:00
trycatch_loader.js [test] Properly load mjsunit.js on endurance fuzzer 2018-02-02 13:55:32 +00:00