mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Ewoms::start(): abort the run when encountering unknown parameters
This commit is contained in:
@@ -206,7 +206,6 @@ EndTime=100
|
||||
|
||||
InitialTimeStepSize=100 # first in-line comment
|
||||
|
||||
UndefinedParam = "blubb"; second in-line comment
|
||||
# full line comment
|
||||
; also a full line comment
|
||||
EOF
|
||||
@@ -216,6 +215,9 @@ EOF
|
||||
elif $TEST_BINARY --parameter-file="foobar.ini" 2>&1 > /dev/null; then
|
||||
echo "$TEST_BINARY does not abort even though the specified parameter file does not exist"
|
||||
exit 1
|
||||
elif $TEST_BINARY --undefined-param="bla" 2>&1 > /dev/null; then
|
||||
echo "$TEST_BINARY does not signal an error even though an undefined command line parameter was passed"
|
||||
exit 1
|
||||
elif $TEST_BINARY --foo 2>&1 > /dev/null; then
|
||||
echo "$TEST_BINARY accepts flag parameters besides --help"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user