Add 'testsuite -C dir'.
commitb91a600e7f2d9c72ab9865df88ec8e9a9aa02f1e
authorEric Blake <ebb9@byu.net>
Mon, 28 Jan 2008 13:57:46 +0000 (28 06:57 -0700)
committerEric Blake <ebb9@byu.net>
Mon, 28 Jan 2008 13:57:46 +0000 (28 06:57 -0700)
tree145015f5a4a5a4b582383bdba879cf307589e66d
parent7882bbbed4378bcca150db2514df7de38a58610d
Add 'testsuite -C dir'.

* lib/autotest/general.m4 (_AT_ARG_OPTION): Move missing argument
detection...
(AT_INIT) <PARSE_ARGS_END>: ...here, since -k always takes
argument.
<DEFAULTS>: Delay computation of variables based on $at_dir...
<PREPARE_TESTS>: ...to here, since -C can change $at_dir.
<TESTS>: Re-invoke via absolute name, since -C may be in effect.
<PARSE_ARGS>: Parse new option.
<HELP_TUNING>: Document it.
* tests/autotest.at (Choosing where testsuite is run): New test
for this feature.
(Keywords and ranges): Add test for missing -k argument.
* NEWS: Document this.
* doc/autoconf.texi (testsuite Invocation): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
NEWS
doc/autoconf.texi
lib/autotest/general.m4
tests/autotest.at