diff options
author | fche <fche> | 2005-08-21 12:11:41 +0000 |
---|---|---|
committer | fche <fche> | 2005-08-21 12:11:41 +0000 |
commit | 5e309481a22d06f4565cb3cb751d0679db0595a7 (patch) | |
tree | e0715d1df3a3c0c6907927d84e938023c82b106d /runtest.sh | |
parent | c03e045877248e394ec05921b672c066bdba5696 (diff) | |
download | systemtap-steved-5e309481a22d06f4565cb3cb751d0679db0595a7.tar.gz systemtap-steved-5e309481a22d06f4565cb3cb751d0679db0595a7.tar.xz systemtap-steved-5e309481a22d06f4565cb3cb751d0679db0595a7.zip |
2005-08-21 Frank Ch. Eigler <fche@redhat.com>
PR systemtap/1195, systemtap/1193
* elaborate.cxx (alias_expansion_builder): Set new block token.
* parse.cxx (parse_symbol): Set new target_symbol token.
* runtest.sh: Store more pertinent failure data.
* tapsets.cxx (emit_probe_entries): Rewrite error-handling path.
* translate.cxx (emit_common_header): Goodbye errorcount, hello
last_error & last_stmt.
(c_unparser::visit_statement): New "header" for all other stmts.
(c_assignop, visit_binary_expression): Adapt to last_error.
* tapset/builtin_logging.stp: Adapt to last_error.
2005-08-21 Frank Ch. Eigler <fche@redhat.com>
* arith.c (*): Adapt to last_error context variable.
Diffstat (limited to 'runtest.sh')
-rwxr-xr-x | runtest.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -18,16 +18,19 @@ export SYSTEMTAP_RUNTIME dn=`dirname $1` logfile=testsuite/`basename $dn`-`basename $1` +env | grep SYSTEMTAP > $logfile.cmd +echo "$@" >> $logfile.cmd eval $@ >$logfile.out 2>$logfile.err rc=$? +echo "rc=$rc" > $logfile.rc if expr $1 : '.*ok/.*' >/dev/null; then if [ $rc -eq 0 ]; then - rm -f $logfile.out $logfile.err + rm -f $logfile.* fi else if [ $rc -eq 1 ]; then - rm -f $logfile.out $logfile.err + rm -f $logfile.* fi fi |