diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-08-24 16:56:59 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2016-08-30 15:32:54 -0500 |
commit | f856952728811c267669962573aea15b9223c1e9 (patch) | |
tree | 32b79d6da55a2cf16e475c4e0f1303f985e9b0e8 /share | |
parent | f78134efa54baef2c1ef13167bf49859c84d3643 (diff) | |
download | spack-f856952728811c267669962573aea15b9223c1e9.tar.gz spack-f856952728811c267669962573aea15b9223c1e9.tar.bz2 spack-f856952728811c267669962573aea15b9223c1e9.tar.xz spack-f856952728811c267669962573aea15b9223c1e9.zip |
Always run Documentation tests
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/qa/run-doc-tests | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/share/spack/qa/run-doc-tests b/share/spack/qa/run-doc-tests index 102eb72d5e..0b23bd9d3d 100755 --- a/share/spack/qa/run-doc-tests +++ b/share/spack/qa/run-doc-tests @@ -28,9 +28,6 @@ deps=( # Check for dependencies "$QA_DIR/check_dependencies" "${deps[@]}" || exit 1 -# Gather array of changed files -changed=($("$QA_DIR/changed_files" lib/spack/docs)) - # Move to documentation directory # Allows script to be run from anywhere cd "$DOC_DIR" @@ -38,11 +35,6 @@ cd "$DOC_DIR" # Cleanup temporary files upon exit or when script is killed trap 'make clean --silent' EXIT SIGINT SIGTERM -# Only run tests if documentation was updated -if [[ "${changed[@]}" ]]; then - # Treat warnings as fatal errors - make SPHINXOPTS=-W -else - echo "No documentation was modified." -fi +# Treat warnings as fatal errors +make SPHINXOPTS=-W |