diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/run-coverage.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/build/run-coverage.sh b/scripts/build/run-coverage.sh index 816b1467..ceba8216 100755 --- a/scripts/build/run-coverage.sh +++ b/scripts/build/run-coverage.sh @@ -14,11 +14,12 @@ if [[ "a$COVERAGE" != "a1" ]]; then fi function upload_coverage() { - tags=$1 - codecov_suffix=(${tags// /}) + file=$1 + tags=$2 ci_env=$(bash <(curl -s https://codecov.io/env)) - docker run ${ci_env} -ti ${REPOSITORY}/klee:${LLVM_VERSION_SHORT}${LLVM_SUFFIX}${SOLVER_SUFFIX}${DEPS_SUFFIX} /bin/bash -c "cd /home/klee/klee_src && bash <(curl -s https://codecov.io/bash) -X gcov -y /home/klee/klee_src/.codecov.yml -f /home/klee/klee_build/coverage_all.info.${codecov_suffix} -F $tags" + docker run ${ci_env} -ti ${REPOSITORY}/klee:${LLVM_VERSION_SHORT}${LLVM_SUFFIX}${SOLVER_SUFFIX}${DEPS_SUFFIX} /bin/bash -c "cd /home/klee/klee_src && bash <(curl -s https://codecov.io/bash) -X gcov -y /home/klee/klee_src/.codecov.yml -f /home/klee/klee_build/coverage_all.info.${file} -F $tags" } -upload_coverage systemtests -upload_coverage unittests +# FIXME Enable separated coverage tags again +upload_coverage systemtests systemtests_unittests +upload_coverage unittests systemtests_unittests |