X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=config%2Ftap-driver.sh;h=12742cae98cce9ba8ca838de4f2feb6bfd0250fb;hb=ebdebd0d0283188c8df3248efb0eb7444ae5a1b9;hp=4254e2b3df1ba58cab562ca0208e46f4fe789844;hpb=9d2dfb47d839eedb9e505201760e9af1899c9f7f;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";