smarter and error test
This commit is contained in:
parent
bf7f456967
commit
49ed7c5df5
37 changed files with 83 additions and 36 deletions
|
@ -1,10 +1,9 @@
|
|||
mkdir -p cov && cd cov &&
|
||||
rm *
|
||||
gcc --coverage -g -O0 ../boot.c -o boot.elf
|
||||
for i in ../test/*.c; do
|
||||
i=$(basename $i .c)
|
||||
echo "Running coverage for test '$i'"
|
||||
./boot.elf < ../test/$i.c > /dev/null
|
||||
for i in ../test/**/*.c; do
|
||||
echo "Running coverage for test '$(basename $i .c)'"
|
||||
./boot.elf < $i > /dev/null
|
||||
gcov boot.elf-boot.c
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue