summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"