-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmultiTest.sh
More file actions
executable file
·37 lines (36 loc) · 846 Bytes
/
multiTest.sh
File metadata and controls
executable file
·37 lines (36 loc) · 846 Bytes
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
#!/bin/zsh
for exp in "sym" "pub" "tcp"
do
if [[ $exp == "sym" ]]
then
range=(10 15 20 25)
dir="./experiments/NSSymmetricTests"
file="needhamSchroederSymmetricClassification.als"
elif [[ $exp == "pub" ]]
then
range=(10 15 20 25)
dir="./experiments/NSPublicKeyTests"
file="needhamSchroederPublicKeyClassification.als"
elif [[ $exp == "tcp" ]]
then
range=(7 8 9 10)
dir="./experiments/TCPTests"
file="tcpClassification.als"
fi
for pred in "default" "all"
do
mkdir $dir/$pred/
for scope in ${range[@]}
do
for x in 1
do
echo "$exp $pred $scope $x"
t="${exp}${pred}b${scope}run${x}"
mkdir $dir/$pred/$t
time ./build.sh $exp $pred $scope > $dir/$pred/$t/log.txt
mv ./alloy/$file $dir/$pred/$t/classification.als
echo $t
done
done
done
done