X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=config%2Ftap-driver.sh;h=65037ab65f5dfb03d729704d0132217b66091053;hp=32521614de9dd265fe3002d3aa462e62247499f9;hb=ae0a823f9f7e1d3800479488a58efc2f92f27d89;hpb=bce066c49dc7413a1cb3d8df0ea829990b494202 diff --git a/config/tap-driver.sh b/config/tap-driver.sh index 32521614d..65037ab65 100755 --- a/config/tap-driver.sh +++ b/config/tap-driver.sh @@ -275,6 +275,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";