mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -06:00
fixed: don't flag error if rfts are missing (most cases lack them)
This commit is contained in:
parent
12c38788bc
commit
9b8d2c0760
@ -17,6 +17,12 @@ copyToReferenceDir () {
|
||||
DIFF=1
|
||||
for filetype in $FILETYPES
|
||||
do
|
||||
# Don't flag as changed if both reference and result dir lack a file type
|
||||
# In particular to handle the optional RFT's
|
||||
if [ ! -f $WORKSPACE/$SRC_DIR$STEM.$filetype ] && [ ! -f $DST_DIR/$STEM.$filetype ]
|
||||
then
|
||||
continue
|
||||
fi
|
||||
diff -q "$WORKSPACE/$SRC_DIR$STEM.$filetype" "$DST_DIR/$STEM.$filetype"
|
||||
if test $? -ne 0
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user