File: l2htest

package info (click to toggle)
latex2html 2021-debian1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,796 kB
  • sloc: perl: 33,871; makefile: 437; sh: 22
file content (31 lines) | stat: -rw-r--r-- 597 bytes parent folder | download
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