X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=config%2Ftap-driver.sh;h=756d20b704fec133d7c28152179dbc058eb84aa4;hb=68b66a256a54d32992dfefeaad11eea88b7df234;hp=2516e9c3f7053a6c8bfa6c46cd521f27a652e0c0;hpb=5cd6d0e5fa67c2bdd21dc153313618260595d7bc;p=babeltrace.git diff --git a/config/tap-driver.sh b/config/tap-driver.sh index 2516e9c3..756d20b7 100755 --- a/config/tap-driver.sh +++ b/config/tap-driver.sh @@ -273,6 +273,9 @@ function report(result, details) msg = msg " " details # Output on console might be colorized. print decorate_result(result) msg + # Flush stdout after each test result, this is useful when stdout + # is buffered, for example in a CI system. + fflush() # Log the result in the log file too, to help debugging (this is # especially true when said result is a TAP error or "Bail out!"). print result msg | "cat >&3";