summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/spack/qa/run-unit-tests3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests
index 9cace0dfd6..d2ce9647af 100755
--- a/share/spack/qa/run-unit-tests
+++ b/share/spack/qa/run-unit-tests
@@ -44,8 +44,7 @@ spack config get compilers
# 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
+ coverage run bin/spack test "$@" && coverage combine
else
spack install -v libdwarf
spack test "$@"