100% coverage
This commit is contained in:
parent
49ed7c5df5
commit
92f4b4f561
52 changed files with 143 additions and 48 deletions
|
@ -2,8 +2,8 @@ mkdir -p cov && cd cov &&
|
|||
rm *
|
||||
gcc --coverage -g -O0 ../boot.c -o boot.elf
|
||||
for i in ../test/**/*.c; do
|
||||
echo "Running coverage for test '$(basename $i .c)'"
|
||||
./boot.elf < $i > /dev/null
|
||||
echo "Running coverage for test '$i'"
|
||||
./boot.elf < $i > /dev/null 2>/dev/null
|
||||
gcov boot.elf-boot.c
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue