tests: Added -j6 jam argument for non-Windows OS

git-svn-id: http://pugixml.googlecode.com/svn/trunk@495 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-06-02 06:43:15 +00:00
parent bef9439b01
commit 5a6b19b278

View File

@ -43,7 +43,13 @@ print "### autotest begin " . scalar localtime() . "\n";
foreach $toolset (@toolsets) 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 # add configurations
$cmdline .= " configuration=" . join(',', @configurations); $cmdline .= " configuration=" . join(',', @configurations);