Node:testsuite Invocation, Next:Making testsuite Scripts, Previous:Writing testsuite.at, Up:Using Autotest
testsuite
ScriptsAutotest test suites support the following arguments:
--help
-h
--version
-V
--clean
-c
clean
Makefile targets.
--list
-l
By default all the tests are performed (or described with
--list
) in the default environment first silently, then
verbosely, but the environment, set of tests, and verbosity level can be
tuned:
variable=value
FOO=foo ./testsuite
as debugging scripts would then run in a
different environment.
The variable AUTOTEST_PATH
specifies the testing path to prepend
to PATH
. It handles specially relative paths (not starting with
/
): they are considered to be relative to the top level of the
package being built. All the directories are made absolute, first
starting from the top level build tree, then from the
source tree. For instance ./testsuite
AUTOTEST_PATH=tests:bin
for a /src/foo-1.0
source package built
in /tmp/foo
results in /tmp/foo/tests:/tmp/foo/bin
and
then /src/foo-1.0/tests:/src/foo-1.0/bin
being prepended to
PATH
.
number
number-number
number-
-number
--keywords=keywords
-k keywords
AT_SETUP
or AT_KEYWORDS
) match all the keywords
of the comma separated list keywords.
Running ./testsuite -k autoupdate,FUNC
will select all the tests
tagged with autoupdate
and FUNC
(as in
AC_CHECK_FUNC
, AC_FUNC_FNMATCH
etc.) while
./testsuite -k autoupdate -k FUNC
runs all the tests tagged with
autoupdate
or FUNC
.
--errexit
-e
--debug
: post test group clean up, debugging script generation,
and logging are inhibited. This option is meant for the full test
suite, it is not really useful for generated debugging scripts.
--verbose
-v
--debug
-d
--trace
-x