Lines Matching refs:result
85 static inline const char *TC_RESULT_TO_STR(int result) in TC_RESULT_TO_STR() argument
87 switch (result) { in TC_RESULT_TO_STR()
157 #define TC_END(result, fmt, ...) PRINT_DATA(fmt, ##__VA_ARGS__) argument
162 #define TC_END_PRINT(result, fmt, ...) PRINT_DATA(fmt, ##__VA_ARGS__); PRINT_LINE argument
164 #define TC_END_PRINT(result, fmt, ...) print_nothing(fmt) argument
170 #define Z_TC_END_RESULT(result, func) \ argument
172 TC_END_PRINT(result, " %s - %s in %u.%03u seconds\n", \
173 TC_RESULT_TO_STR(result), func, tc_spend_time/1000, \
179 #define TC_END_RESULT(result) \ argument
180 Z_TC_END_RESULT((result), __func__)
184 #define TC_END_RESULT_CUSTOM(result, func) \ argument
185 Z_TC_END_RESULT((result), func)
201 #define TC_SUITE_END(name, result) \ argument
203 if (result != TC_FAIL) { \
213 #define TC_END_POST(result) do { \ argument
215 posix_exit(result); \
218 #define TC_END_POST(result) argument
222 #define TC_END_REPORT(result) \ argument
226 TC_END(result, \
228 (result) == TC_PASS ? "SUCCESSFUL" : "FAILED"); \
229 TC_END_POST(result); \