Skip to content

Expose reusable test harness libraries - #237

Open
zayenz wants to merge 14 commits into
mainfrom
feature/test-library
Open

zayenz wants to merge 14 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 from 72d677a to 6c7b9ef Compare September 6, 2026 14:45
@zayenz
zayenz force-pushed the feature/test-library branch 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

This branch has not been deployed

No deployments
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