removed base.out before coverage eval
This commit is contained in:
@@ -29,6 +29,7 @@ build:
|
||||
- cd ${CI_PROJECT_DIR}/coverage
|
||||
- export GCOV_PREFIX=$(pwd)
|
||||
- export GCOV_PREFIX_STRIP=$(pwd | awk -F"/" '{print NF-1}')
|
||||
- lcov -q -c --initial --rc geninfo_adjust_src_path=$GCOV_PREFIX -d ${CI_PROJECT_DIR} -o ${CI_PROJECT_DIR}/coverage/base.out
|
||||
|
||||
cache:
|
||||
key: build
|
||||
@@ -46,6 +47,7 @@ coverage:
|
||||
script:
|
||||
# delete all empty files since they produce errors
|
||||
- find coverage -size 0 -type f -delete
|
||||
- rm coverage/base.out
|
||||
- ls coverage/ -lah
|
||||
- lcov `find coverage -type f -exec echo "-a {}" \;` -o coverage/final.out
|
||||
- lcov --remove coverage/final.out '*/systemc*/include/*' '*/traceAnalyzer/*' '*/gcc*/include/*' '/usr/include/*' '*/third_party/*' -o coverage/final_dramsys.out
|
||||
|
||||
Reference in New Issue
Block a user