diff options
author | Craig Tiller <ctiller@google.com> | 2016-02-24 22:34:48 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-02-24 22:34:48 -0800 |
commit | 0488d14c5516c83b56cab29a34f0df00826508ab (patch) | |
tree | 499c31f455d2bf1411a8090136ce87811c98830f | |
parent | ca62ff014b4a33f9ce6bf5f75786c1b282f48c60 (diff) |
Add comment
-rwxr-xr-x | tools/run_tests/run_tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index bdda368674..49c9b2dc58 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -161,6 +161,10 @@ class CLanguage(object): binary = 'bins/%s/%s' % (self.config.build_config, target['name']) if os.path.isfile(binary): if 'gtest' in target and target['gtest']: + # here we parse the output of --gtest_list_tests to build up a + # complete list of the tests contained in a binary + # for each test, we then add a job to run, filtering for just that + # test with open(os.devnull, 'w') as fnull: tests = subprocess.check_output([binary, '--gtest_list_tests'], stderr=fnull) |