Ralf Wildenhues <ralf.wildenh...@gmx.de> writes: > Hi Simon, > > * Simon Josefsson wrote on Fri, Nov 13, 2009 at 10:41:20AM CET: >> I prepared a code coverage report for gnulib: >> >> http://www.gnu.org/software/gnulib/coverage/ > > Thank you for doing this! > > How did you create the report, and was manual hacking needed in order to > get it to work? I'm running into some issues with lcov on packages using > libtool and having sources in both the source and the build tree, > requiring quite some manual symlinking so that they are all found.
Yes, I had to create symlinks for some directories in particular the uni* stuff. I saved some of the commands below as notes for myself, so you can get the picture of what is needed. I think this is a bug in LCOV but working around it was easier than looking into fixing the bug... /Simon j...@mocca:~/000-gnulib-simple-0/gllib/unicase$ ln -s . unicase j...@mocca:~/000-gnulib-simple-0/gllib/unicase$ ln -s ../unictype j...@mocca:~/000-gnulib-simple-0/gllib/uniconv$ ln -s ../unistr.h . j...@mocca:~/000-gnulib-simple-0/gllib/uniconv$ ln -s . uniconv j...@mocca:~/000-gnulib-simple-0/gllib/unictype$ ln -s . unictype j...@mocca:~/000-gnulib-simple-0/gllib/unilbrk$ ln -s ../unistr.h . j...@mocca:~/000-gnulib-simple-0/gllib/unilbrk$ ln -s . unilbrk j...@mocca:~/000-gnulib-simple-0/gllib/unilbrk$ ln -s ../uniwidth j...@mocca:~/000-gnulib-simple-0/gllib/uniname$ ln -s . uniname j...@mocca:~/000-gnulib-simple-0/gllib/uninorm$ ln -s ../array-mergesort.h j...@mocca:~/000-gnulib-simple-0/gllib/uninorm$ ln -s ../unistr.h . j...@mocca:~/000-gnulib-simple-0/gllib/uninorm$ ln -s . uninorm j...@mocca:~/000-gnulib-simple-0/gllib/unistdio$ ln -s ../xsize.h j...@mocca:~/000-gnulib-simple-0/gllib/unistdio$ ln -s ../unistr.h . j...@mocca:~/000-gnulib-simple-0/gllib/unistdio$ ln -s ../printf-parse.c j...@mocca:~/000-gnulib-simple-0/gllib/unistdio$ ln -s ../vasnprintf.c j...@mocca:~/000-gnulib-simple-0/gllib/unistdio$ ln -s . unistdio j...@mocca:~/000-gnulib-simple-0/gllib/unistr$ ln -s ../unistr.h . j...@mocca:~/000-gnulib-simple-0/gllib/unistr$ ln -s . unistr j...@mocca:~/000-gnulib-simple-0/gllib/uniwbrk$ ln -s ../unistr.h . j...@mocca:~/000-gnulib-simple-0/gllib/uniwbrk$ ln -s . uniwbrk j...@mocca:~/000-gnulib-simple-0/gllib/uniwidth$ ln -s ../unistr.h . j...@mocca:~/000-gnulib-simple-0/gllib/uniwidth$ ln -s . uniwidth j...@mocca:~/000-gnulib-simple-0/gltests$ ln -s ../gllib j...@mocca:~/000-gnulib-simple-0/gltests/unicase$ ln -s . unicase j...@mocca:~/000-gnulib-simple-0/gltests/uniconv$ ln -s . uniconv j...@mocca:~/000-gnulib-simple-0/gltests/unictype$ ln -s . unictype j...@mocca:~/000-gnulib-simple-0/gltests/unilbrk$ ln -s . unilbrk