Merge pull request #4815 from ctiller/respect

Make run_tests.py respect job count for compilation
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 61f345f..61d8447 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -820,7 +820,7 @@
     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 +