projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
progname: also set global program_invocation_name, when possible.
[gnulib.git]
/
tests
/
test-func.c
diff --git
a/tests/test-func.c
b/tests/test-func.c
index
7b49026
..
e55fcd5
100644
(file)
--- a/
tests/test-func.c
+++ b/
tests/test-func.c
@@
-22,15
+22,16
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
+#define ASSERT(expr)
\
+ do
\
+ {
\
+ if (!(expr))
\
+ {
\
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- abort (); \
- } \
- } \
+ fflush (stderr); \
+ abort (); \
+ } \
+ } \
while (0)
int
while (0)
int