How does lcov decide when to use absolute paths relative to relative paths?
I have a directory appcontaining subdirectories for each of my shared product libraries and subdirectories for multiple binaries. Something like that:
/home/user/app/libfoo/bar
/home/user/app/libfoo/baz
/home/user/app/libqux
/home/user/app/testsuite
/home/user/app/product
However, when going through lcovand, genhtmldirectories are listed as follows:
/home/user/app/libqux
/home/user/app/testsuite
/home/user/app/product
bar
baz
In other words, everything in one of my shared library directories uses a relative path, and everything else uses absolute paths. Why?
My invoction is out lcovand genhtmlquite simple:
cd ~/app
testsuite/run_tests
lcov --capture --directory . --output-file coverage.info --gcov-tool gcov-5 --no-external
genhtml coverage.info --output-directory coverage
source
share