Remove run_gcov (#1513)
* remove run_gcov and call ci_gcov from run_clean_gcov * explicitly call bash
This commit is contained in:
parent
cd1cbd1f76
commit
a923b876f9
|
@ -3,4 +3,4 @@
|
|||
make clean
|
||||
make -j4
|
||||
build/rusefi_test
|
||||
./run_gcov.sh
|
||||
bash ci_gcov.sh $RUSEFI_DOXYGEN_FTP_USER $RUSEFI_DOXYGEN_FTP_PASS $RUSEFI_FTP_SERVER
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
#
|
||||
# this script is now replaced by ci_gcov.sh which is executed by Github actions
|
||||
# this script is part of the legacy non-github jenkins which is no longer needed
|
||||
#
|
||||
|
||||
rm -rf gcov_working_area
|
||||
|
||||
mkdir gcov_working_area
|
||||
cd gcov_working_area
|
||||
|
||||
|
||||
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
|
||||
|
||||
cp ../build/obj/* .
|
||||
|
||||
gcov *.c* > gcov.log 2>gcov.err
|
||||
|
||||
|
||||
lcov --capture --directory . --output-file coverage.info
|
||||
genhtml coverage.info --output-directory gcov
|
||||
|
||||
# gcovr --html -o rusefi_unit_tests.html
|
||||
# ls -l rusefi_unit_tests.html
|
||||
|
||||
|
||||
ncftpput -m -R -v -u $RUSEFI_DOXYGEN_FTP_USER -p $RUSEFI_DOXYGEN_FTP_PASS $RUSEFI_FTP_SERVER /unit_tests_coverage gcov/*
|
||||
|
Loading…
Reference in New Issue