comparison tests/uniconv/test-u32-conv-from-enc.c @ 9889:0be6f1ab456d

Flush the standard error stream before aborting.
author Bruno Haible <bruno@clisp.org>
date Fri, 11 Apr 2008 16:31:39 +0200
parents bbbbbf4cd1c5
children d604b921ed8d
comparison
equal deleted inserted replaced
9888:4552418ad371 9889:0be6f1ab456d
1 /* Test of conversion to UTF-32 from legacy encodings. 1 /* Test of conversion to UTF-32 from legacy encodings.
2 Copyright (C) 2007 Free Software Foundation, Inc. 2 Copyright (C) 2007-2008 Free Software Foundation, Inc.
3 3
4 This program is free software: you can redistribute it and/or modify 4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3 of the License, or 6 the Free Software Foundation; either version 3 of the License, or
7 (at your option) any later version. 7 (at your option) any later version.
31 do \ 31 do \
32 { \ 32 { \
33 if (!(expr)) \ 33 if (!(expr)) \
34 { \ 34 { \
35 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ 35 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
36 fflush (stderr); \
36 abort (); \ 37 abort (); \
37 } \ 38 } \
38 } \ 39 } \
39 while (0) 40 while (0)
40 41