This commit is contained in:
Yaossg 2024-12-06 21:13:33 +08:00
parent bf7061a7df
commit 1b98d599a1
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
build
cov
*.out
*.o
*.s

5
cov.sh Normal file
View File

@ -0,0 +1,5 @@
mkdir -p cov && cd cov &&
rm *
gcc --coverage -g -O0 ../boot.c
./a.out < ../boot.c > /dev/null
gcov a-boot.c