Skip to content
Snippets Groups Projects
Commit 34d23c61 authored by Massimiliano Culpo's avatar Massimiliano Culpo Committed by Todd Gamblin
Browse files

tests: `coverage combine` run only if tests succeeded (#2712)

parent b9ec69dc
No related branches found
No related tags found
No related merge requests found
...@@ -44,8 +44,7 @@ spack config get compilers ...@@ -44,8 +44,7 @@ spack config get compilers
# Run unit tests with code coverage # Run unit tests with code coverage
if [[ "$TRAVIS_PYTHON_VERSION" == 2.7 ]]; then if [[ "$TRAVIS_PYTHON_VERSION" == 2.7 ]]; then
coverage run bin/spack install -v libdwarf coverage run bin/spack install -v libdwarf
coverage run bin/spack test "$@" coverage run bin/spack test "$@" && coverage combine
coverage combine
else else
spack install -v libdwarf spack install -v libdwarf
spack test "$@" spack test "$@"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment