qa: update 660 to generate index.html, fixing pcp-testsuite runs
[pcp.git] / qa / 395
blob1474db438f5c6aafc9ee3529dc9b98050debed16
1 #!/bin/sh
2 # PCP QA Test No. 395
3 # Interp mode (similar to qa/097, but with valgrind) (see also 333)
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 environment, filters and checks
12 . ./common.product
13 . ./common.filter
14 . ./common.check
16 _check_valgrind
18 # can skip stdout from interp3 and these archives ...
19 # that's checked in 095
21 _filter()
23 $PCP_AWK_PROG '
24 BEGIN { skip = 1 }
25 /=== std err ===/ { skip = 0 }
26 skip == 0 { print }'
29 status=0 # success is the default!
30 $sudo rm -rf $tmp.* $seq.full
31 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
33 # real QA test starts here
34 for arch in tmparch/bigbin tmparch/mv-bigbin tmparch/noti-foo
36 echo
37 echo "=== $arch ==="
38 _run_valgrind src/interp4 -a $arch | _filter
39 done
41 # success, all done
42 exit