diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-08-29 15:34:10 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-08-29 15:34:10 +0000 |
commit | 5442ff6abaec9fa28c73b8b1c4fbf9fbecf686b0 (patch) | |
tree | 15ef9142ccee507e71a4b7603831d8e422cad7d6 /tests/autotest-local.pl | |
parent | 1a59bf39924de052413d5a4af10c6cae3d7b1ab2 (diff) |
tests: Fixed coverage reports
git-svn-id: http://pugixml.googlecode.com/svn/trunk@675 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/autotest-local.pl')
-rw-r--r-- | tests/autotest-local.pl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/autotest-local.pl b/tests/autotest-local.pl index d2be69d..d252610 100644 --- a/tests/autotest-local.pl +++ b/tests/autotest-local.pl @@ -101,14 +101,10 @@ foreach $toolset (@toolsets) { my $configuration = $1; my $defineset = ($2 eq $stddefine) ? '' : $2; - my $file; - $file = "pugixml $1" if (/pugixml\.cpp' executed:([^%]+)%/); - $file = "pugixpath $1" if (/pugixpath\.cpp' executed:([^%]+)%/); - - if (defined($file)) + if (/pugixml\.cpp' executed:([^%]+)%/) { - print "### autotest $Config{archname} $toolset $configuration [$defineset] coverage $file\n"; + print "### autotest $Config{archname} $toolset $configuration [$defineset] coverage $1\n"; } else { |