[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-dev] lcov test coverage reports
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
Would there be interest in using lcov [0] for test coverage analysis?
Obviously, as lcov is an external pacakge, the existing scripts that
only use built in gcov commands must remain.
However, if I were to create a script that generates a pretty, HTML
coverage report using lcov & genhtml, would this be something others
would use? And how would you like to see this implemented? As a custom
make target (e.g., make htmlcoverage + autotools black magic to silently
disable/hide the target if we can't find lcov), or as a standalone
script (i.e., ./scripts/test/run_lcov.sh).
For what it's worth, I've manually run lcov on tor after enabling
coverage through ./configure, and the output seems sane, so I think
from a technical standpoint this would work.
[0]: http://ltp.sourceforge.net/coverage/lcov.php
Cheers,
daube
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBAgAGBQJTnYryAAoJEBfCjrGktO5q+FgP/26ZgVZOAKSOBvWr6z2HYEku
1Yo+xFqTXk/Fw6yilv6Z4Jwc0Ar2B/VjHfLpOL1Vm+hFZ+VYsObSt9JGG2baItbG
IrcedfjCuyjfaP1PloZoDM24FEbXqjseQO2EZ8bXbtErsW52Z4uAR3nYYcyXCCYp
1gi6lEwN/Yn0xm+fGgoz6/Z5FXvETdzbWLfhZoT4jFsnQsp/fByld55JLyft/8gA
OrH3QQYGgXZkwIsnTkbLO3xWpXbqC5kU/ngCOL9WXXU99cgnW+bec7DA+cHhTqh/
7oZD54noQ9XYtOA7AhAEOiTWnJUca2vV1KFPVBKSlqfkOhF3BRANHo2cIpsvgeBK
9+tcTyuwcFGAJVmW9l/AN3Y89CepCxnk6B1SSLFxuUVupAz2ilBM7KVtgj2ilJnC
2GjfuQB0RG/FW0CSEaa+DDtHfzCMfZNwGb6Fs1L41P8NnlGVFOz11NLlMG3t5ZpT
0OrncYaeVz74H+63Ig1ZwOjlfgUr9BHMLeYdwn9FmqIggyFRt1Z5PnNCaMuExs/v
WQbLMP0oZ9XK1f51vfFVFYk/n1nh1c4J40/3I5B525GANAZ3fxTDLp0oSp/gNr5X
lXPaF32KexhOiup5n1d6x8oJPzeNmex5CfcT29bZMPavF8p8v0OdZrUtU40bG7nO
PUlA3EFfva1YW0aTRKY5
=+v+h
-----END PGP SIGNATURE-----
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev