summaryrefslogtreecommitdiff
path: root/run_gcov.sh
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-12-05 16:31:51 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:06:10 -0700
commite608ba5d457c8876da58e3877da21d014d4868e0 (patch)
tree5672d01159da81b331e3dd22da5b79712a7a964a /run_gcov.sh
parent8e2bf855bddfb8df2b61ad78cb082b7bf2af317e (diff)
[PATCH] make gcov compile scripts working with recent gcc
Diffstat (limited to 'run_gcov.sh')
-rw-r--r--run_gcov.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/run_gcov.sh b/run_gcov.sh
index 4fe936199f..ad6a62b130 100644
--- a/run_gcov.sh
+++ b/run_gcov.sh
@@ -23,12 +23,12 @@ echo > udev_gcov.txt
echo "CODE COVERAGE ANALYSIS FOR UDEV" >> udev_gcov.txt
echo >> udev_gcov.txt
-for file in `find -maxdepth 1 -name "*.bb"`; do
- name=`basename $file .bb`
+for file in `find -maxdepth 1 -name "*.gcno"`; do
+ name=`basename $file .gcno`
echo "################" >> udev_gcov.txt
echo "$name.c" >> udev_gcov.txt
echo "################" >> udev_gcov.txt
- if [ -e "$name.da" ]; then
+ if [ -e "$name.gcda" ]; then
gcov -l "$name.c" >> udev_gcov.txt 2>&1
else
echo "code for $name.c was never executed" >> udev_gcov.txt 2>&1