[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/14] Fix/improve requirements declaration for test scripts.
From: |
Stefano Lattarini |
Subject: |
Re: [PATCH 0/14] Fix/improve requirements declaration for test scripts. |
Date: |
Fri, 2 Jul 2010 16:15:29 +0200 |
User-agent: |
KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.4; i686; ; ) |
OK, this should have really been the first patch in the series, but I
didn't think of it until the series was almost finished, and at that
point I dind't want to risk a rebase with a lot of annoying conflicts
(almost all of them spurious, BTW). No big deal IMHO.
Regards,
Stefano
-*-*-*-
Make sure all tests needing gzip require it explicitly.
The list of tests which needed gzip without explicitly requiring
it in $required has been obtained by taking note of which tests
reported FAIL (instead of SKIP) when run (in the top-level
directory of the Automake source tree) with the following
commands:
$ mkdir xbin
$ (echo '#!/bin/sh' && echo 'exit 1') > xbin/gzip
$ chmod a+x xbin/gzip
$ PATH="`pwd`/xbin:$PATH" make check -k
The failing tests (whose list was saved in the $tests shell
variable) have been automatically corrected with the following
commands (using GNU sed, GNU grep and GNU xargs):
$ sed -i "s/^required=[\"']\\([^\"']*\\)[\"']/required='\\1 gzip'/" $tests
$ sed -i "s/^required=\\([^ \"\']\+\\)/required='\\1 gzip'/" $tests
$ grep -L '^required=' $tests | \
xargs sed -i 's/^\. \.\/defs *\(|| *Exit 1 *\)\?$/required=gzip\n&/'
(and then fixing the test hfs.test by hand).
Their copyright notice has been automatically updated (where
required) with the update-copyright script from Gnulib:
$ update-copyright $tests
From a64a55e0f7040be1015426895b76c395d949dcc8 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <address@hidden>
Date: Fri, 2 Jul 2010 12:41:30 +0200
Subject: [PATCH 14/14] Make sure all tests needing gzip require it explicitly.
The list of tests which needed gzip without explicitly requiring
it in $required has been obtained by taking note of which tests
reported FAIL (instead of SKIP) when run (in the top-level
directory of the Automake source tree) with the following
commands:
$ mkdir xbin
$ (echo '#!/bin/sh' && echo 'exit 1') > xbin/gzip
$ chmod a+x xbin/gzip
$ PATH="`pwd`/xbin:$PATH" make check -k
The failing tests (whose list was saved in the $tests shell
variable) have been automatically corrected with the following
commands (using GNU sed, GNU grep and GNU xargs):
$ sed -i "s/^required=[\"']\\([^\"']*\\)[\"']/required='\\1 gzip'/" $tests
$ sed -i "s/^required=\\([^ \"\']\+\\)/required='\\1 gzip'/" $tests
$ grep -L '^required=' $tests | \
xargs sed -i 's/^\. \.\/defs *\(|| *Exit 1 *\)\?$/required=gzip\n&/'
(and then fixing the test hfs.test by hand).
Their copyright notice has been automatically updated (where
required) with the update-copyright script from Gnulib:
$ update-copyright $tests
* tests/acloca13.test ($required): Add "gzip".
* tests/autohdr3.test: Likewise.
* tests/autohdr4.test: Likewise.
* tests/autohdr5.test: Likewise.
* tests/conff.test: Likewise.
* tests/config.test: Likewise.
* tests/distcleancheck.test: Likewise.
* tests/distdir.test: Likewise.
* tests/distname.test: Likewise.
* tests/fn99.test: Likewise.
* tests/fn99subdir.test: Likewise.
* tests/fort4.test: Likewise.
* tests/fort5.test: Likewise.
* tests/gnumake.test: Likewise.
* tests/insthook.test: Likewise.
* tests/java.test: Likewise.
* tests/java3.test: Likewise.
* tests/libtoo10.test: Likewise.
* tests/libtoo11.test: Likewise.
* tests/libtool3.test: Likewise.
* tests/lisp7.test: Likewise.
* tests/ltlibsrc.test: Likewise.
* tests/makej2.test: Likewise.
* tests/man3.test: Likewise.
* tests/man4.test: Likewise.
* tests/output10.test: Likewise.
* tests/output11.test: Likewise.
* tests/output12.test: Likewise.
* tests/output7.test: Likewise.
* tests/output9.test: Likewise.
* tests/parallel-tests5.test: Likewise.
* tests/pr401.test: Likewise.
* tests/pr401b.test: Likewise.
* tests/pr401c.test: Likewise.
* tests/pr87.test: Likewise.
* tests/specflg10.test: Likewise.
* tests/subcond2.test: Likewise.
* tests/subcond3.test: Likewise.
* tests/subobj10.test: Likewise.
* tests/subobj5.test: Likewise.
* tests/subpkg.test: Likewise.
* tests/subpkg2.test: Likewise.
* tests/subpkg3.test: Likewise.
* tests/suffix13.test: Likewise.
* tests/tar.test: Likewise.
* tests/tar2.test: Likewise.
* tests/txinfo13.test: Likewise.
* tests/txinfo16.test: Likewise.
* tests/txinfo18.test: Likewise.
* tests/txinfo22.test: Likewise.
* tests/txinfo23.test: Likewise.
* tests/txinfo24.test: Likewise.
* tests/txinfo25.test: Likewise.
* tests/txinfo28.test: Likewise.
* tests/txinfo3.test: Likewise.
* tests/txinfo33.test: Likewise.
* tests/version7.test: Likewise.
* tests/hfs.test: Likewise, plus cosmetic fixes.
---
ChangeLog | 60 ++++++++++++++++++++++++++++++++++++++++++++
tests/acloca13.test | 3 +-
tests/autohdr3.test | 4 +-
tests/autohdr4.test | 2 +-
tests/autohdr5.test | 2 +-
tests/conff.test | 4 +-
tests/confh5.test | 1 +
tests/config.test | 5 ++-
tests/distcleancheck.test | 2 +-
tests/distdir.test | 5 ++-
tests/distname.test | 2 +-
tests/fn99.test | 3 +-
tests/fn99subdir.test | 3 +-
tests/fort4.test | 2 +-
tests/fort5.test | 2 +-
tests/gnumake.test | 4 +-
tests/hfs.test | 21 +++++++++++---
tests/insthook.test | 3 +-
tests/java.test | 4 ++-
tests/java3.test | 3 +-
tests/libtoo10.test | 2 +-
tests/libtoo11.test | 2 +-
tests/libtool3.test | 4 +-
tests/lisp7.test | 3 +-
tests/ltlibsrc.test | 4 +-
tests/makej2.test | 3 +-
tests/man3.test | 3 +-
tests/man4.test | 3 +-
tests/output10.test | 3 +-
tests/output11.test | 3 +-
tests/output12.test | 3 +-
tests/output7.test | 3 +-
tests/output9.test | 3 +-
tests/parallel-tests5.test | 2 +-
tests/parallel-tests8.test | 1 +
tests/pr401.test | 2 +-
tests/pr401b.test | 4 +-
tests/pr401c.test | 2 +-
tests/pr87.test | 2 +-
tests/specflg10.test | 2 +-
tests/subcond2.test | 3 +-
tests/subcond3.test | 3 +-
tests/subobj10.test | 2 +-
tests/subobj5.test | 2 +-
tests/subpkg.test | 2 +-
tests/subpkg2.test | 3 +-
tests/subpkg3.test | 3 +-
tests/suffix13.test | 2 +-
tests/tar.test | 3 +-
tests/tar2.test | 3 +-
tests/txinfo13.test | 5 ++-
tests/txinfo16.test | 4 +-
tests/txinfo18.test | 4 +-
tests/txinfo22.test | 5 ++-
tests/txinfo23.test | 4 +-
tests/txinfo24.test | 4 +-
tests/txinfo25.test | 4 +-
tests/txinfo28.test | 4 +-
tests/txinfo3.test | 6 ++--
tests/txinfo33.test | 4 +-
tests/version7.test | 4 +-
61 files changed, 181 insertions(+), 82 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 889e85d..6f06133 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,65 @@
2010-07-02 Stefano Lattarini <address@hidden>
+ Make sure all tests needing gzip require it explicitly.
+ * tests/acloca13.test ($required): Add "gzip".
+ * tests/autohdr3.test: Likewise.
+ * tests/autohdr4.test: Likewise.
+ * tests/autohdr5.test: Likewise.
+ * tests/conff.test: Likewise.
+ * tests/config.test: Likewise.
+ * tests/distcleancheck.test: Likewise.
+ * tests/distdir.test: Likewise.
+ * tests/distname.test: Likewise.
+ * tests/fn99.test: Likewise.
+ * tests/fn99subdir.test: Likewise.
+ * tests/fort4.test: Likewise.
+ * tests/fort5.test: Likewise.
+ * tests/gnumake.test: Likewise.
+ * tests/insthook.test: Likewise.
+ * tests/java.test: Likewise.
+ * tests/java3.test: Likewise.
+ * tests/libtoo10.test: Likewise.
+ * tests/libtoo11.test: Likewise.
+ * tests/libtool3.test: Likewise.
+ * tests/lisp7.test: Likewise.
+ * tests/ltlibsrc.test: Likewise.
+ * tests/makej2.test: Likewise.
+ * tests/man3.test: Likewise.
+ * tests/man4.test: Likewise.
+ * tests/output10.test: Likewise.
+ * tests/output11.test: Likewise.
+ * tests/output12.test: Likewise.
+ * tests/output7.test: Likewise.
+ * tests/output9.test: Likewise.
+ * tests/parallel-tests5.test: Likewise.
+ * tests/pr401.test: Likewise.
+ * tests/pr401b.test: Likewise.
+ * tests/pr401c.test: Likewise.
+ * tests/pr87.test: Likewise.
+ * tests/specflg10.test: Likewise.
+ * tests/subcond2.test: Likewise.
+ * tests/subcond3.test: Likewise.
+ * tests/subobj10.test: Likewise.
+ * tests/subobj5.test: Likewise.
+ * tests/subpkg.test: Likewise.
+ * tests/subpkg2.test: Likewise.
+ * tests/subpkg3.test: Likewise.
+ * tests/suffix13.test: Likewise.
+ * tests/tar.test: Likewise.
+ * tests/tar2.test: Likewise.
+ * tests/txinfo13.test: Likewise.
+ * tests/txinfo16.test: Likewise.
+ * tests/txinfo18.test: Likewise.
+ * tests/txinfo22.test: Likewise.
+ * tests/txinfo23.test: Likewise.
+ * tests/txinfo24.test: Likewise.
+ * tests/txinfo25.test: Likewise.
+ * tests/txinfo28.test: Likewise.
+ * tests/txinfo3.test: Likewise.
+ * tests/txinfo33.test: Likewise.
+ * tests/version7.test: Likewise.
+ * tests/hfs.test: Likewise, plus cosmetic fixes.
+
Clobber global CFLAGS etc. when requiring GNU compilers.
* tests/defs.in (require_compiler): Clobber global compiler flags
variables (e.g. CFLAGS, CXXFLAGS, ...) when requiring a GNU
diff --git a/tests/acloca13.test b/tests/acloca13.test
index 56a54eb..bb68f18 100755
--- a/tests/acloca13.test
+++ b/tests/acloca13.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2005, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
# Make sure changes to m4_included files also cause aclocal.m4 to change.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/autohdr3.test b/tests/autohdr3.test
index 8e9f079..a335995 100755
--- a/tests/autohdr3.test
+++ b/tests/autohdr3.test
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
# Check rebuild rules for autoheader.
-required=GNUmake
+required='GNUmake gzip'
. ./defs
set -e
diff --git a/tests/autohdr4.test b/tests/autohdr4.test
index 6129470..76e2294 100755
--- a/tests/autohdr4.test
+++ b/tests/autohdr4.test
@@ -18,7 +18,7 @@
# This should also work without GNU Make, but requires the GNU C compiler.
# Please keep this in sync with sister test 'autohdr4.test'.
-required=gcc
+required='gcc gzip'
. ./defs
set -e
diff --git a/tests/autohdr5.test b/tests/autohdr5.test
index 63dec6e..5b08bd4 100755
--- a/tests/autohdr5.test
+++ b/tests/autohdr5.test
@@ -18,7 +18,7 @@
# This should also work without GNU Make, ans with generic C compiler.
# Please keep this in sync with sister test 'autohdr4.test'.
-required=cc
+required='cc gzip'
. ./defs
set -e
diff --git a/tests/conff.test b/tests/conff.test
index 353cb8e..b4e3207 100755
--- a/tests/conff.test
+++ b/tests/conff.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
# Make sure rebuild rules work even when AC_CONFIG_FILES uses colons.
# Report from Alexander Turbov.
-required=GNUmake
+required='GNUmake gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/confh5.test b/tests/confh5.test
index febe000..9e6a9fc 100755
--- a/tests/confh5.test
+++ b/tests/confh5.test
@@ -16,6 +16,7 @@
# Make sure we do not distribute header sources when they are built.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/config.test b/tests/config.test
index bed9a92..32583ec 100755
--- a/tests/config.test
+++ b/tests/config.test
@@ -1,5 +1,6 @@
#! /bin/sh
-# Copyright (C) 1998, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 1998, 2000, 2001, 2002, 2003, 2010 Free Software
+# Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,7 +19,7 @@
# idea is that if config.h is in a subdir, and there is no Makefile in
# that subdir, then we want to build config.h as the top level.
-required=GNUmake
+required='GNUmake gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/distcleancheck.test b/tests/distcleancheck.test
index 3b32315..1f87726 100755
--- a/tests/distcleancheck.test
+++ b/tests/distcleancheck.test
@@ -17,7 +17,7 @@
# Make sure the suggested `distcleancheck_listfiles' in the manual works.
# The example Makefile.am we use is from the FAQ entry `distcleancheck'.
-required=cc
+required='cc gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/distdir.test b/tests/distdir.test
index af2d01a..396af99 100755
--- a/tests/distdir.test
+++ b/tests/distdir.test
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 1996, 2001, 2002, 2003, 2006, 2007, 2009 Free Software
-# Foundation, Inc.
+# Copyright (C) 1996, 2001, 2002, 2003, 2006, 2007, 2009, 2010 Free
+# Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -22,6 +22,7 @@
# Also test DISTFILES containing a directory and a file in it,
# and repeated directories.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/distname.test b/tests/distname.test
index 75a9707..301aa95 100755
--- a/tests/distname.test
+++ b/tests/distname.test
@@ -17,7 +17,7 @@
# Test of names in tar file.
# From Rainer Orth
-required=cc
+required='cc gzip'
. ./defs || Exit 1
cat > configure.in << 'END'
diff --git a/tests/fn99.test b/tests/fn99.test
index 982a989..9621940 100755
--- a/tests/fn99.test
+++ b/tests/fn99.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2004, 2008 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2008, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
# Check the filename-length-max=99 option.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/fn99subdir.test b/tests/fn99subdir.test
index 465f2af..fae0c1b 100755
--- a/tests/fn99subdir.test
+++ b/tests/fn99subdir.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,6 +17,7 @@
# PR 507: Check the filename-length-max=99 option
# in conjunction with AC_CONFIG_SUBDIRS.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/fort4.test b/tests/fort4.test
index fd488c9..b9d510d 100755
--- a/tests/fort4.test
+++ b/tests/fort4.test
@@ -16,7 +16,7 @@
# Test mixing Fortran 77 and Fortran (FC).
-required='fortran fortran77'
+required='fortran fortran77 gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/fort5.test b/tests/fort5.test
index 5bc0741..1b10933 100755
--- a/tests/fort5.test
+++ b/tests/fort5.test
@@ -16,7 +16,7 @@
# Test mixing Fortran 77 and Fortran (FC), libtool version.
-required='libtoolize fortran fortran77'
+required='libtoolize fortran fortran77 gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/gnumake.test b/tests/gnumake.test
index 72bfa66..864cbce 100755
--- a/tests/gnumake.test
+++ b/tests/gnumake.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
# Automake should not assume that make files are called Makefile.
# Report from Braden McDaniel.
-required=GNUmake
+required='GNUmake gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/hfs.test b/tests/hfs.test
index 8022729..ae3e551 100755
--- a/tests/hfs.test
+++ b/tests/hfs.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2004 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,16 +20,27 @@
# Darwin).
# Report from Peter O'Gorman.
-. ./defs
+required=gzip
+. ./defs || Exit 1
+
set -e
-echo AC_OUTPUT >>configure.in
+cat >> configure.in <<'END'
+AC_OUTPUT
+END
+
+cat > Makefile.am <<'END'
+EXTRA_DIST = CHANGELOG
+END
-: >CHANGELOG
-echo 'EXTRA_DIST = CHANGELOG' >Makefile.am
+: > CHANGELOG
$ACLOCAL
$AUTOCONF
$AUTOMAKE
+
./configure
+
$MAKE distcheck
+
+:
diff --git a/tests/insthook.test b/tests/insthook.test
index 5a82bd6..4fd8a44 100755
--- a/tests/insthook.test
+++ b/tests/insthook.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003, 2005, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2005, 2007, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
# Make sure the install-exec-hook example we give in the manual works.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/java.test b/tests/java.test
index d5210cd..939eecf 100755
--- a/tests/java.test
+++ b/tests/java.test
@@ -1,5 +1,6 @@
#! /bin/sh
-# Copyright (C) 1998, 2001, 2002, 2004, 2007 Free Software Foundation, Inc.
+# Copyright (C) 1998, 2001, 2002, 2004, 2007, 2010 Free Software
+# Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +17,7 @@
# Minimal test of Java functionality.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/java3.test b/tests/java3.test
index 7895769..d990a6a 100755
--- a/tests/java3.test
+++ b/tests/java3.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2004 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,6 +18,7 @@
# there are none.
# Report from Johannes Nicolai (PR/441).
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/libtoo10.test b/tests/libtoo10.test
index 718b30d..faf7623 100755
--- a/tests/libtoo10.test
+++ b/tests/libtoo10.test
@@ -17,7 +17,7 @@
# Make sure .libs directories are removed for _PROGRAMS.
# Report from Guillermo Ontañón.
-required='cc libtoolize'
+required='cc libtoolize gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/libtoo11.test b/tests/libtoo11.test
index 14bd3a6..9bd72ef 100755
--- a/tests/libtoo11.test
+++ b/tests/libtoo11.test
@@ -17,7 +17,7 @@
# Make sure config.lt is removed with Libtool 2.2.x's LT_OUTPUT.
# Report by Charles Wilson.
-required='cc libtoolize'
+required='cc libtoolize gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/libtool3.test b/tests/libtool3.test
index 869c177..6745997 100755
--- a/tests/libtool3.test
+++ b/tests/libtool3.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2002, 2004, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2004, 2009, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
# Try to build and package a program linked to a Libtool library.
# Also make sure we do not bloat the Makefile with unneeded rules.
-required='libtoolize cc'
+required='libtoolize cc gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/lisp7.test b/tests/lisp7.test
index cf52527..5a7562e 100755
--- a/tests/lisp7.test
+++ b/tests/lisp7.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2005 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
# Make sure that lisp_LISP also works when emacs is not installed.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/ltlibsrc.test b/tests/ltlibsrc.test
index 421b6f6..591bb3a 100755
--- a/tests/ltlibsrc.test
+++ b/tests/ltlibsrc.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
# Test to make sure a sensible default source for libraries is used.
-required='libtool cc'
+required='libtool cc gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/makej2.test b/tests/makej2.test
index e702999..3e0b99d 100755
--- a/tests/makej2.test
+++ b/tests/makej2.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,6 +18,7 @@
# without -B, it may reuse the same shell for separate commands in a
# rule, which can lead to interesting results.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/man3.test b/tests/man3.test
index b5afe0e..751f820 100755
--- a/tests/man3.test
+++ b/tests/man3.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
# PR 516: Prefer generated manpages to distributed ones.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/man4.test b/tests/man4.test
index aa86a9e..0ca5d82 100755
--- a/tests/man4.test
+++ b/tests/man4.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -31,6 +31,7 @@
# when developers ask users to try out a fix from VCS; the developers
themselves
# will usually have help2man installed (or should install it).
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/output10.test b/tests/output10.test
index a973559..a520af4 100755
--- a/tests/output10.test
+++ b/tests/output10.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,6 +18,7 @@
# This is comparable to output9.test, but testing Makefile rules.
# PR/411
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/output11.test b/tests/output11.test
index 9d5328b..efbf45c 100755
--- a/tests/output11.test
+++ b/tests/output11.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2005 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
# Make sure an AC_CONFIG_FILES ignore filenames with shell variables.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/output12.test b/tests/output12.test
index 2f8027c..12898e8 100755
--- a/tests/output12.test
+++ b/tests/output12.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2005 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
# Make sure an AC_CONFIG_FILES process filenames with AC_SUBST variables.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/output7.test b/tests/output7.test
index 878c091..5175cae 100755
--- a/tests/output7.test
+++ b/tests/output7.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,6 +17,7 @@
# Check for support for colon separated input files in AC_CONFIG_FILES,
# with sources in sub directories.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/output9.test b/tests/output9.test
index d4cf15a..a9ee76a 100755
--- a/tests/output9.test
+++ b/tests/output9.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
# Make sure an AC_CONFIG_FILES can have an AC_CONFIG_FILES output as input.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/parallel-tests5.test b/tests/parallel-tests5.test
index 9cb24f4..63b348c 100755
--- a/tests/parallel-tests5.test
+++ b/tests/parallel-tests5.test
@@ -21,7 +21,7 @@
# It merely serves as demonstration. :-)
parallel_tests=yes
-required='cc GNUmake'
+required='cc GNUmake gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/parallel-tests8.test b/tests/parallel-tests8.test
index 784e07f..8a3afae 100755
--- a/tests/parallel-tests8.test
+++ b/tests/parallel-tests8.test
@@ -25,6 +25,7 @@
# play. :-/
parallel_tests=yes
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/pr401.test b/tests/pr401.test
index adc115e..d0b8932 100755
--- a/tests/pr401.test
+++ b/tests/pr401.test
@@ -17,7 +17,7 @@
# Check support for AC_CONFIG_LIBOBJ_DIR vs LIBOBJS.
# (pr401b.test and pr401c.test do the same for LTLIBOBJS and ALLOCA)
-required=cc
+required='cc gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/pr401b.test b/tests/pr401b.test
index f7f6344..a60a829 100755
--- a/tests/pr401b.test
+++ b/tests/pr401b.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2006, 2007, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
# Check support for AC_CONFIG_LIBOBJ_DIR vs LTLIBOBJS.
# (pr401.test and pr401c.test do the same for LIBOBJS and ALLOCA)
-required='gcc libtoolize'
+required='gcc libtoolize gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/pr401c.test b/tests/pr401c.test
index e45baf0..3a783ad 100755
--- a/tests/pr401c.test
+++ b/tests/pr401c.test
@@ -17,7 +17,7 @@
# Check support for AC_CONFIG_LIBOBJ_DIR vs ALLOCA.
# (pr401.test and pr401b.test do the same for LIBOBJS and LTLIBOBJS)
-required=cc
+required='cc gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/pr87.test b/tests/pr87.test
index 3e715a6..c7a30d5 100755
--- a/tests/pr87.test
+++ b/tests/pr87.test
@@ -16,7 +16,7 @@
# Test for PR automake/87.
-required=cc
+required='cc gzip'
. ./defs || Exit 1
subdirs="foo bar"
diff --git a/tests/specflg10.test b/tests/specflg10.test
index 2f358b2..f72028e 100755
--- a/tests/specflg10.test
+++ b/tests/specflg10.test
@@ -16,7 +16,7 @@
# AM_DEFAULT_SOURCE_EXT
-required='cc c++'
+required='cc c++ gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/subcond2.test b/tests/subcond2.test
index 5086cd3..3fcb297 100755
--- a/tests/subcond2.test
+++ b/tests/subcond2.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,6 +18,7 @@
# SUBDIRS + AM_CONDITIONAL setup from the manual.
# Lots of lines here are duplicated in subcond3.test.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/subcond3.test b/tests/subcond3.test
index 3506d05..6582885 100755
--- a/tests/subcond3.test
+++ b/tests/subcond3.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,6 +18,7 @@
# SUBDIRS + AC_SUBST setup from the manual.
# Lots of lines here are duplicated in subcond2.test.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/subobj10.test b/tests/subobj10.test
index e902897..759f67f 100755
--- a/tests/subobj10.test
+++ b/tests/subobj10.test
@@ -16,7 +16,7 @@
# PR 492: Test asm subdir-objects.
-required=cc
+required='cc gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/subobj5.test b/tests/subobj5.test
index 5049c42..d9cb61b 100755
--- a/tests/subobj5.test
+++ b/tests/subobj5.test
@@ -17,7 +17,7 @@
# Test of subdir make dist rules.
# From Robert Collins
-required=cc
+required='cc gzip'
. ./defs || Exit 1
cat > configure.in << 'END'
diff --git a/tests/subpkg.test b/tests/subpkg.test
index 5571bce..d39d62e 100755
--- a/tests/subpkg.test
+++ b/tests/subpkg.test
@@ -17,7 +17,7 @@
# Check subpackage handling.
-required='cc bison'
+required='cc bison gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/subpkg2.test b/tests/subpkg2.test
index ebbc69b..7843d5c 100755
--- a/tests/subpkg2.test
+++ b/tests/subpkg2.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,6 +17,7 @@
# Try a DIST_SUBDIRS subpackage with no SUBDIRS.
# Report from Gary V. Vaughan.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/subpkg3.test b/tests/subpkg3.test
index d57ee37..f5f7512 100755
--- a/tests/subpkg3.test
+++ b/tests/subpkg3.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
# make sure different subpackages may share files and directories.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/suffix13.test b/tests/suffix13.test
index 719ed12..dffb0c3 100755
--- a/tests/suffix13.test
+++ b/tests/suffix13.test
@@ -23,7 +23,7 @@
# and subdir objects.
# Reported by Florian Briegel.
-required=cc
+required='cc gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/tar.test b/tests/tar.test
index dc5353c..32207df 100755
--- a/tests/tar.test
+++ b/tests/tar.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2004, 2008 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2008, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
# Check the tar-ustar option.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/tar2.test b/tests/tar2.test
index e62f0cc..2035969 100755
--- a/tests/tar2.test
+++ b/tests/tar2.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2004 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
# Check the tar-pax option.
+required=gzip
. ./defs || Exit 1
set -e
diff --git a/tests/txinfo13.test b/tests/txinfo13.test
index 81b39e4..b3cc231 100755
--- a/tests/txinfo13.test
+++ b/tests/txinfo13.test
@@ -1,5 +1,6 @@
#! /bin/sh
-# Copyright (C) 2002, 2003, 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2006, 2007, 2010 Free Software Foundation,
+# Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,7 +19,7 @@
# Also make sure we do not distribute too much foo.info* files (Report
# from Vincent Lefevre)
-required='makeinfo tex texi2dvi-o'
+required='makeinfo tex texi2dvi-o gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/txinfo16.test b/tests/txinfo16.test
index 66ed686..714677a 100755
--- a/tests/txinfo16.test
+++ b/tests/txinfo16.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2002, 2003, 2008 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2008, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
# Check that info files are not built in $(srcdir).
-required='makeinfo tex texi2dvi'
+required='makeinfo tex texi2dvi gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/txinfo18.test b/tests/txinfo18.test
index 4df5257..85a40c9 100755
--- a/tests/txinfo18.test
+++ b/tests/txinfo18.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2002, 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2008, 2009, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
# Only *new* indexes need to be declared at the top-level.
# PR/375.
-required='makeinfo tex texi2dvi'
+required='makeinfo tex texi2dvi gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/txinfo22.test b/tests/txinfo22.test
index 3c2265d..6250394 100755
--- a/tests/txinfo22.test
+++ b/tests/txinfo22.test
@@ -1,5 +1,6 @@
#! /bin/sh
-# Copyright (C) 2003, 2004, 2007, 2008 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2007, 2008, 2010 Free Software Foundation,
+# Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,7 +21,7 @@
# but preserve them in the output.
# Also make sure TEXINFO_TEX is not distributed.
-required='makeinfo tex texi2dvi'
+required='makeinfo tex texi2dvi gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/txinfo23.test b/tests/txinfo23.test
index 903e681..9b7946a 100755
--- a/tests/txinfo23.test
+++ b/tests/txinfo23.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2007, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
# Check for subdir Texinfo in $(srcdir).
# (Similar to txinfo13.test, plus DISTCLEANFILES.)
-required='makeinfo tex texi2dvi-o'
+required='makeinfo tex texi2dvi-o gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/txinfo24.test b/tests/txinfo24.test
index 4c0bc82..757dd27 100755
--- a/tests/txinfo24.test
+++ b/tests/txinfo24.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
# Check that info files are built in builddir when needed.
# (Similar to txinfo16.test, plus CLEANFILES.)
-required='makeinfo tex texi2dvi-o'
+required='makeinfo tex texi2dvi-o gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/txinfo25.test b/tests/txinfo25.test
index 85007f9..a470c4a 100755
--- a/tests/txinfo25.test
+++ b/tests/txinfo25.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
# Similar to texinfo24.test, but with two info files, only one of
# which being cleaned.
-required='makeinfo tex texi2dvi-o'
+required='makeinfo tex texi2dvi-o gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/txinfo28.test b/tests/txinfo28.test
index 1fd702b..8b9607a 100755
--- a/tests/txinfo28.test
+++ b/tests/txinfo28.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2005, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
# Similar to txinfo24.test, but obfuscating filenames with variable references.
# Report from Ralf Corsepius.
-required='makeinfo tex texi2dvi-o'
+required='makeinfo tex texi2dvi-o gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/txinfo3.test b/tests/txinfo3.test
index dcdfcfa..09cc996 100755
--- a/tests/txinfo3.test
+++ b/tests/txinfo3.test
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 1997, 2001, 2002, 2003, 2008 Free Software Foundation,
-# Inc.
+# Copyright (C) 1997, 2001, 2002, 2003, 2008, 2010 Free Software
+# Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
# Test to make sure .info-less @setfilename works.
-required='makeinfo tex texi2dvi'
+required='makeinfo tex texi2dvi gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/txinfo33.test b/tests/txinfo33.test
index 4657a94..4a36995 100755
--- a/tests/txinfo33.test
+++ b/tests/txinfo33.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2009, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
# DVIS, PDFS, PSS, HTMLS should not be cleaned upon `mostlyclean'.
# Similar to txinfo25.test.
-required='makeinfo tex texi2dvi-o dvips'
+required='makeinfo tex texi2dvi-o dvips gzip'
. ./defs || Exit 1
set -e
diff --git a/tests/version7.test b/tests/version7.test
index 4df84ed..7dc0c22 100755
--- a/tests/version7.test
+++ b/tests/version7.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2002, 2008 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2008, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
# is to make sure Makefile.ins get rebuilt when a m4_included file
# changes -- we don't support this feature on non-GNU Makes).
-required='makeinfo tex texi2dvi GNUmake'
+required='makeinfo tex texi2dvi GNUmake gzip'
. ./defs || Exit 1
set -e
--
1.6.5
- [PATCH 04/14] Make sure all tests needing C compiler require it explicitly., (continued)
- [PATCH 04/14] Make sure all tests needing C compiler require it explicitly., Stefano Lattarini, 2010/07/02
- [PATCH 05/14] New requirement "c++" for tests using a C++ compiler., Stefano Lattarini, 2010/07/02
- [PATCH 06/14] Fix `silent*.test' for C++ compilers with "weird" names., Stefano Lattarini, 2010/07/02
- [PATCH 07/14] Make sure silent*.test work with non-GNU C compilers., Stefano Lattarini, 2010/07/02
- [PATCH 08/14] Fixes/renamings for "synced tests" among `silent*.test'., Stefano Lattarini, 2010/07/02
- [PATCH 09/14] Refactor code requiring compilers in testsuite., Stefano Lattarini, 2010/07/02
- [PATCH 10/14] Tests: new requirements "fortran" and "fortran77", Stefano Lattarini, 2010/07/02
- [PATCH 11/14] Fix code for requiring gfortran in tests., Stefano Lattarini, 2010/07/02
- [PATCH 12/14] Refactor code requiring compilers in testsuite., Stefano Lattarini, 2010/07/02
- [PATCH 13/14] Clobber global CFLAGS etc. when requiring GNU compilers., Stefano Lattarini, 2010/07/02
- Re: [PATCH 0/14] Fix/improve requirements declaration for test scripts.,
Stefano Lattarini <=
- [PATCH 14/14] Make sure all tests needing gzip require it explicitly., Stefano Lattarini, 2010/07/02