Build all targets for a config at once

pull/27/head
Craig Tiller 10 years ago
parent 29512b56d0
commit be56a9684e
  1. 6
      tools/run_tests/run_tests.py

@ -75,10 +75,8 @@ def _build_and_run(check_cancelled):
if not jobset.run( if not jobset.run(
(['make', (['make',
'-j', '%d' % (multiprocessing.cpu_count() + 1), '-j', '%d' % (multiprocessing.cpu_count() + 1),
target, 'CONFIG=%s' % cfg] + _MAKE_TEST_TARGETS
'CONFIG=%s' % cfg] for cfg in build_configs),
for cfg in build_configs
for target in _MAKE_TEST_TARGETS),
check_cancelled, maxjobs=1): check_cancelled, maxjobs=1):
sys.exit(1) sys.exit(1)

Loading…
Cancel
Save