Node:Autotest Logs, Previous:testsuite Scripts, Up:Using an Autotest Test Suite
When run, the test suite creates a log file named after itself, e.g., a
test suite named testsuite
creates testsuite.log
. It
contains a lot of information, usually more than maintainers actually
need, but therefore most of the time it contains all that is needed:
CC=my-home-grown-cc ./testsuite
. This results in the test suite
not knowing this change, hence (i) it can't report it to you, and (ii)
it cannot preserve the value of CC
for subsequent runs1. Autoconf faced exactly the same problem, and solved it by asking
users to pass the variable definitions as command line arguments.
Autotest requires this rule too, but has no means to enforce it; the log
then contains a trace of the variables the user changed.
ChangeLog
excerpts
ChangeLog
s found in the source
hierarchy. This is especially useful when bugs are reported against
development versions of the package, since the version string does not
provide sufficient information to know the exact state of the sources
the user compiled. Of course this relies on the use of a
ChangeLog
.
--version
of the tested
programs (see Writing testsuite.at, AT_TESTED
).
config.log
, as created by configure
,
are appended. It contains the configuration flags and a detailed report
on the configuration itself.
When a failure occurs, the test suite is rerun, verbosely, and the user is asked to ``play'' with this failure to provide better information. It is important to keep the same environment between the first run, and bug-tracking runs.