1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#!/bin/bash
# exit-on-error
set -e
echo "---- running latex2html on test data ----"
echo
if latex2html -dir $AUTOPKGTEST_TMP tests/l2htest
then echo
echo "---- latex2html ran successfully ----"
else
echo
echo "---- latex2html exited with an error state ----"
exit 1
fi
# linkchecker is uninstallable at the moment (2020-06-16)
# echo "---- testing for broken links ----"
# echo
# if linkchecker $AUTOPKGTEST_TMP/index.html
# then echo
# echo "---- no broken links ----"
# else
# echo
# echo "---- linkchecker exited with an error state ----"
# exit 1
# fi
|