summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-08-29 11:10:06 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-08-30 15:35:58 -0500
commite04b76c2c3ee397df16d77a768496e007458c3da (patch)
treec84ad424516a146a510f3176094cb23757473455 /share
parenta0c8aca3a2f50ddd6f39c2382afe8021ba14633b (diff)
downloadspack-e04b76c2c3ee397df16d77a768496e007458c3da.tar.gz
spack-e04b76c2c3ee397df16d77a768496e007458c3da.tar.bz2
spack-e04b76c2c3ee397df16d77a768496e007458c3da.tar.xz
spack-e04b76c2c3ee397df16d77a768496e007458c3da.zip
Add spack to the PATH for doc tests
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-doc-tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/spack/qa/run-doc-tests b/share/spack/qa/run-doc-tests
index 0b23bd9d3d..96b76a216e 100755
--- a/share/spack/qa/run-doc-tests
+++ b/share/spack/qa/run-doc-tests
@@ -28,6 +28,9 @@ deps=(
# Check for dependencies
"$QA_DIR/check_dependencies" "${deps[@]}" || exit 1
+# Add Spack to the PATH.
+export PATH="$SPACK_ROOT/bin:$PATH"
+
# Move to documentation directory
# Allows script to be run from anywhere
cd "$DOC_DIR"