projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccd01d4
)
gcov the derived .c file as well as the .xs or .im file
author
Tony Cook
<tony@develop-help.com>
Fri, 24 May 2013 13:12:49 +0000
(23:12 +1000)
committer
Tony Cook
<tony@develop-help.com>
Fri, 24 May 2013 13:12:49 +0000
(23:12 +1000)
imcover.perl
patch
|
blob
|
blame
|
history
diff --git
a/imcover.perl
b/imcover.perl
index 6a05efb42daf474a429d3c45440d33a3c7370415..5c75c4386345493365479d365111013d50d09eb4 100644
(file)
--- a/
imcover.perl
+++ b/
imcover.perl
@@
-52,6
+52,14
@@
for my $filename (keys %$mani) {
else {
push @{$paths{''}}, $filename;
}
+ if ($filename =~ s/\.(xs|im)$/.c/) {
+ if ($filename =~ m!^(\w+)/(\w+\.\w+)$!) {
+ push @{$paths{$1}}, $2;
+ }
+ else {
+ push @{$paths{''}}, $filename;
+ }
+ }
}
for my $path (keys %paths) {