5 extern const int __numCases;
8 void __printf(const char *szFormat, ...);
9 #define LOG(_a) __printf _a
11 #define LOG(_a) /* hollow log */
14 void __fail(const char *szMsg, const char *szCond, const char *szFile, int line);
15 void __prints(const char *s);
17 const char *__getSuiteName(void);
18 void __runSuite(void);
20 #define ASSERT(_a) (__numTests++, (_a) ? (void)0 : __fail("Assertion failed", #_a, __FILE__, __LINE__))
21 #define FAIL() FAILM("Failure")
22 #define FAILM(_a) __fail(_a, #_a, __FILE__, __LINE__)
26 #define UNUSED(_a) if (_a) { }
28 #if defined(PORT_HOST) || defined(SDCC_z80) || defined(SDCC_gbz80)
35 #if defined(SDCC_hc08)
40 #if defined(SDCC_pic16)