autotest speed improvements
commit1020cacbe39468a2eadc64acd9371bcf81eab766
authorPaolo Bonzini <bonzini@gnu.org>
Sat, 6 Oct 2007 09:24:26 +0000 (6 11:24 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Sat, 6 Oct 2007 09:26:14 +0000 (6 11:26 +0200)
treec6ab667f795f60f28f187330bbb0a58ac5e24fb8
parentf0e5324fd58864143ac5cae3f59ece3dd7d37657
autotest speed improvements

2007-10-06  Paolo Bonzini  <bonzini@gnu.org>

* lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
at_func_check_skip, at_func_check_status, at_func_filter_trace,
at_func_log_failure shell functions.  Use test -s to avoid
useless diff invocations.
(AT_SETUP): Define AT_captured_files to empty.
(AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
(_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir.  Use all
the shell functions.

Signed-Off-By: Paolo Bonzini <bonzini@gnu.org>
ChangeLog
lib/autotest/general.m4