From a8d3997c728549f84943ef74e9bb580c0ce462a6 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Mon, 15 Nov 2021 10:20:36 +0100 Subject: [PATCH] Register ecl io tests using the file list in CMakeLists_files.cmake --- CMakeLists.txt | 5 ----- CMakeLists_files.cmake | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ef8428d1..1b6e89216 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -300,11 +300,6 @@ if(ENABLE_ECL_INPUT) ${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() # Install build system files and documentation diff --git a/CMakeLists_files.cmake b/CMakeLists_files.cmake index 88be0379d..edbe68afe 100644 --- a/CMakeLists_files.cmake +++ b/CMakeLists_files.cmake @@ -354,6 +354,13 @@ if(ENABLE_ECL_INPUT) tests/test_ERsm.cpp tests/test_GuideRate.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/ADDREGTests.cpp tests/parser/AquiferTests.cpp