Permalink
Browse files

Fix gcov to work with C and XS files in subdirs.

  • Loading branch information...
1 parent b131dd5 commit 24aa147f90168fa4ccabb07e53df8442fd4b8872 @pjcj committed Apr 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cover
View
2 cover
@@ -233,7 +233,7 @@ sub main
$graph_file =~ s{\.\w+$}{.gcno};
return unless -e $graph_file;
- my $c = "gcov $name";
+ my $c = "gcov -o $File::Find::dir $name";
print STDERR "cover: running $c\n";
system $c;
};

0 comments on commit 24aa147

Please sign in to comment.