First coverage reports. Tests don't get near enough coverage but running the program does.
This commit is contained in:
parent
988edf13d7
commit
97255eb813
7 changed files with 127 additions and 5 deletions
5
Makefile
5
Makefile
|
@ -14,7 +14,7 @@ ragel:
|
|||
ragel -o .\ansi_parser.cpp .\ansi_parser.rl
|
||||
|
||||
build: ansi_parser.cpp
|
||||
meson compile -j 4 -C builddir
|
||||
meson compile -j 10 -C builddir
|
||||
|
||||
test: build
|
||||
./builddir/runtests
|
||||
|
@ -28,3 +28,6 @@ clean:
|
|||
|
||||
debug:
|
||||
gdb --nx -x .gdbinit builddir/roguish.exe
|
||||
|
||||
cover:
|
||||
gcovr --html coverage/coverage_report.html --gcov-ignore-errors=no_working_dir_found --exclude "scratchpad.*" --exclude "subprojects.*" --html-nested coverage/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue