From 5a6b19b27832fec1464669cad4b6bbd5a70a1b00 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Wed, 2 Jun 2010 06:43:15 +0000 Subject: tests: Added -j6 jam argument for non-Windows OS git-svn-id: http://pugixml.googlecode.com/svn/trunk@495 99668b35-9821-0410-8761-19e4c4f06640 --- tests/autotest-local.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') 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); -- cgit v1.2.3