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