Generate coverage reports for all unit and build tests

This commit is contained in:
Adam J. Stewart
2018-08-03 20:39:43 -05:00
committed by Todd Gamblin
parent 5cc2309330
commit 7e0bd152b7
2 changed files with 14 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ SPACK_ROOT="$QA_DIR/../../.."
. "$SPACK_ROOT/share/spack/setup-env.sh"
# Set up some variables for running coverage tests.
if [[ "$COVERAGE" == true ]]; then
if [[ "$TEST_SUITE" == "unit" || "$TEST_SUITE" == "build" ]]; then
coverage=coverage
coverage_run="coverage run"
else