diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-08-05 12:08:20 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-08-05 12:29:18 +0200 |
commit | 4839ca9219b95a6155e4161438318ec0aca3aaef (patch) | |
tree | 8ca5b9cb5c3a79a8db71677b2f88907a32891466 /HACKING | |
parent | 5e3ae4e14a471a7c61ac75ffd6cd71659e81b07f (diff) | |
download | automake-4839ca9219b95a6155e4161438318ec0aca3aaef.tar.gz |
check: small cleanups and refactorings in test harness and drivers
* lib/tap-driver (yn): New subroutine, converts a boolean value to
a "yes" or "no" string.
(write_test_results): Use it, and related reformatting.
* lib/test-driver (trap): Also remove the `.trs' file on signals,
for extra safety.
(fatal): Remove this function, it's never used.
($logfile, $trsfile): Renamed ...
($log_file, $trs_file): ... to these, for clarity, and in order to
be more consistent with the `tap-driver' script.
Improve a couple of comments.
* automake.in (handle_tests): Don't define anymore the now-obsolete
make macro `$(TEST_LOGS_TMP)', nor add it to the list of files to
be removed upon "make mostlyclean".
* lib/am/check.am ($(TEST_SUITE_LOG)): New shell function `f_ok',
tells whether a path refers to an existing, regular, readable file.
Use it throughout.
(recheck): Be safer w.r.t. make implementation that run recipes
with `errexit' shell flag active.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions