aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/regress.pl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-04 15:24:36 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-04 15:24:36 +0000
commit59c9d1f4aa4c809091049f979c1bbc2479716399 (patch)
treefd3b27a49a34e228d186449fec87b424c1564988 /regress/regress.pl
parent423ba251975a0c4f170f9e93bb7237b898b67fef (diff)
downloadmandoc-59c9d1f4aa4c809091049f979c1bbc2479716399.tar.gz
mandoc-59c9d1f4aa4c809091049f979c1bbc2479716399.tar.zst
mandoc-59c9d1f4aa4c809091049f979c1bbc2479716399.zip
Messages of the -Wbase level now print STYLE:. Since this
causes horrible churn anyway, profit of the opportunity to stop excessive testing, such that this is hopefully the last instance of such churn. Consistently use OpenBSD RCS tags, blank .Os, blank fourth .TH argument, and Mdocdate like everywhere else. Use -Ios=OpenBSD for platform-independent predictable output.
Diffstat (limited to 'regress/regress.pl')
-rwxr-xr-xregress/regress.pl14
1 files changed, 7 insertions, 7 deletions
diff --git a/regress/regress.pl b/regress/regress.pl
index 4ba905af..ab337662 100755
--- a/regress/regress.pl
+++ b/regress/regress.pl
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
#
-# $Id: regress.pl,v 1.6 2017/05/30 19:30:40 schwarze Exp $
+# $Id: regress.pl,v 1.7 2017/07/04 15:24:36 schwarze Exp $
#
# Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
#
@@ -240,7 +240,7 @@ for my $testname (@regress_testnames) {
$count_ascii++;
$count_total++;
print "@mandoc -T ascii $i\n" if $targets{verbose};
- sysout $o, @mandoc, qw(-T ascii), $i
+ sysout $o, @mandoc, qw(-I os=OpenBSD -T ascii), $i
and fail $subdir, $testname, 'ascii:mandoc';
system @diff, $w, $o
and fail $subdir, $testname, 'ascii:diff';
@@ -251,10 +251,10 @@ for my $testname (@regress_testnames) {
$count_man++;
$count_total++;
print "@mandoc -T man $i\n" if $targets{verbose};
- sysout $m, @mandoc, qw(-T man), $i
+ sysout $m, @mandoc, qw(-I os=OpenBSD -T man), $i
and fail $subdir, $testname, 'man:man';
print "@mandoc -man -T ascii $m\n" if $targets{verbose};
- sysout $mo, @mandoc, qw(-man -T ascii -O mdoc), $m
+ sysout $mo, @mandoc, qw(-man -I os=OpenBSD -T ascii -O mdoc), $m
and fail $subdir, $testname, 'man:mandoc';
system @diff, $w, $mo
and fail $subdir, $testname, 'man:diff';
@@ -279,7 +279,7 @@ for my $testname (@utf8_testnames) {
$count_utf8++;
$count_total++;
print "@mandoc -T utf8 $i\n" if $targets{verbose};
- sysout $o, @mandoc, qw(-T utf8), $i
+ sysout $o, @mandoc, qw(-I os=OpenBSD -T utf8), $i
and fail $subdir, $testname, 'utf8:mandoc';
system @diff, $w, $o
and fail $subdir, $testname, 'utf8:diff';
@@ -321,7 +321,7 @@ for my $testname (@regress_testnames) {
$count_markdown++;
$count_total++;
print "@mandoc -T markdown $i\n" if $targets{verbose};
- sysout $o, @mandoc, qw(-T markdown), $i
+ sysout $o, @mandoc, qw(-I os=OpenBSD -T markdown), $i
and fail $subdir, $testname, 'markdown:mandoc';
system @diff, $w, $o
and fail $subdir, $testname, 'markdown:diff';
@@ -342,7 +342,7 @@ for my $testname (@lint_testnames) {
$count_lint++;
$count_total++;
print "@mandoc -T lint -W all $i\n" if $targets{verbose};
- syslint $o, @mandoc, qw(-T lint -W all), $i
+ syslint $o, @mandoc, qw(-I os=OpenBSD -T lint -W all), $i
and fail $subdir, $testname, 'lint:mandoc';
system @diff, $w, $o
and fail $subdir, $testname, 'lint:diff';