diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-06-02 06:43:15 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-06-02 06:43:15 +0000 |
commit | 5a6b19b27832fec1464669cad4b6bbd5a70a1b00 (patch) | |
tree | 174689815bb4c05f0f95f89d978ed6f8a90144c6 /tests | |
parent | bef9439b01ed9a6ffcc850e355ff65eb531fe354 (diff) |
tests: Added -j6 jam argument for non-Windows OS
git-svn-id: http://pugixml.googlecode.com/svn/trunk@495 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests')
-rw-r--r-- | tests/autotest-local.pl | 8 |
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);
|