mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
If Petsc option is not set then remove CMFD tests
This commit is contained in:
parent
6cad5af528
commit
6124f2d12f
1 changed files with 2 additions and 2 deletions
|
|
@ -231,12 +231,12 @@ enable_testing()
|
|||
file(GLOB_RECURSE TESTS ${CMAKE_CURRENT_SOURCE_DIR}/../tests/test_*.py)
|
||||
|
||||
# Check to see if PETSC is compiled for CMFD tests
|
||||
if (${PETSC_ENABLED} EQUAL FALSE)
|
||||
if (NOT ${PETSC_ENABLED})
|
||||
file(GLOB_RECURSE CMFD_TESTS ${CMAKE_CURRENT_SOURCE_DIR}/../tests/test_cmfd*.py)
|
||||
foreach(cmfd_test in ${CMFD_TESTS})
|
||||
list(REMOVE_ITEM TESTS ${cmfd_test})
|
||||
endforeach(cmfd_test)
|
||||
endif(${PETSC_ENABLED} EQUAL FALSE)
|
||||
endif(NOT ${PETSC_ENABLED})
|
||||
|
||||
# Loop through all the tests
|
||||
foreach(test ${TESTS})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue