Drop unused condition check
[pcp.git] / qa / 329
blobc921346891479748a9edf217851189006e36a14b
1 #! /bin/sh
2 # PCP QA Test No. 329
3 # Interp mode (similar to qa/090, but with purify) (see also 388)
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 # get standard filters
12 . ./common.product
13 . ./common.filter
14 . ./common.check
16 _filter()
18 $PCP_AWK_PROG '
19 BEGIN { skip = 1 }
20 / Purify / { skip = 0 }
21 /^FIU/ { skip = 2; next }
22 /^[^ ]/ && skip == 2 { skip = 0 }
23 skip == 0 { print }'
26 _check_purify src/interp0
28 status=1 # failure is the default!
29 trap "cd $here; rm -rf $tmp; exit \$status" 0 1 2 3 15
31 # real QA test starts here
32 _setup_purify src/interp0
34 for delta in 1 4 5 8 10
36 samples=`expr 80 / $delta`
37 [ $samples -gt 50 ] && samples=50
38 echo
39 echo "interpolate $samples, $delta seconds appart"
40 _run_purify -a $here/tmparch/interp -t 1 -s 50 \
41 | _filter
42 done
44 # all done
45 status=0
46 exit