aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-01-14 11:33:03 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-01-14 11:34:09 -0800
commitbe56a9684e3f192b4386d471655b157ea462ae64 (patch)
tree0d205084c48cc0487ad06584e224a33691db8912 /tools
parent29512b56d0d16bec59f95999afbabb0d6f6e4aab (diff)
Build all targets for a config at once
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/run_tests.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index bb25b38e57..84193a1337 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -75,10 +75,8 @@ def _build_and_run(check_cancelled):
if not jobset.run(
(['make',
'-j', '%d' % (multiprocessing.cpu_count() + 1),
- target,
- 'CONFIG=%s' % cfg]
- for cfg in build_configs
- for target in _MAKE_TEST_TARGETS),
+ 'CONFIG=%s' % cfg] + _MAKE_TEST_TARGETS
+ for cfg in build_configs),
check_cancelled, maxjobs=1):
sys.exit(1)