diff options
author | Juraj Somorovsky <[email protected]> | 2016-11-19 23:42:21 +0100 |
---|---|---|
committer | Juraj Somorovsky <[email protected]> | 2016-11-20 00:17:03 +0100 |
commit | 5848645d0726157a0a1ba8c811dc3d3567fc500e (patch) | |
tree | fe43ebc53ae8177aa63d180435f7801658ddc53c /src/extra_tests/timing/testsuite.sh | |
parent | 1e21b64bb96815ebadfab892a73094c758db142d (diff) |
Timing test suite with the mona timing library
Diffstat (limited to 'src/extra_tests/timing/testsuite.sh')
-rwxr-xr-x | src/extra_tests/timing/testsuite.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/extra_tests/timing/testsuite.sh b/src/extra_tests/timing/testsuite.sh new file mode 100755 index 000000000..186624c46 --- /dev/null +++ b/src/extra_tests/timing/testsuite.sh @@ -0,0 +1,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 |