summaryrefslogtreecommitdiff
path: root/tests/gcov-filter.pl
diff options
context:
space:
mode:
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;