add more useful debugging steps

This commit is contained in:
Brian Hicks 2019-07-23 17:10:08 -05:00
parent c9dcdf342b
commit 4268f86f12

View File

@ -20,4 +20,12 @@ if test "$NUM_ERRORS" -ne "$TARGET_ERRORS"; then
echo echo
echo 'If it went down, hooray!' echo 'If it went down, hooray!'
echo "Check out ${0:-} and change the count to the reported value above." echo "Check out ${0:-} and change the count to the reported value above."
echo
echo "Did it go up? That's OK too."
echo "Since there are so many errors right now, a decent debugging strategy is:"
echo
echo " 1. save tests/axe-report.log somewhere ('mv tests/axe-report.log tests/axe-report.log.failing' is one way)"
echo " 2. undo your changes ('git stash' or 'checkout master')"
echo " 3. regenerate the log with 'make tests/axe-report.log'"
echo " 4. compare the output with 'diff -u tests/axe-report.log tests/axe-report.log.failing'"
fi fi