diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-03-15 21:04:53 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-03-15 21:04:53 +0000 |
commit | 5067ef29d4f4e5a7f589dc5c4c362621c2523da0 (patch) | |
tree | e40530df8659b2705c2e50affa62070687f986ee | |
parent | 3abc30d6a60e0f0aa17469916ef92ec12bdd555d (diff) | |
parent | dc0510ec17821f552b5be77d64ab40d3733b4703 (diff) | |
download | bionic-5067ef29d4f4e5a7f589dc5c4c362621c2523da0.tar.gz |
Merge "Flush all the streams if CHECK() fails." into main
-rw-r--r-- | tests/libs/CHECK.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libs/CHECK.h b/tests/libs/CHECK.h index 5870b0731..a5902337c 100644 --- a/tests/libs/CHECK.h +++ b/tests/libs/CHECK.h @@ -26,7 +26,7 @@ static inline void check_failure(const char* file, int line, const char* function, const char* failed_expression) { fprintf(stderr, "%s:%d: %s: assertion \"%s\" failed\n", file, line, function, failed_expression); - fflush(stderr); + fflush(NULL); abort(); } |