summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-unit-tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests
index 0728614bc8..9cace0dfd6 100755
--- a/share/spack/qa/run-unit-tests
+++ b/share/spack/qa/run-unit-tests
@@ -40,12 +40,13 @@ cd "$SPACK_ROOT"
source "$SPACK_ROOT/share/spack/setup-env.sh"
spack compilers
spack config get compilers
-spack install -v libdwarf
# Run unit tests with code coverage
if [[ "$TRAVIS_PYTHON_VERSION" == 2.7 ]]; then
+ coverage run bin/spack install -v libdwarf
coverage run bin/spack test "$@"
coverage combine
else
+ spack install -v libdwarf
spack test "$@"
fi