Skip to content

Commit e04b76c

Browse files
committed
Add spack to the PATH for doc tests
1 parent a0c8aca commit e04b76c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

share/spack/qa/run-doc-tests

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ deps=(
2828
# Check for dependencies
2929
"$QA_DIR/check_dependencies" "${deps[@]}" || exit 1
3030

31+
# Add Spack to the PATH.
32+
export PATH="$SPACK_ROOT/bin:$PATH"
33+
3134
# Move to documentation directory
3235
# Allows script to be run from anywhere
3336
cd "$DOC_DIR"

0 commit comments

Comments
 (0)