lease enter the commit message for your changes. Lines starting
This commit is contained in:
osboxes.org 2019-08-25 21:18:06 -04:00
parent e17b6967c6
commit d9e49f3e5a
1 changed files with 6 additions and 1 deletions

7
unit_tests/run_gcov.sh Normal file → Executable file
View File

@ -4,13 +4,14 @@ rm -rf gcov_working_area
mkdir gcov_working_area
cd gcov_working_area
ls -l
echo Looking for source code
find .. -name *.c* > source_files.txt
find ../../firmware/console/ -name *.c* >> source_files.txt
find ../../firmware/controllers/ -name *.c* >> source_files.txt
wc -l source_files.txt
xargs -L 1 -I {} cp {} . < source_files.txt
@ -18,3 +19,7 @@ cp ../build/obj/* .
gcov *.c* > gcov.log 2>gcov.err
gcovr --html -o rusefi_unit_tests.html
ls -l rusefi_unit_tests.html