summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-05-10 11:27:57 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2019-05-10 13:13:44 -0700
commitdda90a5666920cb2088bcd9f2173566c2dbc5c46 (patch)
tree8bf32f1e1d73eff107d09c19e55362ff8406d54f /share
parent54920d100a1d69ef9f6b9b2b54f61e5a95bf3812 (diff)
downloadspack-dda90a5666920cb2088bcd9f2173566c2dbc5c46.tar.gz
spack-dda90a5666920cb2088bcd9f2173566c2dbc5c46.tar.bz2
spack-dda90a5666920cb2088bcd9f2173566c2dbc5c46.tar.xz
spack-dda90a5666920cb2088bcd9f2173566c2dbc5c46.zip
bugfix: Do not run spack spec in the test environment for Python 2.6
- Trying to get our Python 2.6 tests working again. - This seems to crash travis in the 2.6 environment, for whatever reason.
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-unit-tests4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests
index 0701a81380..706720c033 100755
--- a/share/spack/qa/run-unit-tests
+++ b/share/spack/qa/run-unit-tests
@@ -31,7 +31,9 @@ ${coverage_run} bin/spack -h
${coverage_run} bin/spack help -a
# Profile and print top 20 lines for a simple call to spack spec
-${coverage_run} bin/spack -p --lines 20 spec mpileaks%gcc ^elfutils@0.170
+if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then
+ ${coverage_run} bin/spack -p --lines 20 spec mpileaks%gcc ^elfutils@0.170
+fi
# Run unit tests with code coverage
extra_args=""