version 1.2, 2010/05/16 17:41:37 |
version 1.3, 2010/05/16 17:54:01 |
|
|
echo "Starting regression tests..." |
echo "Starting regression tests..." |
pass=0 |
pass=0 |
failed=0 |
failed=0 |
for file in */*.1 */*/*.1; do |
for file in */*.in */*/*.in; do |
[ -f "$file" ] || continue |
[ -f "$file" ] || continue |
check_skip_list "$file" && break |
check_skip_list "$file" && break |
printf "%s: " "$file" |
printf "%s: " "$file" |
mandoc "$file" > test.mandoc 2> /dev/null |
${MANDOC} "$file" > test.mandoc 2> /dev/null |
${NROFF} ${OUTPUT} -mandoc "$file" > test.nroff 2> /dev/null |
${NROFF} ${OUTPUT} -mandoc "$file" > test.nroff 2> /dev/null |
if cmp -s test.mandoc test.nroff; then |
if cmp -s test.mandoc test.nroff; then |
rm -f test.mandoc test.nroff |
rm -f test.mandoc test.nroff |