mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
simplify cmake code for tuning tests
add a post command to the runSimulator script and use this to execute the unit test at the end of the run
This commit is contained in:
@@ -322,6 +322,13 @@ endmacro (tests_hook)
|
||||
# all setup common to the OPM library modules is done here
|
||||
include (OpmLibMain)
|
||||
|
||||
opm_add_test(test_tuning_xxxMBE
|
||||
SOURCES
|
||||
tests/test_tuning_XXXMBE.cpp
|
||||
LIBRARIES
|
||||
${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}
|
||||
ONLY_COMPILE)
|
||||
|
||||
if (HAVE_OPM_TESTS)
|
||||
include (${CMAKE_CURRENT_SOURCE_DIR}/compareECLFiles.cmake)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user