Run each test in a process-private subdirectory.
commit6806a6914e92d4fa4694ed98988beea5d5176484
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 10 Nov 2007 10:11:21 +0000 (10 11:11 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 10 Nov 2007 10:11:38 +0000 (10 11:11 +0100)
treea204fbf26da806f1c979b4c6d014a9466e5eb4a0
parentc975987c646797db459fd4c23a5e82877c79f46f
Run each test in a process-private subdirectory.

* tests/defs.in: Employ a trap to clean up at the end of the
test in case the test succeeded.  This needs to be revisited
because we would like to keep the output of XPASSing tests.
Also, note when we were interrupted by a signal.  Code taken
from Autoconf's _AC_INIT_PREPARE.
If $keep_testdirs is set, keep them even for successful tests.
* tests/Makefile.am (check-clean-local): New target.  Remove all
tests subdirs, but also make them writable first.  The latter
was already needed without per-test subdirs.
(distclean-local): Depend upon check-clean-local.
* tests/Makefile.in: Regenerate.
* tests/.cvsignore, tests/.gitignore: Adjust.
ChangeLog
HACKING
tests/.cvsignore
tests/.gitignore
tests/Makefile.am
tests/Makefile.in
tests/defs.in