X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=config%2Ftap-driver.sh;h=21a59d57e00c5aab7ca217c02cd851cf43369838;hb=e7764d6723a2a21ffe5907f5b4c82770d7a57a25;hp=ee61fc1129630cd9deefbf3b448d69255a5a352c;hpb=a36b26b4511eded3dbaecaa3a154b5c212391a31;p=lttng-tools.git diff --git a/config/tap-driver.sh b/config/tap-driver.sh index ee61fc112..21a59d57e 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";