Have added a new bool strict flag to the parsing functions, if the strict flag is set to false the parser will just skip lines with unknwon keywords, including pure garbage in the input. I.e. for a deck like: TABDIMS 1 1 1 / Crap - not a keyword at all -- Correctly formatted - unknown keyword IGNORED 0 1 / The parser will load the TABDIMS keyword correctly, and skip the rest.
14 lines
734 B
CMake
14 lines
734 B
CMake
add_definitions( -DKEYWORD_DIRECTORY="${PROJECT_SOURCE_DIR}/opm/parser/share/keywords/000_Eclipse100")
|
|
|
|
foreach(tapp CheckDeckValidity IntegrationTests ParseWellProbe
|
|
ParseTITLE ParseTOPS ParseWCONHIST ParseWellWithWildcards
|
|
ParsePORO ParsePLYVISC ParsePLYSHLOG ParseDATAWithDefault
|
|
ParseTVDP ParseDENSITY ParseVFPPROD ScheduleCreateFromDeck
|
|
CompletionsFromDeck ParseEND IncludeTest ParseEQUIL
|
|
ParseRSVD ParsePVTG ParsePVTO ParseSWOF BoxTest
|
|
ParseMULTREGT ParseSGOF EclipseGridCreateFromDeck NNCTests
|
|
ResinsightTest )
|
|
opm_add_test(run${tapp} SOURCES ${tapp}.cpp
|
|
LIBRARIES opmparser ${Boost_LIBRARIES})
|
|
endforeach()
|