From e596d86ca0e45508a0c82ae18495ed19de360d8d Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Wed, 2 Jun 2010 07:25:38 +0000 Subject: 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 --- Jamfile.jam | 2 +- tests/autotest-local.pl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Jamfile.jam b/Jamfile.jam index 70cb0d6..51d9452 100644 --- a/Jamfile.jam +++ b/Jamfile.jam @@ -96,7 +96,7 @@ for CONFIG in $(CONFIGURATIONS) # add special autotest markers to build log if $(autotest) { - COVPREFIX on $(TESTS)_coverage = "### autotest $(CONFIG) [$(DEFINESET)]" ; + COVPREFIX on $(TESTS)_coverage = "... autotest $(CONFIG) [$(DEFINESET)]" ; } # gather coverage after tests run diff --git a/tests/autotest-local.pl b/tests/autotest-local.pl index 261852a..10a3f8e 100644 --- a/tests/autotest-local.pl +++ b/tests/autotest-local.pl @@ -81,16 +81,16 @@ foreach $toolset (@toolsets) # parse build output while () { - ### autotest release [wchar] success - if (/^### autotest (\S+) \[(.*?)\] success/) + # ... autotest release [wchar] success + if (/^\.\.\. autotest (\S+) \[(.*?)\] success/) { my $configuration = $1; my $defineset = ($2 eq $stddefine) ? '' : $2; print "### autotest $Config{archname} $toolset $configuration [$defineset] success\n"; } - ### autotest release [wchar] gcov - elsif (/^### autotest (\S+) \[(.*?)\] gcov/) + # ... autotest release [wchar] gcov + elsif (/^\.\.\. autotest (\S+) \[(.*?)\] gcov/) { my $configuration = $1; my $defineset = ($2 eq $stddefine) ? '' : $2; -- cgit v1.2.3