summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-09-08 10:41:24 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-09-08 11:44:55 +0200
commite4777b8dc1a2c22247c6fc251bca06ee1d5acefe (patch)
tree9f6e2567e8e23078921668e04da57dcda8f73f4b /bootstrap
parent87fdf3a085980e3e7768909301ca2b711d33e429 (diff)
downloadautomake-e4777b8dc1a2c22247c6fc251bca06ee1d5acefe.tar.gz
testsuite: automatize generation of dependencies for tests
* tests/gen-test-deps: New script, automatically generates dependencies for the tests. * tests/Makefile.am (EXTRA_DIST): Distribute it. ($(srcdir)/tests-deps.am): New rule. (include $(srcdir)/tests-deps.am): New inclusion. Remove hand-written dependencies for tests. Other related updates. * tests/list-of-tests (tap_with_common_setup_TESTS, tap_other_TESTS): Delete, their content merged back into ... (handwritten_TESTS): ... this. * tests/.gitignore (tests-deps.am): New ignored file. * bootstrap: Generate `tests/tests-deps.am'.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap5
1 files changed, 4 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 9fab5f8ae..77509dcbb 100755
--- a/bootstrap
+++ b/bootstrap
@@ -103,11 +103,14 @@ dosubst m4/amversion.in m4/amversion.m4
# Create temporary replacement for automake.
dosubst automake.in automake.tmp
-# Create required makefile snippet.
+# Create required makefile snippets.
cd tests
$BOOTSTRAP_SHELL ./gen-wrap-tests > wrap-tests.tmp
chmod a-w wrap-tests.tmp
mv -f wrap-tests.tmp wrap-tests.am
+$PERL ./gen-tests-deps > tests-deps.tmp
+chmod a-w tests-deps.tmp
+mv -f tests-deps.tmp tests-deps.am
cd ..
# Run the autotools.