Speed up execution of subset of testsuite.
commit2857151c768f2abb0ba53cb3416133c0628a6412
authorEric Blake <ebb9@byu.net>
Fri, 12 Oct 2007 15:29:10 +0000 (12 09:29 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 12 Oct 2007 15:29:10 +0000 (12 09:29 -0600)
treecedafd66aef23ea8a12b1e8a63bc8196026f30d9
parentcddf173dbce0fc03dc92776043d431c62ac9be11
Speed up execution of subset of testsuite.

* lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
(AT_INIT) <at_func_test>: New shell function.
(AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
(AT_INIT) <at_test_source> New variable, names file that holds
current test function definition.
(AT_SETUP): Start the shell function at_func_test_#, into the
TEST_FUNCTIONS diversion.
(AT_CLEANUP): End the shell function.  Simplify the TESTS
diversion to invoke the function.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/autotest/general.m4