From dd6f7edd2ae36c04f25d4bfd7063f91ce98b5369 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Thu, 21 Jan 2016 12:54:42 -0800 Subject: [PATCH] Make run_tests.py respect job count for compilation --- tools/run_tests/run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index 61f345f26c7..61d8447112a 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 +