Merge pull request #2841 from joakim-hove/register-tests-in-files

Register ecl io tests using the file list in CMakeLists_files.cmake
This commit is contained in:
Joakim Hove 2021-11-16 13:47:15 +01:00 committed by GitHub
commit b6ec75eeb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -297,11 +297,6 @@ if(ENABLE_ECL_INPUT)
${PROJECT_BINARY_DIR}/tests ${PROJECT_BINARY_DIR}/tests
) )
foreach(test test_EclIO test_EGrid test_ERft test_ERst test_ESmry test_EInit test_ExtESmry)
opm_add_test(${test} CONDITION ENABLE_ECL_INPUT AND Boost_UNIT_TEST_FRAMEWORK_FOUND
LIBRARIES ${_libs}
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/tests)
endforeach()
endif() endif()
# Install build system files and documentation # Install build system files and documentation

View File

@ -362,6 +362,13 @@ if(ENABLE_ECL_INPUT)
tests/test_ERsm.cpp tests/test_ERsm.cpp
tests/test_GuideRate.cpp tests/test_GuideRate.cpp
tests/test_RestartFileView.cpp tests/test_RestartFileView.cpp
tests/test_EclIO.cpp
tests/test_EGrid.cpp
tests/test_ERft.cpp
tests/test_ERst.cpp
tests/test_ESmry.cpp
tests/test_EInit.cpp
tests/test_ExtESmry.cpp
tests/parser/ACTIONX.cpp tests/parser/ACTIONX.cpp
tests/parser/ADDREGTests.cpp tests/parser/ADDREGTests.cpp
tests/parser/AquiferTests.cpp tests/parser/AquiferTests.cpp