Skip to content

Expose reusable test harness libraries - #237

Merged
zayenz merged 13 commits into
mainfrom
feature/test-library
Oct 9, 2026
Merged

zayenz merged 13 commits into
mainfrom
feature/test-library

Conversation

@zayenz

@zayenz zayenz commented Sep 6, 2026 •

Copy link
Copy Markdown
Member

Expose Gecode's test harness as installed libraries and headers for downstream propagator projects. It provides registration, a runner, and integer/Boolean, set, and float test helpers, following the configured variable modules.

CMake and Autoconf support shared and static libraries; CMake exports the test component and matching test-library targets. Gecode's own test executable uses the same libraries. Failures report an exact iteration replay command.

API contracts and examples are in Doxygen; package consumption is in the existing CMake guide. Installed consumers and replay checks pass locally.

@zayenz
zayenz force-pushed the feature/test-library branch 2 times, most recently from fb004a5 to 606bc09 Compare September 10, 2026 07:00

@zayenz zayenz left a comment •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • configure_consumer() deleted the caller's entire build root. Cleanup now covers only its consumer subdirectory.
  • The direct compiler verifier rejected valid external toolchain flags. It now accepts them while still requiring installed paths and rejecting source-tree leakage.
  • Renamed the negative package check to reflect its unsupported-component case.
  • Documented replay's exact-name matching separately from ordinary pattern matching.

@zayenz
zayenz added this pull request to stack #251 October 5, 2026 13:22
@zayenz
zayenz force-pushed the feature/test-library branch from 9a7b8e6 to cd7125e Compare October 8, 2026 15:15
@zayenz
zayenz force-pushed the feature/test-library branch from cd7125e to a93b4a6 Compare October 9, 2026 06:23
@zayenz
zayenz merged commit 7238566 into main Oct 9, 2026
14 checks passed
@zayenz
zayenz deleted the feature/test-library branch October 9, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant