Append $(EXEEXT) to programs that may be listed in TESTS.
commit3dae6da4163c0c1030e4cee8177d855049ca5f8a
authorAlexandre Duret-Lutz <adl@gnu.org>
Sun, 29 Jan 2006 17:35:12 +0000 (29 17:35 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sun, 29 Jan 2006 17:35:12 +0000 (29 17:35 +0000)
tree97eeb5c7ac3362c5fc55301f84d15dd136d0bc86
parent46b3563d63fffad5845e5a99d9e31597541ff870
Append $(EXEEXT) to programs that may be listed in TESTS.
Report from Simon Josefsson.

* automake.in (%known_programs): New global.
(initialize_per_input): Reset it.
(append_exeext): Take a predicate as first argument to select
the filename to rewrite.
(handle_programs): Fill %known_programs.
(handle_tests): Append $(EXEEXT) to all tests that are in
%known_programs.
(am_install_var): Update call to append_exeext.
* doc/automake.texi (EXEEXT): TESTS is also rewritten.
(Tests): More about the difference between check_PROGRAMS and TESTS.
Give an example of TEST_ENVIRONMENT.
* tests/cond32.test: Augment with a nested condition.
* tests/exeext4.test: Also check TESTS.
* tests/check5.test: New file.
* tests/Makefile.am (TESTS): Add check5.test.
ChangeLog
NEWS
automake.in
doc/automake.texi
doc/stamp-vti
doc/version.texi
tests/Makefile.am
tests/Makefile.in
tests/check5.test [copied from tests/exeext4.test with 64% similarity]
tests/cond32.test
tests/exeext4.test