* tests/defs.in ($distdir): New variable, might be used in
testcases checking distribution-related features.
* tests/pr9.test: Use it.
* tests/subdir9.test: Likewise.
* tests/vtexi3.test: Add comment explaining why we redefine
$distdir in this test.
+2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ test defs: define default $distdir (help reducing duplication)
+ * tests/defs.in ($distdir): New variable, might be used in
+ testcases checking distribution-related features.
+ * tests/pr9.test: Use it.
+ * tests/subdir9.test: Likewise.
+ * tests/vtexi3.test: Add comment explaining why we redefine
+ $distdir in this test.
+
2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
depcomp: fix bugs in tests and in the depcomp script
me=`echo "$0" | sed -e 's,.*[\\/],,;s/\.test$//'`
+# This might be used in testcases checking distribution-related features.
+# Test scripts are free to override this if they need to.
+distdir=$me-1.0
+
APIVERSION='@APIVERSION@'
PATH_SEPARATOR='@PATH_SEPARATOR@'
$MAKE
$MAKE distcheck
-distdir=$me-1.0
-
gzip -d $distdir.tar.gz
tar tf $distdir.tar | $FGREP support
EXTRA_DIST = foo
EOF
-distdir=$me-1.0
-
$ACLOCAL
$AUTOCONF
$AUTOMAKE --copy --add-missing
set -e
+# We are going to override package version in AC_INIT, so we need
+# to redefine the name of the distdir as well.
distdir=$me-7.45.3a
# This should work without tex, texinfo or makeinfo