Use kcov from official Ubuntu 20.04 repository (#25385)
* Ubuntu 20.04 provides kcov, so don't build from source * Use two undocumented options for kcov v3.8
This commit is contained in:
committed by
GitHub
parent
350372e3bf
commit
10695f1ed3
@@ -38,8 +38,8 @@ cd "$SPACK_ROOT"
|
||||
# Run bash tests with coverage enabled, but pipe output to /dev/null
|
||||
# because it seems that kcov seems to undo the script's redirection
|
||||
if [ "$COVERAGE" = true ]; then
|
||||
"$QA_DIR/bashcov" "$QA_DIR/setup-env-test.sh" &> /dev/null
|
||||
"$QA_DIR/bashcov" "$QA_DIR/completion-test.sh" &> /dev/null
|
||||
kcov "$SPACK_ROOT/coverage" "$QA_DIR/setup-env-test.sh" &> /dev/null
|
||||
kcov "$SPACK_ROOT/coverage" "$QA_DIR/completion-test.sh" &> /dev/null
|
||||
else
|
||||
bash "$QA_DIR/setup-env-test.sh"
|
||||
bash "$QA_DIR/completion-test.sh"
|
||||
|
||||
Reference in New Issue
Block a user