From 5e309481a22d06f4565cb3cb751d0679db0595a7 Mon Sep 17 00:00:00 2001 From: fche Date: Sun, 21 Aug 2005 12:11:41 +0000 Subject: 2005-08-21 Frank Ch. Eigler 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 * arith.c (*): Adapt to last_error context variable. --- runtest.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'runtest.sh') diff --git a/runtest.sh b/runtest.sh index 1c548fa4..14bd87c6 100755 --- a/runtest.sh +++ b/runtest.sh @@ -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 -- cgit