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