* Ralf Wildenhues wrote on Sat, Jun 12, 2010 at 12:52:19PM CEST: > New Autotest testsuite option --recheck. > > * lib/autotest/general.m4 (AT_INIT): New variable $at_recheck. > Escape hyphen in $at_dir early. Accept command line switch > --recheck. Set $at_suite_log early, based on --directory > switch; with --recheck, include the list of FAILed and XPASSed > tests from old testsuite.log file in $at_groups. Document > --recheck in --help output. > * tests/autotest.at (recheck): New test. > * doc/autoconf.texi (testsuite Invocation): Document --recheck. > * NEWS: Update.
FYI, the nontrivial bit of this patch is the double initialization of at_suite_log (and related move of $at_dir handling): first time it may be relative, and we haven't done the `cd $at_dir' step yet, the second time it will be absolute. We cannot easily move the cd step up because its failure shouldn't happen with something like ./testsuite -C nonexistent --help This is covered in the test suite, luckily. :-) Cheers, Ralf
