diff options
author | 2017-10-17 15:06:16 -0700 | |
---|---|---|
committer | 2017-10-17 15:06:16 -0700 | |
commit | 1bc3f8a9fc69860cfb98ed55e17b5a31e08f24f9 (patch) | |
tree | fd75bc3ecec2ec903846ba28420a46c7fa9278f4 /tools/run_tests | |
parent | 8223f4172f0a5739813fe6bb82863e68a2f588c9 (diff) | |
parent | 342d2a4c9a757b0eeed9bdbd1105aeed94c7512b (diff) |
Merge github.com:grpc/grpc into epexinf
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-x | tools/run_tests/run_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index 363df52f28..af99728584 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -339,12 +339,12 @@ class CLanguage(object): with open(os.devnull, 'w') as fnull: tests = subprocess.check_output([binary, '--benchmark_list_tests'], stderr=fnull) - base = None for line in tests.split('\n'): test = line.strip() + if not test: continue cmdline = [binary, '--benchmark_filter=%s$' % test] + target['args'] out.append(self.config.job_spec(cmdline, - shortname='%s:%s %s' % (binary, test, shortname_ext), + shortname='%s %s' % (' '.join(cmdline), shortname_ext), cpu_cost=cpu_cost, timeout_seconds=_DEFAULT_TIMEOUT_SECONDS * timeout_scaling, environ=env)) |