aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-01-21 12:54:42 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-01-21 12:54:42 -0800
commitdd6f7edd2ae36c04f25d4bfd7063f91ce98b5369 (patch)
tree9563b336c904f7847cc51def7166473da15bee5a /tools
parentbf363c0561dae4e0831d66e3a2a97c6d36afdcbe (diff)
Make run_tests.py respect job count for compilation
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 61f345f26c..61d8447112 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -820,7 +820,7 @@ else:
if targets:
return [jobset.JobSpec([os.getenv('MAKE', 'make'),
'-f', makefile,
- '-j', '%d' % (multiprocessing.cpu_count() + 1),
+ '-j', '%d' % args.jobs,
'EXTRA_DEFINES=GRPC_TEST_SLOWDOWN_MACHINE_FACTOR=%f' % args.slowdown,
'CONFIG=%s' % cfg] +
language_make_options +