diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-06-02 06:25:40 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-06-02 06:25:40 +0000 |
commit | c622ce6fed61e07125c7d764f84fc70bb73c6c78 (patch) | |
tree | 8c41468c7cbc33886a45ea8fa67a6b9b63ff454e /tests/gcov-filter.pl | |
parent | 8a51e7d6d330cdbee6dc17a534e26183e0ceaa47 (diff) |
tests: Redesigned test building; now all configurations of a single toolset are built in a single jam run
git-svn-id: http://pugixml.googlecode.com/svn/trunk@493 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/gcov-filter.pl')
-rw-r--r-- | tests/gcov-filter.pl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/gcov-filter.pl b/tests/gcov-filter.pl index 8a581d0..8cbccc5 100644 --- a/tests/gcov-filter.pl +++ b/tests/gcov-filter.pl @@ -1,7 +1,13 @@ #!/usr/bin/perl
-$lines = join('', <>);
+$prefix = join(' ', @ARGV);
+$prefix .= ' ' if ($prefix ne '');
+
+$lines = join('', <STDIN>);
$lines =~ s/File (.+)\nLines (.+)\n(.+\n)*\n/$1 $2\n/g;
$lines =~ s/.+include\/c\+\+.+\n//g;
-print $lines;
+foreach $line (split /\n/, $lines)
+{
+ print "$prefix$line\n";
+}
|