> python.exe ..\..\..\gtest-parallel\gtest_parallel.py --help
Usage: gtest_parallel.py [options] binary [binary ...] -- [additional args]
Options:
-h, --help show this help message and exit
-d OUTPUT_DIR, --output_dir=OUTPUT_DIR
Output directory for test logs. Logs will be available
under gtest-parallel-logs/, so --output_dir=/tmp will
results in all logs being available under /tmp/gtest-
parallel-logs/.
-r REPEAT, --repeat=REPEAT
Number of times to execute all the tests.
--retry_failed=RETRY_FAILED
Number of times to repeat failed tests.
--failed run only failed and new tests
-w WORKERS, --workers=WORKERS
number of workers to spawn
--gtest_color=GTEST_COLOR
color output
--gtest_filter=GTEST_FILTER
test filter
--gtest_also_run_disabled_tests
run disabled tests too
--print_test_times list the run time of each test at the end of execution
--shard_count=SHARD_COUNT
total number of shards (for sharding test execution
between multiple machines)
--shard_index=SHARD_INDEX
zero-indexed number identifying this shard (for
sharding test execution between multiple machines)
--dump_json_test_results=DUMP_JSON_TEST_RESULTS
Saves the results of the tests as a JSON machine-
readable file. The format of the file is specified at
https://www.chromium.org/developers/the-json-test-
results-format
--timeout=TIMEOUT Interrupt all remaining processes after the given time
(in seconds).
--serialize_test_cases
Do not run tests from the same test case in parallel.
>
>
>
> python.exe ..\..\..\gtest-parallel\gtest_parallel.py -w 8 lsMiscTest.exe
[0/46] Running tests...
[1/46] OpParser.BasicParenOr (99 ms)
[2/46] OpParser.ImplicitAndError (90 ms)
[3/46] PathUtil.IsChild (120 ms)
[4/46] CommandLineString.subStringBasic (200 ms)
[5/46] CommandLineParser.Int (124 ms)
[6/46] OpParser.UnmatchedParenthesisError (86 ms)
[7/46] OpParser.ComplexParen (134 ms)
[8/46] OpenCommon.ThisFolder (533 ms)
[9/46] CommandLineParser.OptionConstructorAll (164 ms)
[10/46] OpParser.BasicMultiParen (162 ms)
[11/46] FileOperationTest.DeleteFileW (141 ms)
[12/46] OpParser.BasicWithArg (167 ms)
[13/46] OpParser.ParenOnly (117 ms)
[14/46] OpParser.ComplexMultiParen (275 ms)
[15/46] I18N.BASIC (98 ms)
[16/46] GetVersionString.ThisExe (245 ms)
[17/46] OpParser.BasicWithMultiArg (234 ms)
[18/46] OpParser.Pod (324 ms)
[19/46] CommandLineString.subStringComplex (179 ms)
[20/46] FileOperationTest.MoveFileW (1490 ms)
[21/46] PathUtil.IsRoot (128 ms)
[22/46] GetVersionString.NonExistentFile (504 ms)
[23/46] CommandLineString.SameWithOtherMethods (230 ms)
[24/46] UrlEncode.Complex (343 ms)
[25/46] OpParser.Null (450 ms)
[26/46] FileOperationTest.CopyFileW (433 ms)
[27/46] GetProcessList.Basic (526 ms)
[28/46] RevealFolder.Basic (722 ms)
[29/46] MoveWindowCommon.Basic (2478 ms)
[30/46] UrlEncode.BasicWithWchar (381 ms)
[31/46] CommandLineParser.IterateOur (326 ms)
[32/46] CommandLineParser.Bool (362 ms)
[33/46] OpParser.ComplexSingleWord (235 ms)
[34/46] OpParser.BasicSingle (311 ms)
[35/46] OpParser.BasicAnd (316 ms)
[36/46] GetVersionString.Explorer (604 ms)
[37/46] OpParser.BasicParenAnd (103 ms)
[38/46] OpParser.BasicOr (108 ms)
[39/46] Hira2Kata.Basic (166 ms)
[40/46] ShowBalloon.Show (3332 ms)
[41/46] UTF8TOUTF16.convert8to16 (255 ms)
[42/46] FormatSizeof.Basic (424 ms)
[43/46] OpParser.ComplexNullParen (268 ms)
[44/46] UrlEncode.BasicWithChar (179 ms)
[45/46] ChangeFilenamable.Basic (171 ms)
[46/46] CommandLineParser.Basic (475 ms)