CU_ASSERT_*_FATAL() doesn't abort suite setup

CU_ASSERT_FATAL(0); during a suite setup function does not stop execution and return via the jump buffer.

The following code


CU_SUITE_SETUP() {
  CU_ASSERT_FATAL(0);
  return CUE_SUCCESS;
}

Should abort execution of the whole suite. Instead the setup function returns success and the suite is still executed despite the errors

Edited Sep 06, 2019 by Ian Norton
Assignee Loading
Time tracking Loading