mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: be really robust to Perl missing
My previous tests (with ./configure PERL=false) have been fooled by configure, that managed to find perl anyway. This time, I ran this on a Fedora in Docker, without Perl. * tests/calc.at, tests/diagnostics.at, tests/headers.at, * tests/input.at, tests/local.at, tests/named-refs.at, * tests/output.at, tests/regression.at, tests/skeletons.at, * tests/synclines.at, tests/torture.at: Don't require Perl.
This commit is contained in:
@@ -619,7 +619,7 @@ AT_CHECK([cat stderr], 0, [expout])
|
||||
# Make sure we did not introduce bad spaces. Checked here because all
|
||||
# the skeletons are (or should be) exercized here.
|
||||
m4_define([AT_CHECK_SPACES],
|
||||
[AT_CHECK([$PERL -ne '
|
||||
[AT_CHECK(["$PERL" -ne '
|
||||
chomp;
|
||||
print "$ARGV:$.: {$_}\n"
|
||||
if (# No starting/ending empty lines.
|
||||
@@ -628,7 +628,7 @@ m4_define([AT_CHECK_SPACES],
|
||||
|| /\s$/
|
||||
# No tabs.
|
||||
|| /\t/
|
||||
)' $1
|
||||
)' $1 || exit 77
|
||||
])dnl
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user