coverage
This commit is contained in:
parent
bf7061a7df
commit
70a78b282a
3 changed files with 28 additions and 0 deletions
6
cov.sh
Normal file
6
cov.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
mkdir -p cov && cd cov &&
|
||||
rm *
|
||||
gcc --coverage -g -O0 ../boot.c
|
||||
./a.out < ../boot.c > /dev/null
|
||||
gcov a-boot.c
|
||||
python3 -m gcovr --html-details --html-theme github.green -o report.html -r ..
|
Loading…
Add table
Add a link
Reference in a new issue