aboutsummaryrefslogtreecommitdiffstats
path: root/src/extra_tests/timing/testsuite.sh
blob: 186624c4662cc750f67e9fdf70aa7a30d4999f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

cd timing-tests
make
./main

zipdate=$(date +%d-%H-%M)
zipfile="${zipdate}-results.zip"
zip -r $zipfile results

cd ..
cd mona-timing-report

for dir in ../timing-tests/results/*; 
do
    echo "Working in directory: " $dir
    for file in $dir/*;
    do
        echo "Creating report for: " $file
        java -jar ReportingTool.jar --inputFile=$file --name=$file --lowerBound=0.4 --upperBound=0.5
        rm $file
    done
done