summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-16 17:54:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-16 17:54:01 +0000
commitd5098afb2c3e5356a30dd0555efbdb18a6af305c (patch)
tree9f59d13e4a4a411a3567b4720f2771e1adeb758b /regress
parent8b2c7d3377ef006d0d896d85fb25d4a943ea8dde (diff)
downloadmandoc-d5098afb2c3e5356a30dd0555efbdb18a6af305c.tar.gz
mandoc should be a variable.
Consensus is on using a *.in for regression tests (symmetry-broken by Ingo).
Diffstat (limited to 'regress')
-rwxr-xr-xregress/regress.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/regress.sh b/regress/regress.sh
index 970aaec0..1a65ad0d 100755
--- a/regress/regress.sh
+++ b/regress/regress.sh
@@ -17,11 +17,11 @@ rm -rf output
echo "Starting regression tests..."
pass=0
failed=0
-for file in */*.1 */*/*.1; do
+for file in */*.in */*/*.in; do
[ -f "$file" ] || continue
check_skip_list "$file" && break
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
if cmp -s test.mandoc test.nroff; then
rm -f test.mandoc test.nroff