use elf as ext
This commit is contained in:
parent
4e591092db
commit
b4dbce76cf
9 changed files with 31 additions and 61 deletions
|
@ -1,6 +1,6 @@
|
|||
mkdir -p cov && cd cov &&
|
||||
rm *
|
||||
gcc --coverage -g -O0 ../boot.c
|
||||
./a.out < ../boot.c > /dev/null
|
||||
gcov a-boot.c
|
||||
gcc --coverage -g -O0 ../boot.c -o boot.elf
|
||||
./boot.elf < ../boot.c > /dev/null
|
||||
gcov boot.elf-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