Hash :
acbe145c
Author :
Date :
2020-07-02T14:59:55
Test Runner: Batch tests by config. This CL sorts tests into subprocesses organized by a single config. It will allow for the test runner to use a single EGL display per process in most cases. It doesn't implement the display sharing right now, that'll be in a forthcoming CL. It assumes test configs are split between / and (optional ending) __ characters. Bug: angleproject:3162 Change-Id: I28e8b4687640da6e501f08b8b9347185c99ce30f Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2280403 Reviewed-by: Jonah Ryan-Davis <jonahr@google.com> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
The ANGLE test harness is a harness around GoogleTest that provides functionality similar to the Chromium test harness. It features:
The ANGLE test harness accepts all standard GoogleTest arguments. The harness also accepts the following additional command-line arguments:
--shard-count and --shard-index control the test sharding --bot-mode enables multi-process execution and test batching --batch-size limits the number of tests to run in each batch --batch-timeout limits the amount of time spent in each batch --max-processes limits the number of simuntaneous processes --test-timeout limits the amount of time spent in each test --results-file specifies a location for the JSON test result output --results-directory specifies a directory to write test results to --filter-file allows passing a larget gtest_filter via a file As well as the custom command-line arguments we support a few standard GoogleTest arguments:
gtest_filter works as it normally does with GoogleTest gtest_also_run_disabled_tests works as it normally does as well Other GoogleTest arguments are not supported although they may work.
angle_common and angle_util. See the source code for more details: TestSuite.h and TestSuite.cpp.