Ad dscript to gerneate html coverage report using the lcov tool

This commit is contained in:
Nils O. Selåsdal
2013-07-07 19:22:49 +02:00
parent 6f209912ae
commit 7706c7404d
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -4,3 +4,4 @@ build/
tags tags
doc/ doc/
log_subdir/ log_subdir/
coverage/
Executable
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
scons --coverage test
mkdir -p coverage && cd coverage
lcov -c -d ../build/src/ -o lcov.trace
genhtml lcov.trace