a...@gnu.org (Alfred M. Szmidt) writes: > Was trying to have some fun and get `make coverage' working, but I'm > hitting some werido problems that I don't understand. Does anyone > know why this happens, and how to fix it? > > Processing src/tftp.gcda > Processing src/tftp.gcda > <built-in>:cannot open source file > geninfo: ERROR: cannot read <built-in>.gcov!
I've seen this too for other projects, and it is generally some confusion about which directory to search for the *.gcda file. If you strace lcov you will see that it is searching for the file at the wrong place. Sometimes I create symlinks to work around this (the output seems OK) if I really want to get the output, but it would be great if this was tracked down and fixed properly. /Simon