![]() Add a new proc cond_wrap, that can be used to replace the repetitive: ... if { $cond } { wrap { <body> } } else { <body> } ... with the shorter: ... cond_wrap $cond wrap { <body> } ... Tested on x86_64-linux. |
||
---|---|---|
.. | ||
capture-command-output.exp | ||
cond-wrap.exp | ||
dump-system-info.exp | ||
foreach_with_prefix.exp | ||
gdb-test.exp | ||
parse_options_args.exp | ||
string_to_regexp.exp |