Closed martinmoene closed 6 years ago
See Catch issue 1215: Catch Reports Exit Code 0 Even with Failed Tests
Change:
return for_test( specification, in, confirm( os, option ), option.repeat );
to:
auto const MaxExitCode = 255; return (std::min)( for_test( specification, in, confirm( os, option ), option.repeat ), MaxExitCode );
See Catch issue 1215: Catch Reports Exit Code 0 Even with Failed Tests
Change:
to: