X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=config%2Ftap-driver.sh;h=65037ab65f5dfb03d729704d0132217b66091053;hb=3428a1b7bbd9e5a0ef06fbaf8e09e073ddcd7216;hp=32521614de9dd265fe3002d3aa462e62247499f9;hpb=bce066c49dc7413a1cb3d8df0ea829990b494202;p=lttng-tools.git 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";