Skip to content

CTest: Do not override exit code when pass regex match

Sylvain Joubert requested to merge sjoubert/cmake:exit_code_pass_regex into master

I've done some digging in the history and it looks like this was done on purpose here: 3480c252

However I failed to understand the reason behind that change. And, as mentioned in the associated bug report, the behavior is not consistent with the timeout and segfault cases.

Fixes #16551

Merge request reports