From: Jim Meyering Date: Wed, 7 Sep 2011 09:18:20 +0000 (+0200) Subject: tests: avoid false-positive "make check" failure when perl is missing X-Git-Tag: v8.13~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f85ca2c876f6bc087dd1eca692f79f5f5d7f8bb3;p=thirdparty%2Fcoreutils.git tests: avoid false-positive "make check" failure when perl is missing * doc/Makefile.am (sc-lower-case-var): Skip this test when $(PERL) is not usable. Reported by Bruno Haible. --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 6f466c58d5..8880483965 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -128,7 +128,7 @@ find_upper_case_var = \ } \ END {$$m and (warn "$(ME): do not use upper case in \@var{...}\n"), exit 1}' sc-lower-case-var: - $(AM_V_GEN)$(PERL) -e 1 \ - && $(PERL) -lne $(find_upper_case_var) $(srcdir)/*.texi + $(AM_V_GEN)$(PERL) -e 1 || { echo $@: skipping test; exit 0; }; \ + $(PERL) -lne $(find_upper_case_var) $(srcdir)/*.texi check: check-texinfo