From d6554cae6bd5b04673643f92fe0821aad3eeeeb6 Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Sat, 19 Sep 2026 10:26:54 -0400 Subject: [PATCH] Reuse field and closure validation in a focused density-order test target --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f7d751e..975fc6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)