3 # Interp mode (similar to qa/095, but with purify) (see also 394)
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
20 /^===/ { print; next }
21 / Purify / { skip = 0 }
22 /^FIU/ { skip = 2; next }
23 /^[^ ]/ && skip == 2 { skip = 0 }
24 skip == 0 { print }' \
26 -e '/MLK/s/0x.*/ADDR/' \
27 -e 's/\[.*\]/[...]/' \
28 -e 's/__start/START /' \
29 -e 's/__istart/START /' \
30 -e '/Memory leaked:/s/([0-9][0-9.]*%)/(PERCENT)/g'
33 _check_purify src
/interp3
35 status
=1 # failure is the default!
36 trap "cd $here; rm -rf $tmp; exit \$status" 0 1 2 3 15
38 # real QA test starts here
39 _setup_purify src
/interp3
41 for arch
in tmparch
/bigbin
46 echo "=== $arch delta=$delta ==="
47 _run_purify
-a $here/$arch -t $delta | _filter
51 for arch
in tmparch
/noti-foo
53 for delta
in 0.5 1.0 2.0
56 echo "=== $arch delta=$delta ==="
57 _run_purify
-a $here/$arch -t $delta | _filter