test cleanup
- do not print tracebacks if $GOTRACEBACK=0
- set GOTRACEBACK=0 during tests
- filter out pc numbers in errors
R=r
DELTA=70 (22 added, 30 deleted, 18 changed)
OCL=15618
CL=15642
diff --git a/test/run b/test/run
index dc429dd..3617301 100755
--- a/test/run
+++ b/test/run
@@ -15,6 +15,7 @@
export G=${A}g
export L=${A}l
+export GOTRACEBACK=0
failed=0
@@ -55,6 +56,9 @@
egrep -v '^(r[0-9a-z]+|[cfg]s) +0x' |
sed '/tmp.*Bus error/s/.*Bus/Bus/; /tmp.*Trace.BPT/s/.*Trace/Trace/
s!'$RUNFILE'!$RUNFILE!g
+ s/ PC=0x[0-9a-f]*/ PC=xxx/
+ s/^pc: 0x[0-9a-f]*/pc: xxx/
+ /^Trace\/breakpoint trap/d
/RUNFILE/ s/line 1: *[0-9]*/line 1: PID/' > run.out
case $failed in