tests: move all under the same hierarchy ('tests/' directory)
commitfbeda3da9d12736b3dcc6d1e11e9f2f09cf4ce96
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 18 Jan 2012 11:17:11 +0000 (18 12:17 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 18 Jan 2012 12:31:55 +0000 (18 13:31 +0100)
tree948997a0e5488f32f6cfb1aa7bc7244d670488e9
parent2a9862a89875f9060f95547b6fd4274c86738617
tests: move all under the same hierarchy ('tests/' directory)

This simplifies the organization of the Automake source tree and
reduces the (lamentably high) number of Makefiles in the Automake
build system by one.  It also makes the maintainer check that
verifies the consistency of list of tests more self-contained and
simpler.  Finally, it might be a first step forward the transition
to a non-recursive build system for automake (if we ever decide to
go down that road fully some day).

* lib/Automake/tests: All the '*.pl' tests in here moved ...
* tests/pm: ... into this new directory.
* lib/Automake/tests/Makefile.am: Remove, its meaningful
contents moved ...
* tests/Makefile.am: ... here, with obvious adjustments.
(test_subdirs): New variable, for the sake of the recipe
of 'maintainer-check-list-of-tests'.
* CheckListOfTests (maintainer-check-list-of-tests): Enhance
its recipe to make it able to deal with test script residing
in subdirectories.
* Makefile.am (maintainer-check-list-of-tests): Simplified.
(TEST_SUBDIRS): Remove, no more needed.
* tests/list-of-tests.mk (perl_TESTS): New variable, lists
the '.pl' tests just moved into 'tests/pm'.
(handwritten_TESTS): Add the contents of '$(perl_TESTS)'.
* lib/Automake/Makefile.am (SUBDIRS): Remove.
* configure.ac (AC_CONFIG_FILES): Update.
* .gitignore: Adjust.
14 files changed:
.gitignore
CheckListOfTests.am
Makefile.am
configure.ac
lib/Automake/Makefile.am
lib/Automake/tests/Makefile.am [deleted file]
tests/Makefile.am
tests/list-of-tests.mk
tests/pm/Condition-t.pl [moved from lib/Automake/tests/Condition-t.pl with 100% similarity]
tests/pm/Condition.pl [moved from lib/Automake/tests/Condition.pl with 100% similarity]
tests/pm/DisjConditions-t.pl [moved from lib/Automake/tests/DisjConditions-t.pl with 100% similarity]
tests/pm/DisjConditions.pl [moved from lib/Automake/tests/DisjConditions.pl with 100% similarity]
tests/pm/Version.pl [moved from lib/Automake/tests/Version.pl with 100% similarity]
tests/pm/Wrap.pl [moved from lib/Automake/tests/Wrap.pl with 100% similarity]