Files
opm-simulators/jenkins/run-polymer.sh
Arne Morten Kvarving 4f779b7a01 add multiconfiguration support to jenkins build script
also unifies build.sh and build-pr.sh and gets rid of
build-opm-simulators.sh
2016-08-23 14:26:06 +02:00

17 lines
529 B
Bash
Executable File

#!/bin/bash
pushd .
cd deps/opm-data
# Run the simple2D polymer case
cd polymer_test_suite/simple2D
$WORKSPACE/$configuration/build-opm-simulators/bin/flow_polymer run.param
test $? -eq 0 || exit 1
cd ../..
# Compare OPM with eclipse reference
PYTHONPATH=$WORKSPACE/$configuration/install/lib/python2.7/dist-packages/ python output_comparator/src/compare_eclipse.py polymer_test_suite/simple2D/eclipse-simulation/ polymer_test_suite/simple2D/opm-simulation/ 2D_THREEPHASE_POLY_HETER 0.0006 0.004
test $? -eq 0 || exit 1
popd