Simplify handling of autotest tracing
commitb22c5fde553df0f101ede21b5a3cd302bc046da8
authorPaolo Bonzini <bonzini@gnu.org>
Sun, 12 Jul 2009 10:58:36 +0000 (12 12:58 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Mon, 13 Jul 2009 12:16:15 +0000 (13 14:16 +0200)
tree3ae41d9dad8e280d3aef87b3c7d86ba7afaf1673
parent87a4d6ae61e2a44ed2a72dba8226752a571cb9d4
Simplify handling of autotest tracing

* lib/autotest/general.m4 (at_fn_check_prepare_notrace): Use
$at_trace_echo.  Add new REASON argument.
(at_fn_check_prepare_trace): Do not call at_fn_check_prepare_notrace.
Use $at_check_filter_trace.
(at_fn_check_prepare_dynamic): Use at_fn_check_prepare_notrace.
(at_traceon): Initialize to ':'.
(at_traceoff): Remove, use 'set +x' instead throughout.
(at_check_filter_trace, at_trace_echo): New shell variables.
Initialize them if tracing is requested.
(_AT_DECIDE_TRACEABLE): Adjust call to at_fn_check_prepare_notrace.
ChangeLog
lib/autotest/general.m4