Skip to content

Commit e9212ac

Browse files
committed
Keep quantity-query registration before the preflight fence
Register the source-host quantity query test before the terminal fast-row validation block so the CI preflight contract remains pinned.
1 parent 24f75b9 commit e9212ac

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

‎tests/CMakeLists.txt‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8278,6 +8278,14 @@ if(PINEFORGE_BUILD_SOURCE_LAYER)
82788278
endif()
82798279
# --- CR-150 roster-pass-work end ---
82808280

8281+
# The default-size query belongs only to the source-host surface. Register it
8282+
# before the terminal fast-row validation block so that block remains the
8283+
# final CMake registration and its pinned contract stays valid.
8284+
if(PINEFORGE_BUILD_SOURCE_LAYER)
8285+
list(APPEND TEST_SOURCES test_default_entry_qty)
8286+
pineforge_add_unit_test(test_default_entry_qty)
8287+
endif()
8288+
82818289
foreach(_pf_fast_test IN LISTS PINEFORGE_PR_FAST_TESTS)
82828290
if(PINEFORGE_BUILD_SOURCE_LAYER AND (NOT TEST ${_pf_fast_test} OR NOT TARGET ${_pf_fast_test}))
82838291
message(FATAL_ERROR "PR fast row or executable is missing: ${_pf_fast_test}")
@@ -8306,9 +8314,3 @@ endforeach()
83068314
if(PINEFORGE_BUILD_SOURCE_LAYER)
83078315
add_custom_target(pineforge_pr_smoke DEPENDS ${PINEFORGE_PR_FAST_TESTS})
83088316
endif()
8309-
8310-
# The default-size query belongs only to the source-host surface.
8311-
if(PINEFORGE_BUILD_SOURCE_LAYER)
8312-
list(APPEND TEST_SOURCES test_default_entry_qty)
8313-
pineforge_add_unit_test(test_default_entry_qty)
8314-
endif()

0 commit comments

Comments
 (0)