From 3c65cbd54806efc5de77b7a743a3541aa7ab1b53 Mon Sep 17 00:00:00 2001
From: Philippe SWARTVAGHER <philippe.swartvagher@inria.fr>
Date: Tue, 21 Jan 2020 13:13:55 +0100
Subject: [PATCH] Force flush of stdout in new-testing for each line

In order to allow to watch live testing results, with tools like
`less +F`
---
 new-testing/run_list.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/new-testing/run_list.c b/new-testing/run_list.c
index 8961782e5..9c8a3e99e 100644
--- a/new-testing/run_list.c
+++ b/new-testing/run_list.c
@@ -927,5 +927,6 @@ run_print_line( const testing_t *test, const run_arg_list_t *arglist,
     }
 
     fprintf( stdout, "%s\n", str );
+    fflush(stdout);
     return;
 }
-- 
GitLab