Reuse field and closure validation in a focused density-order test target

This commit is contained in:
2026-09-19 10:26:54 -04:00
parent c7383e12ff
commit d6554cae6b

View File

@@ -398,6 +398,16 @@ add_executable(tests
target_link_libraries(tests PRIVATE mean_field test_mod Catch2::Catch2 Boost::boost)
# Reuse the production contracts and closure Jacobian checks in order studies
# without compiling unrelated integration suites for every field configuration.
add_executable(density_order_contract_tests EXCLUDE_FROM_ALL
tests/test_main.cpp
tests/field/field_registry.cpp
tests/field/field_mfem.cpp
tests/quadrature/policy.cpp
tests/operators/prepared_barotropic_closure.cpp)
target_link_libraries(density_order_contract_tests PRIVATE mean_field test_mod Catch2::Catch2 Boost::boost)
# A deliberately opt-in API workbench. It is compiled explicitly during API
# verification but temporary user experiments do not break the default build.
add_executable(sandbox EXCLUDE_FROM_ALL sandbox.cpp)