summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-15 01:41:51 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-15 01:49:18 -0400
commitfa263e729c65e073950a15db11c149ebacba0937 (patch)
tree8aa9079aa0475cb6c6d0cb2ce1666c13fb3c0d59 /acprep
parentf3bedb88b24ae8b2047ad86e57b161265c2812f5 (diff)
downloadfork-ledger-fa263e729c65e073950a15db11c149ebacba0937.tar.gz
fork-ledger-fa263e729c65e073950a15db11c149ebacba0937.tar.bz2
fork-ledger-fa263e729c65e073950a15db11c149ebacba0937.zip
Tests run in parallel with using acprep -jX make
This is done using the multiprocessing library in Python 2.6. If that's unavailable, this feature does nothing.
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep1
1 files changed, 1 insertions, 0 deletions
diff --git a/acprep b/acprep
index 7426cab3..9cada72b 100755
--- a/acprep
+++ b/acprep
@@ -1419,6 +1419,7 @@ class PrepareBuild(CommandLineApp):
if self.options.jobs > 1:
make_args.append('-j%d' % self.options.jobs)
+ make_args.append('JOBS=%d' % self.options.jobs)
self.log.debug('Configure arguments => ' + str(config_args))
self.log.debug('Makefile arguments => ' + str(make_args))