Run the "gatherconvergencereport" test in parallel.

This commit is contained in:
Atgeirr Flø Rasmussen 2018-11-13 10:28:05 +01:00
parent 9fc272fb85
commit a9aacb7960
2 changed files with 13 additions and 1 deletions

View File

@ -117,6 +117,19 @@ if (HAVE_OPM_TESTS)
include (${CMAKE_CURRENT_SOURCE_DIR}/compareECLFiles.cmake)
endif()
opm_set_test_driver(${CMAKE_CURRENT_SOURCE_DIR}/tests/run-parallel-unitTest.sh "")
opm_add_test(test_gatherconvergencereport
DEPENDS "opmsimulators"
LIBRARIES opmsimulators ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}
SOURCES
tests/test_gatherconvergencereport.cpp
CONDITION
MPI_FOUND
DRIVER_ARGS
5 ${CMAKE_BINARY_DIR}
)
opm_add_test(flow
ONLY_COMPILE
ALWAYS_ENABLE

View File

@ -132,7 +132,6 @@ list (APPEND TEST_SOURCE_FILES
tests/test_block.cpp
tests/test_boprops_ad.cpp
tests/test_convergencereport.cpp
tests/test_gatherconvergencereport.cpp
tests/test_graphcoloring.cpp
tests/test_rateconverter.cpp
tests/test_span.cpp