From 9b4e8fcb07896cb7f1643e5451ead9acda28b5db Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Tue, 30 Sep 2025 08:20:36 -0500 Subject: [PATCH] test/libmpv_common: fflush stdout and stderr in fail --- test/libmpv_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/libmpv_common.h b/test/libmpv_common.h index 841386e195..8b251eecf1 100644 --- a/test/libmpv_common.h +++ b/test/libmpv_common.h @@ -47,6 +47,8 @@ static inline void fail(const char *fmt, ...) vfprintf(stderr, fmt, va); va_end(va); } + fflush(stdout); + fflush(stderr); exit(1); }