fixed: do not build test_parallelwellinfo.cpp twice

mark the parallel test NO_COMPILE and specify the binary
This commit is contained in:
Arne Morten Kvarving 2021-04-30 17:00:20 +02:00
parent aa1df1352f
commit ed1b36e836

View File

@ -279,14 +279,13 @@ opm_add_test(test_gatherdeferredlogger
)
opm_add_test(test_parallelwellinfo_mpi
DEPENDS "opmsimulators"
LIBRARIES opmsimulators ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}
SOURCES
tests/test_parallelwellinfo.cpp
EXE_NAME
test_parallelwellinfo
CONDITION
MPI_FOUND AND Boost_UNIT_TEST_FRAMEWORK_FOUND
DRIVER_ARGS
4 ${PROJECT_BINARY_DIR}
NO_COMPILE
)
include(OpmBashCompletion)