aboutsummaryrefslogtreecommitdiff
path: root/testmain.sh
blob: 8ea224eb55ff473145d33f7e414a244f48ca42ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
mkdir -p results
trials=5

for i in `seq 2 10`
do
    echo "logleaves "$i

    runs=$(echo '2^'"$i" | bc)

    echo "Doing "$trials"x"$runs" operations"
    for j in $(seq 1 $trials)
    do

        ./testall.sh $i $runs 2> results/run_"$i"_"$j".txt
        sleep .2

        # dummy
        ./testdummy.sh $i $runs 2> results/dummy_"$i"_"$j".txt
        sleep .2
    done
done