2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* testsuite/include/check.h (CHECK): Add flush of stdout.
This commit is contained in:
parent
20b0251ab3
commit
1c63798e1d
|
@ -1,3 +1,7 @@
|
|||
2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
|
||||
|
||||
* testsuite/include/check.h (CHECK): Add flush of stdout.
|
||||
|
||||
2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
|
||||
|
||||
* libc/include/stdio.h (_ungetc_r): New prototype.
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
if (!(a)) \
|
||||
{ \
|
||||
printf ("Failed " #a " in <%s> at line %d\n", __FILE__, __LINE__); \
|
||||
fflush(stdout); \
|
||||
abort(); \
|
||||
} \
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue