test: wire up CTest integration and fix set -e abort in run_tests.sh#276
Merged
spe-ciellt merged 1 commit intodevelopfrom Feb 22, 2026
Merged
test: wire up CTest integration and fix set -e abort in run_tests.sh#276spe-ciellt merged 1 commit intodevelopfrom
spe-ciellt merged 1 commit intodevelopfrom
Conversation
- Add enable_testing() + add_subdirectory(test) to root CMakeLists.txt - New test/CMakeLists.txt: registers gerbv_regression_tests CTest test, sets GERBV, GERBV_SCHEMEINIT, and LD_LIBRARY_PATH via generator expressions so tests work from the build tree without installing - Populate testPresets in cmake/preset/base.json and linux-gnu-gcc.json so `ctest --preset linux-gnu-gcc` works - Fix set -e bug in run_tests.sh: append `|| true` to the three ImageMagick diagnostic commands in the failure block so the script no longer aborts at the first failing test - Add imagemagick to CI apt dependencies; add non-blocking Run tests step (continue-on-error: true) with -V so the full sub-test summary is always visible in CI logs - Replace test/README.txt (CVS/Makefile.am references) with test/README.md documenting CTest usage, env vars, Cairo version note, and how to add or regenerate tests Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
06895c7 to
8f6a2eb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ctest --preset linux-gnu-gccworks|| trueto the three ImageMagick diagnostic commands in the failure block so the script no longer aborts at the first failing test