File: dotests

package info (click to toggle)
sparskit 2.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 4,348 kB
  • sloc: fortran: 15,253; makefile: 260; sh: 136; ansic: 76
file content (144 lines) | stat: -rwxr-xr-x 3,100 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#!/bin/sh
#
# SPARSKIT script for making and running all test programs.
# Last modified: May 9, 1994.

make all
cd BLASSM
echo Making tests in BLASSM directory
make mvec.ex
make tester.ex
cd ..
cd FORMATS
echo Making tests in FORMATS directory
make un.ex
make fmt.ex
make rvbr.ex
cd ..
cd INFO
echo Making tests in INFO directory
make info1.ex
cd ..
cd INOUT
echo Making tests in INOUT directory
make chk.ex
make hb2ps.ex
make hb2pic.ex
cd ..
cd ITSOL
echo Making tests in ITSOL directory
make riters.ex
make rilut.ex
make riter2.ex
cd ..
cd MATGEN/FDIF
echo Making tests in MATGEN/FDIF directory
make gen5.ex
make genbl.ex
cd ../..
cd MATGEN/FEM
echo Making tests in MATGEN/FEM directory
make fem.ex
cd ../..
cd MATGEN/MISC
echo Making tests in MATGEN/MISC directory
make sobel.ex
make zlatev.ex
make markov.ex
cd ../..
cd UNSUPP/MATEXP
echo Making tests in UNSUPP/MATEXP directory
make exp.ex
make phi.ex
cd ../..

# run all test programs

cd BLASSM
echo Testing BLASSM/mvec.ex ---------------------------------------
./mvec.ex
echo Testing BLASSM/tester.ex ---------------------------------------
./tester.ex
cd ..
cd FORMATS
echo Testing FORMATS/un.ex ---------------------------------------
./un.ex
cat unary.mat
echo Testing FORMATS/fmt.ex ---------------------------------------
./fmt.ex
grep ERROR *.mat
ls -s *.mat
echo Testing FORMATS/rvbr.ex ---------------------------------------
./rvbr.ex
cd ..
cd INFO
echo Testing INFO/info1.ex ---------------------------------------
./info1.ex < saylr1
cd ..
cd INOUT
echo Testing INOUT/chk.ex ---------------------------------------
./chk.ex
echo Testing INOUT/hb2ps.ex ---------------------------------------
./hb2ps.ex < ../INFO/saylr1 > saylr1.ps
echo Testing INOUT/hb2pic.ex ---------------------------------------
./hb2pic.ex < ../INFO/saylr1 > saylr1.pic
cd ..
cd ITSOL
echo Testing ITSOL/riters.ex ---------------------------------------
./riters.ex
echo Testing ITSOL/rilut.ex ---------------------------------------
./rilut.ex
echo Testing ITSOL/riter2.ex ---------------------------------------
./riter2.ex < ../INFO/saylr1
cd ..
cd MATGEN/FDIF
echo Testing MATGEN/FDIF/gen5.ex ---------------------------------------
./gen5.ex << \EOF
10 10 1
testpt.mat
EOF
echo Testing MATGEN/FDIF/genbl.ex ---------------------------------------
./genbl.ex << \EOF
10 10 1
4
testbl.mat
EOF
cd ../..
cd MATGEN/FEM
echo Testing MATGEN/FEM/fem.ex ---------------------------------------
./fem.ex << \EOF
2
2
EOF
cat mat.hb
cd ../..
cd MATGEN/MISC
echo Testing MATGEN/MISC/sobel.ex ---------------------------------------
./sobel.ex << \EOF
10
EOF
echo Testing MATGEN/MISC/zlatev.ex ---------------------------------------
./zlatev.ex
cat zlatev1.mat
cat zlatev2.mat
cat zlatev3.mat
echo Testing MATGEN/MISC/markov.ex ---------------------------------------
./markov.ex << \EOF
10
EOF
cat markov.mat
cd ../..
cd UNSUPP/MATEXP
echo Testing UNSUPP/MATEXP/exp.ex ---------------------------------------
./exp.ex << \EOF
0.1
0.00001
10
EOF
echo Testing UNSUPP/MATEXP/phi.ex ---------------------------------------
./phi.ex << \EOF
0.1
0.00001
10
EOF
cd ../..