diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-07 11:13:16 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-02-07 11:13:16 -0800 |
commit | 715e43bc81227d86f6a8a102aab488d47db801f4 (patch) | |
tree | 8c94be8037eed72ea8e034898956f439607ba513 | |
parent | d52b76de441a32912daf0b00a2c09ebd1ff66629 (diff) |
Make a jobspec
-rwxr-xr-x | tools/run_tests/run_microbenchmark.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/run_microbenchmark.py b/tools/run_tests/run_microbenchmark.py index d51388bbf0..852b83967a 100755 --- a/tools/run_tests/run_microbenchmark.py +++ b/tools/run_tests/run_microbenchmark.py @@ -93,7 +93,7 @@ for bm_name in sys.argv[1:]: 'tools/profiling/latency_profile/profile_analyzer.py', '--source', '%s.trace' % fnize(line), '--fmt', 'simple', '--out', 'reports/%s.txt' % fnize(line)], timeout_seconds=None)) - cleanup.append('rm', '%s.trace' % fnize(line)) + cleanup.append(jobset.JobSpec(['rm', '%s.trace' % fnize(line)])) if len(benchmarks) >= 2 * multiprocessing.cpu_count(): jobset.run(benchmarks, maxjobs=multiprocessing.cpu_count()/2, add_env={'GRPC_TEST_PORT_SERVER': 'localhost:%d' % port_server_port}) |