Skip to content

Commit 3d06a26

Browse files
committed
Remove N.S. test exe from all & don't add to ctest
Make it so that NS test can be built on supported platforms, but it must be specifically requested, i.e., it is excluded from the "all" target. In addition, remove it from the list of tests run by ctest. Fixes #297
1 parent 4476209 commit 3d06a26

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -424,12 +424,6 @@ if(opencoarrays_aware_compiler)
424424
add_mpi_test(coarray_burgers_pde 2 ${tests_root}/integration/pde_solvers/coarrayBurgers/coarray_burgers_pde)
425425
add_mpi_test(co_heat 2 ${tests_root}/integration/pde_solvers/coarrayHeatSimplified/co_heat)
426426
add_mpi_test(asynchronous_hello_world 3 ${tests_root}/integration/events/asynchronous_hello_world)
427-
if ( ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64") AND ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") )
428-
if ( (NOT (DEFINED ENV{TRAVIS})) AND (NOT SKIP_ASSEMBLY_DEPS) )
429-
add_mpi_test(coarray_navier_stokes 2 ${tests_root}/integration/pde_solvers/navier-stokes/coarray_navier_stokes)
430-
set_property(TEST coarray_navier_stokes PROPERTY PASS_REGULAR_EXPRESSION "Test passed.")
431-
endif()
432-
endif()
433427

434428
# Regression tests based on reported issues
435429
if(gfortran_compiler AND (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 7.0.0))

src/tests/integration/pde_solvers/navier-stokes/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ if ( ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64") AND ("${CMAKE_SYSTEM_NAME}"
1111
add_executable( coarray_navier_stokes
1212
coarray-shear_coll.F90
1313
${walltime_o}
14+
EXCLUDE_FROM_ALL
1415
)
1516
target_link_libraries(coarray_navier_stokes OpenCoarrays ${fft_library})
1617
endif()

0 commit comments

Comments
 (0)