blob: f060349b8a18036fd310acbd5bd583d9928101a9 (
plain)
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
|
#!/bin/sh
trap 'rm -f output script.sh' EXIT INT TERM
suite=$1
if [ -z "$suite" ] ; then
cppawk=./bin/cppawk ./testsuite.awk testcases
cppawk="./bin/cppawk --nobash" ./testsuite.awk testcases
fi
if [ -z "$suite" -o "$suite" = "case" ] ; then
cppawk=./bin/cppawk ./testsuite.awk testcases-case
cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk testcases-case
fi
if [ -z "$suite" -o "$suite" = "narg" ] ; then
cppawk=./bin/cppawk ./testsuite.awk testcases-narg
fi
if [ -z "$suite" -o "$suite" = "iter" ] ; then
cppawk=./bin/cppawk ./testsuite.awk testcases-iter
cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk testcases-iter
fi
if [ -z "$suite" -o "$suite" = "varg" ] ; then
cppawk=./bin/cppawk ./testsuite.awk testcases-varg
cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk testcases-varg
fi
if [ -z "$suite" -o "$suite" = "cons" ] ; then
cppawk=./bin/cppawk ./testsuite.awk testcases-cons
cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk -v skip=37,38 testcases-cons
fi
if [ -z "$suite" -o "$suite" = "field" ] ; then
cppawk=./bin/cppawk ./testsuite.awk testcases-field
cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk testcases-field
fi
if [ -z "$suite" -o "$suite" = "array" ] ; then
cppawk=./bin/cppawk ./testsuite.awk testcases-array
cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk -v skip=5,6 testcases-array
fi
|