summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/setup.sh15
1 files changed, 3 insertions, 12 deletions
diff --git a/share/spack/qa/setup.sh b/share/spack/qa/setup.sh
index 61fb2a7706..6536479015 100755
--- a/share/spack/qa/setup.sh
+++ b/share/spack/qa/setup.sh
@@ -20,24 +20,15 @@ export SPACK_ROOT=$(realpath "$QA_DIR/../../..")
coverage=""
coverage_run=""
-# bash coverage depends on some other factors -- there are issues with
-# kcov for Python 2.6, unit tests, and build tests.
-if [[ $TEST_SUITE == unit && # kcov segfaults for the MPICH build test
- $TRAVIS_OS_NAME == linux &&
- $TRAVIS_PYTHON_VERSION != 2.6 ]];
-then
- BASH_COVERAGE="true"
-else
- BASH_COVERAGE="false"
-fi
-
# Set up some variables for running coverage tests.
if [[ "$COVERAGE" == "true" ]]; then
# these set up coverage for Python
coverage=coverage
coverage_run="coverage run"
- if [ "$BASH_COVERAGE" = true ]; then
+ # bash coverage depends on some other factors -- there are issues with
+ # kcov for Python 2.6, unit tests, and build tests.
+ if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then
mkdir -p coverage
cc_script="$SPACK_ROOT/lib/spack/env/cc"
bashcov=$(realpath ${QA_DIR}/bashcov)