Roll gtest-parallel.
Brings in fix that prevents disabled parameterized tests from running by default. BUG=webrtc:5280 TBR=kjellander@webrtc.org Review URL: https://codereview.webrtc.org/1548373002 Cr-Commit-Position: refs/heads/master@{#11132}
This commit is contained in:
2
third_party/gtest-parallel/README.webrtc
vendored
2
third_party/gtest-parallel/README.webrtc
vendored
@ -1,5 +1,5 @@
|
||||
URL: https://github.com/google/gtest-parallel
|
||||
Version: 8b2e48385942e947b14ac129f73c039802274390
|
||||
Version: 92eb6adf9df6eee34bb768b40af984e68e86d7cf
|
||||
License: Apache 2.0
|
||||
License File: LICENSE
|
||||
|
||||
|
6
third_party/gtest-parallel/gtest-parallel
vendored
6
third_party/gtest-parallel/gtest-parallel
vendored
@ -307,14 +307,14 @@ for test_binary in binaries:
|
||||
if line[0] != " ":
|
||||
test_group = line.strip()
|
||||
continue
|
||||
line = line.strip()
|
||||
if not options.gtest_also_run_disabled_tests and 'DISABLED' in line:
|
||||
continue
|
||||
# Remove comments for parameterized tests and strip whitespace.
|
||||
line = line.split('#')[0].strip()
|
||||
if not line:
|
||||
continue
|
||||
|
||||
test = test_group + line
|
||||
if not options.gtest_also_run_disabled_tests and 'DISABLED_' in test:
|
||||
continue
|
||||
tests.append((times.get_test_time(test_binary, test),
|
||||
test_binary, test, command))
|
||||
|
||||
|
Reference in New Issue
Block a user