Migrating Travis to 2012vs10 benchmark

This commit is contained in:
Michael Tryby
2018-04-13 15:52:52 -04:00
parent 0b70d87818
commit cfcba154a7
2 changed files with 5 additions and 3 deletions

View File

@@ -22,8 +22,8 @@
SCRIPT_HOME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TEST_HOME=$1
EXAMPLES_VER="1.0.0"
BENCHMARK_VER="2012"
EXAMPLES_VER="1.0.1"
BENCHMARK_VER="2012vs10"
TEST_URL="https://github.com/OpenWaterAnalytics/epanet-example-networks/archive/v${EXAMPLES_VER}.tar.gz"
BENCH_URL="https://github.com/OpenWaterAnalytics/epanet-example-networks/releases/download/v${EXAMPLES_VER}/epanet-benchmark-${BENCHMARK_VER}.tar.gz"

View File

@@ -19,6 +19,8 @@ run-nrtest()
return_value=0
test_suite_path=$1
benchmark_ver="2012vs10"
nrtest_execute_cmd="nrtest execute"
test_app_path="apps/epanet-$2.json"
@@ -26,7 +28,7 @@ tests="tests/examples tests/exeter tests/large tests/network_one tests/small tes
test_output_path="benchmark/epanet-$2"
nrtest_compare_cmd="nrtest compare"
ref_output_path="benchmark/epanet-2012"
ref_output_path="benchmark/epanet-${benchmark_ver}"
rtol_value=0.1
atol_value=0.0