mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
add a third reference solution for the tutorial_coupled test
This commit is contained in:
parent
75cbe3f132
commit
bff2b8c72d
@ -78,8 +78,10 @@ case "$TEST_TYPE" in
|
|||||||
echo "######################"
|
echo "######################"
|
||||||
echo "# Comparing results"
|
echo "# Comparing results"
|
||||||
echo "######################"
|
echo "######################"
|
||||||
SIM_NAME=$(grep "Initializing problem" test-$RND.log | sed "s/.*\"\(.*\)\".*/\1/" | head -n1)
|
echo "RND: '$RND'"
|
||||||
NUM_TIMESTEPS=$(grep "Writing result" test-$RND.log | wc -l)
|
|
||||||
|
SIM_NAME=$(grep "Initializing problem" "test-$RND.log" | sed "s/.*\"\(.*\)\".*/\1/" | head -n1)
|
||||||
|
NUM_TIMESTEPS=$(grep "Writing result" "test-$RND.log" | wc -l)
|
||||||
TEST_RESULT=$(printf "%s-%05i" "$SIM_NAME" "$NUM_TIMESTEPS")
|
TEST_RESULT=$(printf "%s-%05i" "$SIM_NAME" "$NUM_TIMESTEPS")
|
||||||
TEST_RESULT=$(ls $TEST_RESULT.*)
|
TEST_RESULT=$(ls $TEST_RESULT.*)
|
||||||
rm "test-$RND.log"
|
rm "test-$RND.log"
|
||||||
@ -88,7 +90,6 @@ case "$TEST_TYPE" in
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "RND: '$RND'"
|
|
||||||
echo "Simulation name: '$SIM_NAME'"
|
echo "Simulation name: '$SIM_NAME'"
|
||||||
echo "Number of timesteps: '$NUM_TIMESTEPS'"
|
echo "Number of timesteps: '$NUM_TIMESTEPS'"
|
||||||
echo "Test result file: '$TEST_RESULT'"
|
echo "Test result file: '$TEST_RESULT'"
|
||||||
|
Loading…
Reference in New Issue
Block a user