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:
2026-02-05 20:31:18 +00:00
parent 2ddddf5774
commit 0e6a43ec5f
2 changed files with 39 additions and 19 deletions

View File

@@ -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, ...) \