summaryrefslogtreecommitdiff
path: root/share/spack/qa/run-shell-tests
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack/qa/run-shell-tests')
-rwxr-xr-xshare/spack/qa/run-shell-tests6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/spack/qa/run-shell-tests b/share/spack/qa/run-shell-tests
index 8890b67d42..83838ff5ef 100755
--- a/share/spack/qa/run-shell-tests
+++ b/share/spack/qa/run-shell-tests
@@ -18,7 +18,11 @@
ORIGINAL_PATH="$PATH"
. "$(dirname $0)/setup.sh"
-check_dependencies $coverage kcov git hg svn
+if [ "$COVERAGE" = true ]; then
+ check_dependencies $coverage kcov git hg svn
+else
+ echo "COVERAGE not set to 'true' [skipping coverage]"
+fi
# Clean the environment by removing Spack from the path and getting rid of
# the spack shell function