Skip to content

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

Edited by Brad King

Merge request reports