summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-08-26 12:14:27 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-08-29 15:51:39 +0200
commitd3334a68d7291428d9c0178b60abe2d9d52c8fd6 (patch)
tree6108ffb8a76b96af1a324d0c2e9ba57ebf8428d3 /bootstrap
parentd4a102bec07f508ba1e509d6ee3ed960e377042b (diff)
downloadautomake-d3334a68d7291428d9c0178b60abe2d9d52c8fd6.tar.gz
tests: two single auxiliary scripts to run/generate wrapped tests
* tests/config-shell-tests.sh, tests/parallel-tests.sh, tests/gen-config-shell-tests, tests/gen-parallel-tests: Deleted, their roles taken over by ... * tests/wrap-tests.sh, tests/gen-wrap-tests: ... these new more general scripts. * tests/Makefile.am (EXTRA_DIST): Distribute the new scripts, and do not distribute the obsolete ones anymore. ($(srcdir)/parallel-tests.am, $(srcdir)/config-shell-tests.am): Do not include nor generate anymore, they have been superseded by ... ($(srcdir)/wrap-tests.am): ... this new fragment, automatically generated by `gen-wrap-tests'. (PTEST_LOG_COMPILER, SHTST_LOG_COMPILER): Delete, they are now defined in the new `wrap-tests.am' makefile fragment. (TEST_EXTENSIONS): Do not append to it anymore, that is now done by the new `wrap-tests.am' makefile fragment above. ($(parallel_tests:.ptest=.log), $(config_shell_tests:.shtst=.log), $(parallel_tests), $(config_shell_tests): Remove this dependencies, superseded by ... ($(wrap_TESTS), $(wrap_LOGS)): ... these ones. (MAINTAINERCLEANFILES): Delete, it's not used anymore. (TESTS): Do not contain anymore `$(config_shell_tests)' nor `$(parallel_tests)', contain `$(wrap_TESTS)' instead, as defined by `$(srcdir)/wrap-tests.am'. Other related minor edits and reorderings. * bootstrap, tests/.gitignore, tests/README: Update.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap11
1 files changed, 4 insertions, 7 deletions
diff --git a/bootstrap b/bootstrap
index 656fef707..9fab5f8ae 100755
--- a/bootstrap
+++ b/bootstrap
@@ -32,8 +32,6 @@ export AUTOCONF # might be used by aclocal and/or automake
export AUTOM4TE # ditto
: ${PERL=perl}
-BOOTSTRAP_MAKE=${BOOTSTRAP_MAKE-${MAKE-make}}
-
# Variables to substitute.
VERSION=`sed -ne '/AC_INIT/s/^[^[]*\[[^[]*\[\([^]]*\)\].*$/\1/p' configure.ac`
PACKAGE=automake
@@ -105,12 +103,11 @@ dosubst m4/amversion.in m4/amversion.m4
# Create temporary replacement for automake.
dosubst automake.in automake.tmp
-# Create required makefile snippets.
+# Create required makefile snippet.
cd tests
-$BOOTSTRAP_MAKE -s -f list-of-tests.mk print-list-of-tests \
- | $BOOTSTRAP_SHELL ./gen-parallel-tests > parallel-tests.am
-$BOOTSTRAP_MAKE -s -f list-of-tests.mk print-list-of-tests \
- | $BOOTSTRAP_SHELL ./gen-config-shell-tests > config-shell-tests.am
+$BOOTSTRAP_SHELL ./gen-wrap-tests > wrap-tests.tmp
+chmod a-w wrap-tests.tmp
+mv -f wrap-tests.tmp wrap-tests.am
cd ..
# Run the autotools.