summaryrefslogtreecommitdiffstats
path: root/newlib/testsuite
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-05-03 17:31:22 +0000
committerJeff Johnston <jjohnstn@redhat.com>2004-05-03 17:31:22 +0000
commit1c63798e1d04d7926e9ee4cc66c401f7f6d36b37 (patch)
tree0ba6d487cb0c46689d1ab5d839b81450d499429d /newlib/testsuite
parent20b0251ab3d62281dc4213a9a930883bcbf57cd5 (diff)
downloadcygnal-1c63798e1d04d7926e9ee4cc66c401f7f6d36b37.tar.gz
cygnal-1c63798e1d04d7926e9ee4cc66c401f7f6d36b37.tar.bz2
cygnal-1c63798e1d04d7926e9ee4cc66c401f7f6d36b37.zip
2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* testsuite/include/check.h (CHECK): Add flush of stdout.
Diffstat (limited to 'newlib/testsuite')
-rw-r--r--newlib/testsuite/include/check.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/testsuite/include/check.h b/newlib/testsuite/include/check.h
index df7f0cfa2..0072771e6 100644
--- a/newlib/testsuite/include/check.h
+++ b/newlib/testsuite/include/check.h
@@ -2,6 +2,7 @@
if (!(a)) \
{ \
printf ("Failed " #a " in <%s> at line %d\n", __FILE__, __LINE__); \
+ fflush(stdout); \
abort(); \
} \
}