summaryrefslogtreecommitdiff
path: root/tests/gcov-filter.pl
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-10-10 20:48:55 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-10-10 20:48:55 +0000
commitab28c3b45e611b5d49a03024bd6ae7b184d37d4a (patch)
tree759274ad49ad0d9cc6b1839581908db86d241bf4 /tests/gcov-filter.pl
parent52aa5325f333d263f9845b9f182350c5e0194cc3 (diff)
Minor build framework fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@139 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/gcov-filter.pl')
-rw-r--r--tests/gcov-filter.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/gcov-filter.pl b/tests/gcov-filter.pl
new file mode 100644
index 0000000..8a581d0
--- /dev/null
+++ b/tests/gcov-filter.pl
@@ -0,0 +1,7 @@
+#!/usr/bin/perl
+
+$lines = join('', <>);
+$lines =~ s/File (.+)\nLines (.+)\n(.+\n)*\n/$1 $2\n/g;
+$lines =~ s/.+include\/c\+\+.+\n//g;
+
+print $lines;