diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-09-08 10:41:24 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-09-08 11:44:55 +0200 |
commit | e4777b8dc1a2c22247c6fc251bca06ee1d5acefe (patch) | |
tree | 9f6e2567e8e23078921668e04da57dcda8f73f4b /bootstrap | |
parent | 87fdf3a085980e3e7768909301ca2b711d33e429 (diff) | |
download | automake-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-x | bootstrap | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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. |