-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdotests.sh
31 lines (23 loc) · 1.04 KB
/
dotests.sh
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
#!/bin/sh
echo "=================================================================="
echo "Generating trees"
perl ./randsexp.pl 200 40000 0.1 > /tmp/SEXP.FAT
perl ./randsexp.pl 200 40000 0.25 > /tmp/SEXP.REGULAR
perl ./randsexp.pl 200 40000 0.4 > /tmp/SEXP.SKINNY
echo "=================================================================="
echo "Running ctorture tests..."
./ctorture -i 10000 < /tmp/SEXP.FAT
./ctorture -i 10000 < /tmp/SEXP.REGULAR
./ctorture -i 10000 < /tmp/SEXP.SKINNY
echo "=================================================================="
echo "Running torture tests..."
./ctorture -t -i 10000 < /tmp/SEXP.FAT
./ctorture -t -i 10000 < /tmp/SEXP.REGULAR
./ctorture -t -i 10000 < /tmp/SEXP.SKINNY
echo "=================================================================="
echo "Running readtests..."
./readtests
echo "=================================================================="
echo "Cleaning up..."
rm -f /tmp/SEXP.FAT /tmp/SEXP.REGULAR /tmp/SEXP.SKINNY
echo "=================================================================="