From dda90a5666920cb2088bcd9f2173566c2dbc5c46 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Fri, 10 May 2019 11:27:57 -0700 Subject: 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. --- share/spack/qa/run-unit-tests | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'share') 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="" -- cgit v1.2.3-70-g09d2