Skip to content

v5: Remove custom CTest pre-test build configuration#515

Merged
mathomp4 merged 1 commit intodevelopfrom
feature/v5-simplify-ctest
Feb 10, 2026
Merged

v5: Remove custom CTest pre-test build configuration#515
mathomp4 merged 1 commit intodevelopfrom
feature/v5-simplify-ctest

Conversation

@mathomp4
Copy link
Member

This pull request simplifies the test configuration by removing a custom CTest pre-test build step.

Previously, running ctest would automatically (re-)build the tests. But, ctest is not a builder, it's a tester. The right thing to do if you need to rebuild because you edited the test, is use cmake/make/ninja. For example with MAPL.generic.tests say, with this update running:

ctest -R generic

will not rebuild the tests if you change something. You'd need to positively run:

make MAPL.generic.tests

or:

ninja MAPL.generic.tests

or most generic:

cmake --build . --target MAPL.generic.tests

(assuming you are in your build directory). Use full path to build-dir if not.

@mathomp4 mathomp4 self-assigned this Feb 10, 2026
@mathomp4 mathomp4 added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label Feb 10, 2026
@mathomp4 mathomp4 requested a review from a team as a code owner February 10, 2026 14:54
@mathomp4 mathomp4 merged commit 0676726 into develop Feb 10, 2026
18 of 19 checks passed
@mathomp4 mathomp4 deleted the feature/v5-simplify-ctest branch February 10, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 diff The changes in this pull request have verified to be zero-diff with the target branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant