tests: Don't wait for full jam output before parsing
git-svn-id: http://pugixml.googlecode.com/svn/trunk@497 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
7703d96dcb
commit
ae83fae821
@ -76,10 +76,10 @@ foreach $toolset (@toolsets)
|
|||||||
# launch command
|
# launch command
|
||||||
print "### autotest launch $cmdline\n";
|
print "### autotest launch $cmdline\n";
|
||||||
|
|
||||||
my $coverage = `$cmdline autotest=on coverage`;
|
open PIPE, "$cmdline autotest=on coverage |" || die "$cmdline failed: $!\n";
|
||||||
|
|
||||||
# parse build output
|
# parse build output
|
||||||
foreach (split /\n/, $coverage)
|
while (<PIPE>)
|
||||||
{
|
{
|
||||||
### autotest release [wchar] success
|
### autotest release [wchar] success
|
||||||
if (/^### autotest (\S+) \[(.*?)\] success/)
|
if (/^### autotest (\S+) \[(.*?)\] success/)
|
||||||
@ -105,14 +105,16 @@ foreach $toolset (@toolsets)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print "$_\n";
|
print;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print "$_\n";
|
print;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
close PIPE;
|
||||||
}
|
}
|
||||||
|
|
||||||
print "### autotest end " . scalar localtime() . "\n";
|
print "### autotest end " . scalar localtime() . "\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user