summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-unit-tests6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests
index 01f564e5e1..4bd04bcbb9 100755
--- a/share/spack/qa/run-unit-tests
+++ b/share/spack/qa/run-unit-tests
@@ -37,7 +37,11 @@ bin/spack -h
bin/spack help -a
# Profile and print top 20 lines for a simple call to spack spec
-spack -p --lines 20 spec mpileaks%gcc ^elfutils@0.170
+if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+ spack -p --lines 20 spec openmpi
+else
+ spack -p --lines 20 spec mpileaks%gcc ^elfutils@0.170
+fi
#-----------------------------------------------------------
# Run unit tests with code coverage