ctest: only report make-level errors when no others are found
In !5266 (merged) we taught CTest to capture and report errors from the build command when using launchers.
This had the unintended side effect of reporting a separate build error containing the full build output when the build command returns non-zero. To fix this problem, we now only report build command errors from CTest launchers when no other more specific build errors are found.
Fixes: #23991 (closed)
Backport: release
Merge request reports
Activity
added area:ctest label
- Resolved by Brad King
@zackgalbreath please check the commit referenced in the description. It doesn't seem to exist.
added workflow:in-review label
changed milestone to %3.25.0
assigned to @brad.king
added 1 commit
- 0e695247 - ctest: only report make-level errors when no others are found
added 1 commit
- c85c0434 - ctest: only report make-level errors when no others are found
added workflow:nightly-testing label and removed workflow:in-review label
- Resolved by Brad King
@brad.king and @zackgalbreath,
Any chance this can be backported to 3.24 and go out in the next patch release 3.24.3? That would speed up the process for getting this fixed and deployed at SNL.
This is clearly a defect and therefore should be okay to put out in a patch release of 3.24.z as per:
which says:
- Patch version Z (x.y.Z | x > 0) MUST be incremented if only backwards compatible bug fixes are introduced. A bug fix is defined as an internal change that fixes incorrect behavior.
added 3 commits
-
c85c0434...e7fd69fa - 2 commits from branch
cmake:master
- 65260d6c - ctest: only report make-level errors when no others are found
-
c85c0434...e7fd69fa - 2 commits from branch
added triage:regression workflow:in-review labels and removed workflow:nightly-testing label
added workflow:nightly-testing label and removed workflow:in-review label