Age | Commit message (Collapse) | Author |
|
The hack introduced in aa91826f is replaced with a hopefully better
working "proper" solution with a new variable just for the standard we
use everywhere we use CXXFLAGS.
Git-Dch: Ignore
|
|
Instructing gcc (or clang) to prepare for capturing coverage data is
easy: Just build with: CXXFLAGS=--coverage
The hard part is that our buildsystem uses relative paths and so
confuses the hell out of lcov as it assumes this way that all our *.cc
files are in the same directory… by changing to absolute paths in the
compile rules we solve this problem.
Still not perfect as it refers to build/include files for most headers
and our forking/threading code isn't properly captured, but good enough
to see red reports for now:
CXXFLAGS=--coverage make
make test
./test/integration/run-tests -q
lcov --no-external --directory . --capture --output-file apt.info
genhtml --output-directory ./coverage/ apt.info
Git-Dch: Ignore
|
|
|
|
Author: jgg
Date: 2002-10-16 05:24:02 GMT
gettext stuff
|
|
Author: jgg
Date: 2001-02-20 07:03:16 GMT
Join with aliencode
|
|
Author: jgg
Date: 2000-01-14 06:26:36 GMT
More Fixes
|
|
Author: jgg
Date: 1999-04-12 04:28:46 GMT
Fixed make system to rebuild binaries when shlib version changes
|
|
Author: jgg
Date: 1999-01-17 21:11:40 GMT
Small linker changes
|
|
Author: jgg
Date: 1998-12-07 07:26:19 GMT
Optimizations
|
|
Author: jgg
Date: 1998-11-29 01:36:57 GMT
Glitch in the program rule
|
|
Author: jgg
Date: 1998-07-30 05:34:20 GMT
Move libraries to the statr of the compile line
|
|
Author: jgg
Date: 1998-07-15 05:56:42 GMT
Compile of apt-cache
|