From: Stephen Seo Date: Mon, 6 Jan 2025 05:24:11 +0000 (+0900) Subject: Ensure start-of-unit-test-message is flushed X-Git-Tag: 1.11^2~15 X-Git-Url: https://git.seodisparate.com/tbm-edit-post-battle.jpg?a=commitdiff_plain;h=3fdc97d26549ed07869d4713c3d7a9ed9f291df3;p=SimpleArchiver Ensure start-of-unit-test-message is flushed --- diff --git a/src/data_structures/test.c b/src/data_structures/test.c index fe88bb1..c2732fc 100644 --- a/src/data_structures/test.c +++ b/src/data_structures/test.c @@ -111,6 +111,7 @@ void test_iter_fn_priority_heap(void *data, void *user_data) { int main(void) { puts("Begin data-structures unit test."); + fflush(stdout); // Test LinkedList. { diff --git a/src/test.c b/src/test.c index cde8699..c6b0773 100644 --- a/src/test.c +++ b/src/test.c @@ -63,6 +63,7 @@ static int32_t checks_passed = 0; int main(void) { puts("Begin unit test."); + fflush(stdout); // Test parser. {