tests: Use ... instead of ### as autotest info prefix (sh compatibility)

git-svn-id: http://pugixml.googlecode.com/svn/trunk@498 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-06-02 07:25:38 +00:00
parent ae83fae821
commit e596d86ca0
2 changed files with 5 additions and 5 deletions

View File

@ -96,7 +96,7 @@ for CONFIG in $(CONFIGURATIONS)
# add special autotest markers to build log # add special autotest markers to build log
if $(autotest) if $(autotest)
{ {
COVPREFIX on $(TESTS)_coverage = "### autotest $(CONFIG) [$(DEFINESET)]" ; COVPREFIX on $(TESTS)_coverage = "... autotest $(CONFIG) [$(DEFINESET)]" ;
} }
# gather coverage after tests run # gather coverage after tests run

View File

@ -81,16 +81,16 @@ foreach $toolset (@toolsets)
# parse build output # parse build output
while (<PIPE>) while (<PIPE>)
{ {
### autotest release [wchar] success # ... autotest release [wchar] success
if (/^### autotest (\S+) \[(.*?)\] success/) if (/^\.\.\. autotest (\S+) \[(.*?)\] success/)
{ {
my $configuration = $1; my $configuration = $1;
my $defineset = ($2 eq $stddefine) ? '' : $2; my $defineset = ($2 eq $stddefine) ? '' : $2;
print "### autotest $Config{archname} $toolset $configuration [$defineset] success\n"; print "### autotest $Config{archname} $toolset $configuration [$defineset] success\n";
} }
### autotest release [wchar] gcov # ... autotest release [wchar] gcov
elsif (/^### autotest (\S+) \[(.*?)\] gcov/) elsif (/^\.\.\. autotest (\S+) \[(.*?)\] gcov/)
{ {
my $configuration = $1; my $configuration = $1;
my $defineset = ($2 eq $stddefine) ? '' : $2; my $defineset = ($2 eq $stddefine) ? '' : $2;