summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/autotest-local.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/autotest-local.pl b/tests/autotest-local.pl
index 469221a..8f155c5 100644
--- a/tests/autotest-local.pl
+++ b/tests/autotest-local.pl
@@ -43,7 +43,13 @@ print "### autotest begin " . scalar localtime() . "\n";
foreach $toolset (@toolsets)
{
- my $cmdline = "jam toolset=$toolset";
+ my $cmdline = "jam";
+
+ # parallel build on non-windows platforms (since jam can't detect processor count)
+ $cmdline .= " -j6" if ($^O !~ /MSWin/);
+
+ # add toolset
+ $cmdline .= " toolset=$toolset";
# add configurations
$cmdline .= " configuration=" . join(',', @configurations);