X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=config%2Ftap-driver.sh;h=12742cae98cce9ba8ca838de4f2feb6bfd0250fb;hb=0ebe7f89845aefc7b62229bc35f118bfaf5a3f95;hp=4254e2b3df1ba58cab562ca0208e46f4fe789844;hpb=060577e34998f721439135e8fc533a0e52d98ff1;p=lttng-ust.git diff --git a/config/tap-driver.sh b/config/tap-driver.sh index 4254e2b3..12742cae 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";