Skip to content

Commit 68f33d4

Browse files
committed
Merge #579: Tests: fix ignored return value from htmlproofer
b51e808 Tests: fix ignored return value from htmlproofer (David A. Harding) Pull request description: In 0e7d61a, I broke the HTML proofer test. Sorry. It still generated warning messages but it always returned true, even when something was broken. Happily, we didn't manage to break anything. This fixes the test. Unlike before, I've tested that this does actually cause make (and thus Travis) to fail on broken content. Tree-SHA512: 543a3dddf97909c8f0aff98bb35f327b20aa22a5340c1b01f0d1ec997a5ec418c7613ec42a5216c40ce6fa18fce1baef5963e214f9a8a1ca014ed03a727af3b8
2 parents e81b6b3 + b51e808 commit 68f33d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test: test-fast test-slow
1212

1313
test-slow:
1414
## Check for malformed HTML and broken internal links
15-
bundle exec htmlproof --check-html --disable-external --url-ignore '/^\/bin/.*/' ./_site | cat
15+
bash -c "set -o pipefail ; bundle exec htmlproof --check-html --disable-external --url-ignore '/^\/bin/.*/' ./_site | cat"
1616
## Check that links on the /en/download page point to the separately-stored binaries in /bin
1717
contrib/qa/test-binary-availability.sh && echo "SUCCESS checking URLs for binaries"
1818

0 commit comments

Comments
 (0)