[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/17] maint: remove anachronistic syntax-check
From: |
Stefano Lattarini |
Subject: |
[PATCH 08/17] maint: remove anachronistic syntax-check |
Date: |
Sun, 2 Sep 2012 21:55:10 +0200 |
* cfg.mk (sc_no_exec_perl_coreutils): This. Our new testsuite
layout (perl tests having '.pl' suffix, shell tests having '.sh'
suffix) makes it basically impossible to run into the issues this
check guarded against.
---
cfg.mk | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/cfg.mk b/cfg.mk
index 3887641..b20a2dd 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -244,17 +244,6 @@ sc_NEWS_two_empty_lines:
|| { echo '$(ME): use two empty lines to separate NEWS sections' \
1>&2; exit 1; } || :
-# Perl-based tests used to exec perl from a #!/bin/sh script.
-# Now they all start with #!/usr/bin/perl and the portability
-# infrastructure is in tests/Makefile.am. Make sure no old-style
-# script sneaks back in.
-sc_no_exec_perl_coreutils:
- @if test -f $(srcdir)/tests/Coreutils.pm; then \
- grep '^exec *\$$PERL.*MCoreutils' $$($(VC_LIST) tests) && \
- { echo 1>&2 '$(ME): found anachronistic Perl-based tests'; \
- exit 1; } || :; \
- fi
-
# With split lines, don't leave an operator at end of line.
# Instead, put it on the following line, where it is more apparent.
# Don't bother checking for "*" at end of line, since it provokes
--
1.7.12
- [PATCH 00/17] De-recursion for the 'tests' subdirectory., Stefano Lattarini, 2012/09/02
- [PATCH 01/17] build: use 'check-local' to extend the 'check' target, Stefano Lattarini, 2012/09/02
- [PATCH 03/17] maint: remove useless dependency for vc_exe_in_TESTS, Stefano Lattarini, 2012/09/02
- [PATCH 02/17] maint: avoid parsing of Makefile.am from vc_exe_in_TESTS, Stefano Lattarini, 2012/09/02
- [PATCH 04/17] maint: make vc_exe_in_TESTS also work in VPATH builds, Stefano Lattarini, 2012/09/02
- [PATCH 05/17] tests: use suffix, not exec-bit, to tell which files are tests, Stefano Lattarini, 2012/09/02
- [PATCH 06/17] tests: remove the unused 'root-hint' target, Stefano Lattarini, 2012/09/02
- [PATCH 08/17] maint: remove anachronistic syntax-check,
Stefano Lattarini <=
- [PATCH 07/17] maint: remove duplicated declaration of the 'sc_check-AUTHORS' target, Stefano Lattarini, 2012/09/02
- [PATCH 09/17] maint: list of names of built programs available in the Makefiles, Stefano Lattarini, 2012/09/02
- [PATCH 11/17] tests: put test-suite.log back in 'tests/', Stefano Lattarini, 2012/09/02
- [PATCH 12/17] build: remove two now-useless convenience targets, Stefano Lattarini, 2012/09/02
- [PATCH 14/17] maint: avoid a spurious syntax-check error, Stefano Lattarini, 2012/09/02
- [PATCH 13/17] maint: vc_exe_in_TESTS should actually be a syntax check, Stefano Lattarini, 2012/09/02
- [PATCH 15/17] maint: fix syntax checks 'sc_root_tests', Stefano Lattarini, 2012/09/02
- [PATCH 17/17] maint: fix a spurious syntax-check failure, Stefano Lattarini, 2012/09/02
- [PATCH 16/17] tests: more resilient about tainted absolute srcdir path, Stefano Lattarini, 2012/09/02