Repository navigation
[#327] Honor BUILD_TESTING for test tooling and targets - #1742
Open
manishpatel00 wants to merge 1 commit into
Open
manishpatel00 wants to merge 1 commit into
manishpatel00 wants to merge 1 commit into
Conversation
Use CTest's existing option to skip test dependency discovery and the test directory when testing is disabled. Preserve default behavior and the fallback when Check is unavailable. Remove the premature Windows workflow and platform changes. This is preparation only; native Windows support remains outstanding. Signed-off-by: Manish Kumar <[email protected]>
manishpatel00
marked this pull request as ready for review
November 29, 2026 08:39
manishpatel00
force-pushed
the
issue327_windows_native
branch
2 times, most recently
from
November 29, 2026 20:39
88127f4 to
2096c60
Compare
ecleon26
self-requested a review
December 2, 2026 19:40
ecleon26
requested changes
Dec 2, 2026
ecleon26
left a comment
Collaborator
There was a problem hiding this comment.
The build fails and continue-on-error just hides it. Remove it, and get the build green before adding the workflow
manishpatel00
force-pushed
the
issue327_windows_native
branch
from
December 2, 2026 21:09
2096c60 to
623158f
Compare
Contributor
Author
|
@ecleon26 The Windows build failures are real, so I removed the premature workflow (including continue-on-error), Windows linker configuration and MAX_PATH override. I narrowed this PR to honoring BUILD_TESTING and removed the claim that it fixes #327. Tests-disabled production build, default test build/deque tests, missing-Check behavior and whitespace checks passed in the focused validation run. Rebased as one signed-off commit, 623158f. Native Windows support remains outstanding. |
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.
Related to #327; this preparation change does not implement native Windows support or close that issue.
Description
BUILD_TESTING=OFFstill discovers test dependencies and includes the test directory. Honor CTest's existing option so builds can omit test tooling and targets, while preserving the default test-enabled behavior and the existing fallback when Check is unavailable.Validation
Focused remote validation:
The Windows workflow and platform-specific changes have been removed. Native Windows support remains unfinished. Full upstream CI for this updated commit has not been verified.