test_stream: setup prologue and epilogue as fake tests in the suite
Standard old test functions, but they don't call TEST_INIT or TEST_PASSED. They're placed at the start and at the end of the test array. Those macros just do printing anyway, so they're not necessary.
This commit is contained in:
@@ -16,6 +16,12 @@
|
||||
|
||||
#define TEST_INIT() printf("\t[%s]: Running...\n", __func__)
|
||||
#define TEST_PASSED() printf("\t[%s]: Passed\n", __func__)
|
||||
#define TEST_INFO(...) \
|
||||
do \
|
||||
{ \
|
||||
printf("\tINFO: "); \
|
||||
printf(__VA_ARGS__); \
|
||||
} while (0);
|
||||
|
||||
#if TEST_VERBOSE
|
||||
#define TEST(COND, ...) \
|
||||
|
||||
Reference in New Issue
Block a user