X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=config%2Ftap-driver.sh;fp=config%2Ftap-driver.sh;h=12742cae98cce9ba8ca838de4f2feb6bfd0250fb;hp=4254e2b3df1ba58cab562ca0208e46f4fe789844;hb=5b578e8ad0ca63f8544bf129950f8b94b0c39df5;hpb=6eca921cbd5435249e55f2ec9d4a50b171d09972 diff --git a/config/tap-driver.sh b/config/tap-driver.sh index 4254e2b..12742ca 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";