1 2 3 4 5 6 7 8 9 10 | #define SS_END_CHECKING_WITH(_code_) \
} while (false); \
if (!_failed_checks) { \
if (_print) fprintf(_print, "passed: %-100s PASSED\n", _what); \
} else if (_failed_checks<0) { \
/* do nothing when skipping a test */ \
} else { \
_code_; \
} \
}
|