From e220635fc952c63b533873f2af39ec76aed4b4e3 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 11 Apr 2008 16:31:39 +0200 Subject: [PATCH] Flush the standard error stream before aborting. --- ChangeLog | 200 +++++++++++++++++++++++++++++ tests/test-argmatch.c | 3 +- tests/test-array_list.c | 3 +- tests/test-array_oset.c | 3 +- tests/test-avltree_list.c | 3 +- tests/test-avltree_oset.c | 3 +- tests/test-avltreehash_list.c | 3 +- tests/test-binary-io.c | 3 +- tests/test-byteswap.c | 3 +- tests/test-c-ctype.c | 3 +- tests/test-c-strcasecmp.c | 3 +- tests/test-c-strcasestr.c | 1 + tests/test-c-strncasecmp.c | 3 +- tests/test-c-strstr.c | 3 +- tests/test-canonicalize-lgpl.c | 3 +- tests/test-canonicalize.c | 3 +- tests/test-carray_list.c | 3 +- tests/test-ceilf1.c | 1 + tests/test-ceilf2.c | 3 +- tests/test-ceill.c | 3 +- tests/test-count-one-bits.c | 3 +- tests/test-fbufmode.c | 3 +- tests/test-fflush2.c | 1 + tests/test-floorf1.c | 1 + tests/test-floorf2.c | 3 +- tests/test-floorl.c | 3 +- tests/test-fopen.c | 3 +- tests/test-fpending.c | 3 +- tests/test-fprintf-posix.c | 3 +- tests/test-fpurge.c | 3 +- tests/test-freadable.c | 3 +- tests/test-freadahead.c | 1 + tests/test-freading.c | 3 +- tests/test-freadptr.c | 1 + tests/test-freadptr2.c | 1 + tests/test-freadseek.c | 1 + tests/test-freopen.c | 3 +- tests/test-frexp.c | 1 + tests/test-frexpl.c | 1 + tests/test-fseek.c | 1 + tests/test-fseeko.c | 1 + tests/test-fstrcmp.c | 3 +- tests/test-ftell.c | 1 + tests/test-ftello.c | 1 + tests/test-func.c | 17 +-- tests/test-fwritable.c | 3 +- tests/test-fwriting.c | 3 +- tests/test-getdelim.c | 3 +- tests/test-getline.c | 3 +- tests/test-i-ring.c | 3 +- tests/test-iconv-utf.c | 3 +- tests/test-iconv.c | 3 +- tests/test-isfinite.c | 3 +- tests/test-isnand.c | 1 + tests/test-isnanf.c | 1 + tests/test-isnanl.h | 3 +- tests/test-ldexpl.c | 3 +- tests/test-linked_list.c | 3 +- tests/test-linkedhash_list.c | 3 +- tests/test-localename.c | 1 + tests/test-lseek.c | 3 +- tests/test-mbscasecmp.c | 3 +- tests/test-mbscasestr1.c | 3 +- tests/test-mbscasestr2.c | 3 +- tests/test-mbscasestr3.c | 3 +- tests/test-mbscasestr4.c | 3 +- tests/test-mbschr.c | 3 +- tests/test-mbscspn.c | 3 +- tests/test-mbsncasecmp.c | 3 +- tests/test-mbspbrk.c | 3 +- tests/test-mbspcasecmp.c | 3 +- tests/test-mbsrchr.c | 3 +- tests/test-mbsspn.c | 3 +- tests/test-mbsstr1.c | 3 +- tests/test-mbsstr2.c | 3 +- tests/test-mbsstr3.c | 3 +- tests/test-memchr2.c | 1 + tests/test-memmem.c | 1 + tests/test-open.c | 3 +- tests/test-printf-frexp.c | 3 +- tests/test-printf-frexpl.c | 3 +- tests/test-printf-posix.c | 3 +- tests/test-quotearg.c | 1 + tests/test-rbtree_list.c | 3 +- tests/test-rbtree_oset.c | 3 +- tests/test-rbtreehash_list.c | 3 +- tests/test-round1.c | 1 + tests/test-roundf1.c | 1 + tests/test-roundl.c | 3 +- tests/test-signbit.c | 1 + tests/test-sleep.c | 3 +- tests/test-snprintf-posix.c | 3 +- tests/test-snprintf.c | 3 +- tests/test-sprintf-posix.c | 3 +- tests/test-stat-time.c | 3 +- tests/test-strcasestr.c | 1 + tests/test-strerror.c | 3 +- tests/test-striconv.c | 3 +- tests/test-striconveh.c | 3 +- tests/test-striconveha.c | 3 +- tests/test-strsignal.c | 1 + tests/test-strstr.c | 1 + tests/test-strtod.c | 1 + tests/test-trunc1.c | 1 + tests/test-trunc2.c | 1 + tests/test-truncf1.c | 1 + tests/test-truncf2.c | 3 +- tests/test-truncl.c | 3 +- tests/test-vasnprintf-posix.c | 1 + tests/test-vasnprintf-posix2.c | 3 +- tests/test-vasnprintf.c | 3 +- tests/test-vasprintf-posix.c | 1 + tests/test-vasprintf.c | 3 +- tests/test-vfprintf-posix.c | 1 + tests/test-vprintf-posix.c | 1 + tests/test-vsnprintf-posix.c | 1 + tests/test-vsnprintf.c | 3 +- tests/test-vsprintf-posix.c | 1 + tests/test-wcwidth.c | 1 + tests/test-xfprintf-posix.c | 3 +- tests/test-xprintf-posix.c | 3 +- tests/test-xvasprintf.c | 3 +- tests/uniconv/test-u16-conv-from-enc.c | 3 +- tests/uniconv/test-u16-conv-to-enc.c | 3 +- tests/uniconv/test-u16-strconv-from-enc.c | 3 +- tests/uniconv/test-u16-strconv-to-enc.c | 3 +- tests/uniconv/test-u32-conv-from-enc.c | 3 +- tests/uniconv/test-u32-conv-to-enc.c | 3 +- tests/uniconv/test-u32-strconv-from-enc.c | 3 +- tests/uniconv/test-u32-strconv-to-enc.c | 3 +- tests/uniconv/test-u8-conv-from-enc.c | 3 +- tests/uniconv/test-u8-conv-to-enc.c | 3 +- tests/uniconv/test-u8-strconv-from-enc.c | 3 +- tests/uniconv/test-u8-strconv-to-enc.c | 3 +- tests/unictype/test-bidi_byname.c | 3 +- tests/unictype/test-bidi_name.c | 3 +- tests/unictype/test-bidi_of.c | 3 +- tests/unictype/test-bidi_test.c | 3 +- tests/unictype/test-block_list.c | 3 +- tests/unictype/test-block_of.c | 3 +- tests/unictype/test-block_test.c | 3 +- tests/unictype/test-categ_and.c | 3 +- tests/unictype/test-categ_and_not.c | 3 +- tests/unictype/test-categ_byname.c | 3 +- tests/unictype/test-categ_name.c | 3 +- tests/unictype/test-categ_none.c | 3 +- tests/unictype/test-categ_of.c | 3 +- tests/unictype/test-categ_or.c | 3 +- tests/unictype/test-categ_test_withtable.c | 3 +- tests/unictype/test-combining.c | 3 +- tests/unictype/test-decdigit.c | 3 +- tests/unictype/test-digit.c | 3 +- tests/unictype/test-mirror.c | 3 +- tests/unictype/test-numeric.c | 3 +- tests/unictype/test-pr_byname.c | 3 +- tests/unictype/test-pr_test.c | 3 +- tests/unictype/test-predicate-part1.h | 3 +- tests/unictype/test-scripts.c | 3 +- tests/unictype/test-sy_c_ident.c | 3 +- tests/unictype/test-sy_java_ident.c | 3 +- tests/unistdio/test-u16-asnprintf1.c | 3 +- tests/unistdio/test-u16-vasnprintf1.c | 3 +- tests/unistdio/test-u16-vasnprintf2.c | 3 +- tests/unistdio/test-u16-vasnprintf3.c | 3 +- tests/unistdio/test-u16-vasprintf1.c | 3 +- tests/unistdio/test-u16-vsnprintf1.c | 3 +- tests/unistdio/test-u16-vsprintf1.c | 3 +- tests/unistdio/test-u32-asnprintf1.c | 3 +- tests/unistdio/test-u32-vasnprintf1.c | 3 +- tests/unistdio/test-u32-vasnprintf2.c | 3 +- tests/unistdio/test-u32-vasnprintf3.c | 3 +- tests/unistdio/test-u32-vasprintf1.c | 3 +- tests/unistdio/test-u32-vsnprintf1.c | 3 +- tests/unistdio/test-u32-vsprintf1.c | 3 +- tests/unistdio/test-u8-asnprintf1.c | 3 +- tests/unistdio/test-u8-vasnprintf1.c | 3 +- tests/unistdio/test-u8-vasnprintf2.c | 3 +- tests/unistdio/test-u8-vasnprintf3.c | 3 +- tests/unistdio/test-u8-vasprintf1.c | 3 +- tests/unistdio/test-u8-vsnprintf1.c | 3 +- tests/unistdio/test-u8-vsprintf1.c | 3 +- tests/unistdio/test-ulc-asnprintf1.c | 3 +- tests/unistdio/test-ulc-vasnprintf1.c | 3 +- tests/unistdio/test-ulc-vasnprintf2.c | 3 +- tests/unistdio/test-ulc-vasnprintf3.c | 3 +- tests/unistdio/test-ulc-vasprintf1.c | 3 +- tests/unistdio/test-ulc-vsnprintf1.c | 3 +- tests/unistdio/test-ulc-vsprintf1.c | 3 +- tests/uniwidth/test-u16-strwidth.c | 3 +- tests/uniwidth/test-u16-width.c | 3 +- tests/uniwidth/test-u32-strwidth.c | 3 +- tests/uniwidth/test-u32-width.c | 3 +- tests/uniwidth/test-u8-strwidth.c | 3 +- tests/uniwidth/test-u8-width.c | 3 +- tests/uniwidth/test-uc_width.c | 3 +- 195 files changed, 558 insertions(+), 164 deletions(-) diff --git a/ChangeLog b/ChangeLog index 689640e26..4043cacba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,205 @@ 2008-04-11 Bruno Haible + Flush the standard error stream before aborting. Needed on netlabs.org + klibc (derived from emx+gcc libc). + * tests/test-argmatch.c (ASSERT): Call fflush(stderr) before abort(). + * tests/test-array_list.c (ASSERT): Likewise. + * tests/test-array_oset.c (ASSERT): Likewise. + * tests/test-avltree_list.c (ASSERT): Likewise. + * tests/test-avltree_oset.c (ASSERT): Likewise. + * tests/test-avltreehash_list.c (ASSERT): Likewise. + * tests/test-binary-io.c (ASSERT): Likewise. + * tests/test-byteswap.c (ASSERT): Likewise. + * tests/test-c-ctype.c (ASSERT): Likewise. + * tests/test-c-strcasecmp.c (ASSERT): Likewise. + * tests/test-c-strcasestr.c (ASSERT): Likewise. + * tests/test-c-strncasecmp.c (ASSERT): Likewise. + * tests/test-c-strstr.c (ASSERT): Likewise. + * tests/test-canonicalize-lgpl.c (ASSERT): Likewise. + * tests/test-canonicalize.c (ASSERT): Likewise. + * tests/test-carray_list.c (ASSERT): Likewise. + * tests/test-ceilf1.c (ASSERT): Likewise. + * tests/test-ceilf2.c (ASSERT): Likewise. + * tests/test-ceill.c (ASSERT): Likewise. + * tests/test-count-one-bits.c (ASSERT): Likewise. + * tests/test-fbufmode.c (ASSERT): Likewise. + * tests/test-fflush2.c (ASSERT): Likewise. + * tests/test-floorf1.c (ASSERT): Likewise. + * tests/test-floorf2.c (ASSERT): Likewise. + * tests/test-floorl.c (ASSERT): Likewise. + * tests/test-fopen.c (ASSERT): Likewise. + * tests/test-fpending.c (ASSERT): Likewise. + * tests/test-fprintf-posix.c (ASSERT): Likewise. + * tests/test-fpurge.c (ASSERT): Likewise. + * tests/test-freadable.c (ASSERT): Likewise. + * tests/test-freadahead.c (ASSERT): Likewise. + * tests/test-freading.c (ASSERT): Likewise. + * tests/test-freadptr.c (ASSERT): Likewise. + * tests/test-freadptr2.c (ASSERT): Likewise. + * tests/test-freadseek.c (ASSERT): Likewise. + * tests/test-freopen.c (ASSERT): Likewise. + * tests/test-frexp.c (ASSERT): Likewise. + * tests/test-frexpl.c (ASSERT): Likewise. + * tests/test-fseek.c (ASSERT): Likewise. + * tests/test-fseeko.c (ASSERT): Likewise. + * tests/test-fstrcmp.c (ASSERT): Likewise. + * tests/test-ftell.c (ASSERT): Likewise. + * tests/test-ftello.c (ASSERT): Likewise. + * tests/test-func.c (ASSERT): Likewise. + * tests/test-fwritable.c (ASSERT): Likewise. + * tests/test-fwriting.c (ASSERT): Likewise. + * tests/test-getdelim.c (ASSERT): Likewise. + * tests/test-getline.c (ASSERT): Likewise. + * tests/test-i-ring.c (ASSERT): Likewise. + * tests/test-iconv-utf.c (ASSERT): Likewise. + * tests/test-iconv.c (ASSERT): Likewise. + * tests/test-isfinite.c (ASSERT): Likewise. + * tests/test-isnand.c (ASSERT): Likewise. + * tests/test-isnanf.c (ASSERT): Likewise. + * tests/test-isnanl.h (ASSERT): Likewise. + * tests/test-ldexpl.c (ASSERT): Likewise. + * tests/test-linked_list.c (ASSERT): Likewise. + * tests/test-linkedhash_list.c (ASSERT): Likewise. + * tests/test-localename.c (ASSERT): Likewise. + * tests/test-lseek.c (ASSERT): Likewise. + * tests/test-mbscasecmp.c (ASSERT): Likewise. + * tests/test-mbscasestr1.c (ASSERT): Likewise. + * tests/test-mbscasestr2.c (ASSERT): Likewise. + * tests/test-mbscasestr3.c (ASSERT): Likewise. + * tests/test-mbscasestr4.c (ASSERT): Likewise. + * tests/test-mbschr.c (ASSERT): Likewise. + * tests/test-mbscspn.c (ASSERT): Likewise. + * tests/test-mbsncasecmp.c (ASSERT): Likewise. + * tests/test-mbspbrk.c (ASSERT): Likewise. + * tests/test-mbspcasecmp.c (ASSERT): Likewise. + * tests/test-mbsrchr.c (ASSERT): Likewise. + * tests/test-mbsspn.c (ASSERT): Likewise. + * tests/test-mbsstr1.c (ASSERT): Likewise. + * tests/test-mbsstr2.c (ASSERT): Likewise. + * tests/test-mbsstr3.c (ASSERT): Likewise. + * tests/test-memchr2.c (ASSERT): Likewise. + * tests/test-memmem.c (ASSERT): Likewise. + * tests/test-open.c (ASSERT): Likewise. + * tests/test-printf-frexp.c (ASSERT): Likewise. + * tests/test-printf-frexpl.c (ASSERT): Likewise. + * tests/test-printf-posix.c (ASSERT): Likewise. + * tests/test-quotearg.c (ASSERT): Likewise. + * tests/test-rbtree_list.c (ASSERT): Likewise. + * tests/test-rbtree_oset.c (ASSERT): Likewise. + * tests/test-rbtreehash_list.c (ASSERT): Likewise. + * tests/test-round1.c (ASSERT): Likewise. + * tests/test-roundf1.c (ASSERT): Likewise. + * tests/test-roundl.c (ASSERT): Likewise. + * tests/test-signbit.c (ASSERT): Likewise. + * tests/test-sleep.c (ASSERT): Likewise. + * tests/test-snprintf-posix.c (ASSERT): Likewise. + * tests/test-snprintf.c (ASSERT): Likewise. + * tests/test-sprintf-posix.c (ASSERT): Likewise. + * tests/test-stat-time.c (ASSERT): Likewise. + * tests/test-strcasestr.c (ASSERT): Likewise. + * tests/test-strerror.c (ASSERT): Likewise. + * tests/test-striconv.c (ASSERT): Likewise. + * tests/test-striconveh.c (ASSERT): Likewise. + * tests/test-striconveha.c (ASSERT): Likewise. + * tests/test-strsignal.c (ASSERT): Likewise. + * tests/test-strstr.c (ASSERT): Likewise. + * tests/test-strtod.c (ASSERT): Likewise. + * tests/test-trunc1.c (ASSERT): Likewise. + * tests/test-trunc2.c (ASSERT): Likewise. + * tests/test-truncf1.c (ASSERT): Likewise. + * tests/test-truncf2.c (ASSERT): Likewise. + * tests/test-truncl.c (ASSERT): Likewise. + * tests/test-vasnprintf-posix.c (ASSERT): Likewise. + * tests/test-vasnprintf-posix2.c (ASSERT): Likewise. + * tests/test-vasnprintf.c (ASSERT): Likewise. + * tests/test-vasprintf-posix.c (ASSERT): Likewise. + * tests/test-vasprintf.c (ASSERT): Likewise. + * tests/test-vfprintf-posix.c (ASSERT): Likewise. + * tests/test-vprintf-posix.c (ASSERT): Likewise. + * tests/test-vsnprintf-posix.c (ASSERT): Likewise. + * tests/test-vsnprintf.c (ASSERT): Likewise. + * tests/test-vsprintf-posix.c (ASSERT): Likewise. + * tests/test-wcwidth.c (ASSERT): Likewise. + * tests/test-xfprintf-posix.c (ASSERT): Likewise. + * tests/test-xprintf-posix.c (ASSERT): Likewise. + * tests/test-xvasprintf.c (ASSERT): Likewise. + * tests/uniconv/test-u16-conv-from-enc.c (ASSERT): Likewise. + * tests/uniconv/test-u16-conv-to-enc.c (ASSERT): Likewise. + * tests/uniconv/test-u16-strconv-from-enc.c (ASSERT): Likewise. + * tests/uniconv/test-u16-strconv-to-enc.c (ASSERT): Likewise. + * tests/uniconv/test-u32-conv-from-enc.c (ASSERT): Likewise. + * tests/uniconv/test-u32-conv-to-enc.c (ASSERT): Likewise. + * tests/uniconv/test-u32-strconv-from-enc.c (ASSERT): Likewise. + * tests/uniconv/test-u32-strconv-to-enc.c (ASSERT): Likewise. + * tests/uniconv/test-u8-conv-from-enc.c (ASSERT): Likewise. + * tests/uniconv/test-u8-conv-to-enc.c (ASSERT): Likewise. + * tests/uniconv/test-u8-strconv-from-enc.c (ASSERT): Likewise. + * tests/uniconv/test-u8-strconv-to-enc.c (ASSERT): Likewise. + * tests/unictype/test-bidi_byname.c (ASSERT): Likewise. + * tests/unictype/test-bidi_name.c (ASSERT): Likewise. + * tests/unictype/test-bidi_of.c (ASSERT): Likewise. + * tests/unictype/test-bidi_test.c (ASSERT): Likewise. + * tests/unictype/test-block_list.c (ASSERT): Likewise. + * tests/unictype/test-block_of.c (ASSERT): Likewise. + * tests/unictype/test-block_test.c (ASSERT): Likewise. + * tests/unictype/test-categ_and.c (ASSERT): Likewise. + * tests/unictype/test-categ_and_not.c (ASSERT): Likewise. + * tests/unictype/test-categ_byname.c (ASSERT): Likewise. + * tests/unictype/test-categ_name.c (ASSERT): Likewise. + * tests/unictype/test-categ_none.c (ASSERT): Likewise. + * tests/unictype/test-categ_of.c (ASSERT): Likewise. + * tests/unictype/test-categ_or.c (ASSERT): Likewise. + * tests/unictype/test-categ_test_withtable.c (ASSERT): Likewise. + * tests/unictype/test-combining.c (ASSERT): Likewise. + * tests/unictype/test-decdigit.c (ASSERT): Likewise. + * tests/unictype/test-digit.c (ASSERT): Likewise. + * tests/unictype/test-mirror.c (ASSERT): Likewise. + * tests/unictype/test-numeric.c (ASSERT): Likewise. + * tests/unictype/test-pr_byname.c (ASSERT): Likewise. + * tests/unictype/test-pr_test.c (ASSERT): Likewise. + * tests/unictype/test-predicate-part1.h (ASSERT): Likewise. + * tests/unictype/test-scripts.c (ASSERT): Likewise. + * tests/unictype/test-sy_c_ident.c (ASSERT): Likewise. + * tests/unictype/test-sy_java_ident.c (ASSERT): Likewise. + * tests/unistdio/test-u16-asnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u16-vasnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u16-vasnprintf2.c (ASSERT): Likewise. + * tests/unistdio/test-u16-vasnprintf3.c (ASSERT): Likewise. + * tests/unistdio/test-u16-vasprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u16-vsnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u16-vsprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u32-asnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u32-vasnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u32-vasnprintf2.c (ASSERT): Likewise. + * tests/unistdio/test-u32-vasnprintf3.c (ASSERT): Likewise. + * tests/unistdio/test-u32-vasprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u32-vsnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u32-vsprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u8-asnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u8-vasnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u8-vasnprintf2.c (ASSERT): Likewise. + * tests/unistdio/test-u8-vasnprintf3.c (ASSERT): Likewise. + * tests/unistdio/test-u8-vasprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u8-vsnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-u8-vsprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-ulc-asnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-ulc-vasnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-ulc-vasnprintf2.c (ASSERT): Likewise. + * tests/unistdio/test-ulc-vasnprintf3.c (ASSERT): Likewise. + * tests/unistdio/test-ulc-vasprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-ulc-vsnprintf1.c (ASSERT): Likewise. + * tests/unistdio/test-ulc-vsprintf1.c (ASSERT): Likewise. + * tests/uniwidth/test-u16-strwidth.c (ASSERT): Likewise. + * tests/uniwidth/test-u16-width.c (ASSERT): Likewise. + * tests/uniwidth/test-u32-strwidth.c (ASSERT): Likewise. + * tests/uniwidth/test-u32-width.c (ASSERT): Likewise. + * tests/uniwidth/test-u8-strwidth.c (ASSERT): Likewise. + * tests/uniwidth/test-u8-width.c (ASSERT): Likewise. + * tests/uniwidth/test-uc_width.c (ASSERT): Likewise. + Reported by Eric Blake. + +2008-04-11 Bruno Haible + * lib/wchar.in.h: Tweak comment. 2008-04-11 Bruno Haible diff --git a/tests/test-argmatch.c b/tests/test-argmatch.c index 363033fa6..e7eaf5529 100644 --- a/tests/test-argmatch.c +++ b/tests/test-argmatch.c @@ -1,5 +1,5 @@ /* Test of exact or abbreviated match search. - Copyright (C) 1990, 1998-1999, 2001-2007 Free Software Foundation, Inc. + Copyright (C) 1990, 1998-1999, 2001-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-array_list.c b/tests/test-array_list.c index 068ae4583..9426294e7 100644 --- a/tests/test-array_list.c +++ b/tests/test-array_list.c @@ -1,5 +1,5 @@ /* Test of sequential list data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2007. This program is free software: you can redistribute it and/or modify @@ -36,6 +36,7 @@ static const char *objects[15] = if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-array_oset.c b/tests/test-array_oset.c index 87aa5eaf7..5aba7e0e5 100644 --- a/tests/test-array_oset.c +++ b/tests/test-array_oset.c @@ -1,5 +1,5 @@ /* Test of ordered set data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2007. This program is free software: you can redistribute it and/or modify @@ -39,6 +39,7 @@ static const char *objects[30] = if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-avltree_list.c b/tests/test-avltree_list.c index 4099c9934..59e5d9960 100644 --- a/tests/test-avltree_list.c +++ b/tests/test-avltree_list.c @@ -1,5 +1,5 @@ /* Test of sequential list data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -39,6 +39,7 @@ static const char *objects[15] = if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-avltree_oset.c b/tests/test-avltree_oset.c index bf4e94db5..7af78e021 100644 --- a/tests/test-avltree_oset.c +++ b/tests/test-avltree_oset.c @@ -1,5 +1,5 @@ /* Test of ordered set data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -41,6 +41,7 @@ static const char *objects[30] = if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-avltreehash_list.c b/tests/test-avltreehash_list.c index 04cc03535..19feca019 100644 --- a/tests/test-avltreehash_list.c +++ b/tests/test-avltreehash_list.c @@ -1,5 +1,5 @@ /* Test of sequential list data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -66,6 +66,7 @@ string_hash (const void *x) if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-binary-io.c b/tests/test-binary-io.c index 748a83fb2..7e351086c 100644 --- a/tests/test-binary-io.c +++ b/tests/test-binary-io.c @@ -1,5 +1,5 @@ /* Test of binary mode I/O. - Copyright (C) 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2005, 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-byteswap.c b/tests/test-byteswap.c index 4ecc2cdbb..78f142d72 100644 --- a/tests/test-byteswap.c +++ b/tests/test-byteswap.c @@ -1,5 +1,5 @@ /* Test of substitute. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-c-ctype.c b/tests/test-c-ctype.c index a1a37a92b..6d7fe1b7a 100644 --- a/tests/test-c-ctype.c +++ b/tests/test-c-ctype.c @@ -1,5 +1,5 @@ /* Test of character handling in C locale. - Copyright (C) 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2005, 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-c-strcasecmp.c b/tests/test-c-strcasecmp.c index 962a4745e..16244b9f3 100644 --- a/tests/test-c-strcasecmp.c +++ b/tests/test-c-strcasecmp.c @@ -1,5 +1,5 @@ /* Test of case-insensitive string comparison function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,6 +31,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-c-strcasestr.c b/tests/test-c-strcasestr.c index b511654d1..e3ff0e286 100644 --- a/tests/test-c-strcasestr.c +++ b/tests/test-c-strcasestr.c @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-c-strncasecmp.c b/tests/test-c-strncasecmp.c index 84c48d435..7d6dbf50a 100644 --- a/tests/test-c-strncasecmp.c +++ b/tests/test-c-strncasecmp.c @@ -1,5 +1,5 @@ /* Test of case-insensitive string comparison function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,6 +31,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-c-strstr.c b/tests/test-c-strstr.c index a8682cbdd..2bd0cf0d4 100644 --- a/tests/test-c-strstr.c +++ b/tests/test-c-strstr.c @@ -1,5 +1,5 @@ /* Test of searching in a string. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-canonicalize-lgpl.c b/tests/test-canonicalize-lgpl.c index 2686a485e..29b919df8 100644 --- a/tests/test-canonicalize-lgpl.c +++ b/tests/test-canonicalize-lgpl.c @@ -1,5 +1,5 @@ /* Test of execution of program termination handlers. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-canonicalize.c b/tests/test-canonicalize.c index f55adddc9..d76c30736 100644 --- a/tests/test-canonicalize.c +++ b/tests/test-canonicalize.c @@ -1,5 +1,5 @@ /* Test of execution of file name canonicalization. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-carray_list.c b/tests/test-carray_list.c index 670ba25f2..f29f74c14 100644 --- a/tests/test-carray_list.c +++ b/tests/test-carray_list.c @@ -1,5 +1,5 @@ /* Test of sequential list data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -37,6 +37,7 @@ static const char *objects[15] = if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-ceilf1.c b/tests/test-ceilf1.c index e2a04a0ec..430e4abd9 100644 --- a/tests/test-ceilf1.c +++ b/tests/test-ceilf1.c @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-ceilf2.c b/tests/test-ceilf2.c index f5e886b66..e6d69ec36 100644 --- a/tests/test-ceilf2.c +++ b/tests/test-ceilf2.c @@ -1,5 +1,5 @@ /* Test of rounding towards positive infinity. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-ceill.c b/tests/test-ceill.c index fe70201bd..5701246c2 100644 --- a/tests/test-ceill.c +++ b/tests/test-ceill.c @@ -1,5 +1,5 @@ /* Test of rounding towards positive infinity. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-count-one-bits.c b/tests/test-count-one-bits.c index a9c94763d..5757bbd22 100644 --- a/tests/test-count-one-bits.c +++ b/tests/test-count-one-bits.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007 Free Software Foundation + * Copyright (C) 2007-2008 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,6 +31,7 @@ { \ fprintf (stderr, "%s:%d: assertion \"%s\" failed\n", \ __FILE__, __LINE__, #expr); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-fbufmode.c b/tests/test-fbufmode.c index 4fe8e755c..1bf820e67 100644 --- a/tests/test-fbufmode.c +++ b/tests/test-fbufmode.c @@ -1,5 +1,5 @@ /* Test of fbufmode() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-fflush2.c b/tests/test-fflush2.c index 0b6d6c9b2..105a57551 100644 --- a/tests/test-fflush2.c +++ b/tests/test-fflush2.c @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-floorf1.c b/tests/test-floorf1.c index 2a9d10305..773e4bc32 100644 --- a/tests/test-floorf1.c +++ b/tests/test-floorf1.c @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-floorf2.c b/tests/test-floorf2.c index c79091fec..1521c2233 100644 --- a/tests/test-floorf2.c +++ b/tests/test-floorf2.c @@ -1,5 +1,5 @@ /* Test of rounding towards negative infinity. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-floorl.c b/tests/test-floorl.c index 0c892a94b..8f10f4e4f 100644 --- a/tests/test-floorl.c +++ b/tests/test-floorl.c @@ -1,5 +1,5 @@ /* Test of rounding towards negative infinity. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-fopen.c b/tests/test-fopen.c index 912373a44..038177f06 100644 --- a/tests/test-fopen.c +++ b/tests/test-fopen.c @@ -1,5 +1,5 @@ /* Test of opening a file stream. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,6 +27,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-fpending.c b/tests/test-fpending.c index 05563f870..8d9e5ae91 100644 --- a/tests/test-fpending.c +++ b/tests/test-fpending.c @@ -1,6 +1,6 @@ /* Ensure that __fpending works. - Copyright (C) 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2004, 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-fprintf-posix.c b/tests/test-fprintf-posix.c index 1b4cf6cb3..12e57fe27 100644 --- a/tests/test-fprintf-posix.c +++ b/tests/test-fprintf-posix.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible fprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-fpurge.c b/tests/test-fpurge.c index d6ed41872..280da991b 100644 --- a/tests/test-fpurge.c +++ b/tests/test-fpurge.c @@ -1,5 +1,5 @@ /* Test of fpurge() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-freadable.c b/tests/test-freadable.c index f9d139986..4264cce33 100644 --- a/tests/test-freadable.c +++ b/tests/test-freadable.c @@ -1,5 +1,5 @@ /* Test of freadable() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-freadahead.c b/tests/test-freadahead.c index 447b188b8..c369cbafd 100644 --- a/tests/test-freadahead.c +++ b/tests/test-freadahead.c @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-freading.c b/tests/test-freading.c index d429a7cf5..c4d5533b5 100644 --- a/tests/test-freading.c +++ b/tests/test-freading.c @@ -1,5 +1,5 @@ /* Test of freading() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-freadptr.c b/tests/test-freadptr.c index 536fd7b3f..a46d65d3b 100644 --- a/tests/test-freadptr.c +++ b/tests/test-freadptr.c @@ -31,6 +31,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-freadptr2.c b/tests/test-freadptr2.c index 59a2593f7..c2922783b 100644 --- a/tests/test-freadptr2.c +++ b/tests/test-freadptr2.c @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-freadseek.c b/tests/test-freadseek.c index ffe3cecfc..f7d349a28 100644 --- a/tests/test-freadseek.c +++ b/tests/test-freadseek.c @@ -31,6 +31,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-freopen.c b/tests/test-freopen.c index 624b8a573..55a665e34 100644 --- a/tests/test-freopen.c +++ b/tests/test-freopen.c @@ -1,5 +1,5 @@ /* Test of opening a file stream. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,6 +27,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-frexp.c b/tests/test-frexp.c index af9e8b1a1..2fa15c0bf 100644 --- a/tests/test-frexp.c +++ b/tests/test-frexp.c @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-frexpl.c b/tests/test-frexpl.c index b06a7b871..148a27f26 100644 --- a/tests/test-frexpl.c +++ b/tests/test-frexpl.c @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-fseek.c b/tests/test-fseek.c index c38c48557..24cf3b882 100644 --- a/tests/test-fseek.c +++ b/tests/test-fseek.c @@ -27,6 +27,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-fseeko.c b/tests/test-fseeko.c index d7ec443ae..3a1383b3d 100644 --- a/tests/test-fseeko.c +++ b/tests/test-fseeko.c @@ -27,6 +27,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-fstrcmp.c b/tests/test-fstrcmp.c index 1e58ece0c..0e17ff568 100644 --- a/tests/test-fstrcmp.c +++ b/tests/test-fstrcmp.c @@ -1,5 +1,5 @@ /* Test of fuzzy string comparison. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-ftell.c b/tests/test-ftell.c index e25bc029f..79af6c56f 100644 --- a/tests/test-ftell.c +++ b/tests/test-ftell.c @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-ftello.c b/tests/test-ftello.c index 73fd52748..26c7ab550 100644 --- a/tests/test-ftello.c +++ b/tests/test-ftello.c @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-func.c b/tests/test-func.c index 7b4902672..e55fcd5a9 100644 --- a/tests/test-func.c +++ b/tests/test-func.c @@ -22,15 +22,16 @@ #include #include -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ +#define ASSERT(expr) \ + do \ + { \ + if (!(expr)) \ + { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - abort (); \ - } \ - } \ + fflush (stderr); \ + abort (); \ + } \ + } \ while (0) int diff --git a/tests/test-fwritable.c b/tests/test-fwritable.c index a128f1308..6a7b6f007 100644 --- a/tests/test-fwritable.c +++ b/tests/test-fwritable.c @@ -1,5 +1,5 @@ /* Test of fwritable() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-fwriting.c b/tests/test-fwriting.c index 77ac97aaa..f2ae068a2 100644 --- a/tests/test-fwriting.c +++ b/tests/test-fwriting.c @@ -1,5 +1,5 @@ /* Test of fwriting() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-getdelim.c b/tests/test-getdelim.c index aca6d60fc..0c112f6bd 100644 --- a/tests/test-getdelim.c +++ b/tests/test-getdelim.c @@ -1,5 +1,5 @@ /* Test of getdelim() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-getline.c b/tests/test-getline.c index cdfefd909..51fc81686 100644 --- a/tests/test-getline.c +++ b/tests/test-getline.c @@ -1,5 +1,5 @@ /* Test of getline() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-i-ring.c b/tests/test-i-ring.c index a6aeb2b5b..05270d7b8 100644 --- a/tests/test-i-ring.c +++ b/tests/test-i-ring.c @@ -1,5 +1,5 @@ /* Test the simple ring buffer. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-iconv-utf.c b/tests/test-iconv-utf.c index 0465b35b7..ec8d03767 100644 --- a/tests/test-iconv-utf.c +++ b/tests/test-iconv-utf.c @@ -1,5 +1,5 @@ /* Test of character set conversion. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-iconv.c b/tests/test-iconv.c index e7db7905e..8bac1764b 100644 --- a/tests/test-iconv.c +++ b/tests/test-iconv.c @@ -1,5 +1,5 @@ /* Test of character set conversion. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-isfinite.c b/tests/test-isfinite.c index acdb4564a..4dd3e9ff5 100644 --- a/tests/test-isfinite.c +++ b/tests/test-isfinite.c @@ -1,5 +1,5 @@ /* Test of isfinite() substitute. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-isnand.c b/tests/test-isnand.c index ff7310121..d7b66c441 100644 --- a/tests/test-isnand.c +++ b/tests/test-isnand.c @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-isnanf.c b/tests/test-isnanf.c index c70b619e7..00fbfeb79 100644 --- a/tests/test-isnanf.c +++ b/tests/test-isnanf.c @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-isnanl.h b/tests/test-isnanl.h index 657948c94..99d624bff 100644 --- a/tests/test-isnanl.h +++ b/tests/test-isnanl.h @@ -1,5 +1,5 @@ /* Test of isnanl() substitute. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,6 +27,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-ldexpl.c b/tests/test-ldexpl.c index 4740631c3..9f3de0298 100644 --- a/tests/test-ldexpl.c +++ b/tests/test-ldexpl.c @@ -1,5 +1,5 @@ /* Test of multiplying a 'long double' by a power of 2. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-linked_list.c b/tests/test-linked_list.c index 99c7e6aab..cf0aac75d 100644 --- a/tests/test-linked_list.c +++ b/tests/test-linked_list.c @@ -1,5 +1,5 @@ /* Test of sequential list data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -37,6 +37,7 @@ static const char *objects[15] = if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-linkedhash_list.c b/tests/test-linkedhash_list.c index 249ebc58e..c4be6231c 100644 --- a/tests/test-linkedhash_list.c +++ b/tests/test-linkedhash_list.c @@ -1,5 +1,5 @@ /* Test of sequential list data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -64,6 +64,7 @@ string_hash (const void *x) if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-localename.c b/tests/test-localename.c index 0bd0c728b..82f786bb6 100644 --- a/tests/test-localename.c +++ b/tests/test-localename.c @@ -31,6 +31,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-lseek.c b/tests/test-lseek.c index 01703bf4b..ebba02ec6 100644 --- a/tests/test-lseek.c +++ b/tests/test-lseek.c @@ -1,5 +1,5 @@ /* Test of lseek() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbscasecmp.c b/tests/test-mbscasecmp.c index 9332fba16..d6aa37a89 100644 --- a/tests/test-mbscasecmp.c +++ b/tests/test-mbscasecmp.c @@ -1,5 +1,5 @@ /* Test of case-insensitive string comparison function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbscasestr1.c b/tests/test-mbscasestr1.c index 27abd116f..688070c2b 100644 --- a/tests/test-mbscasestr1.c +++ b/tests/test-mbscasestr1.c @@ -1,5 +1,5 @@ /* Test of case-insensitive searching in a string. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbscasestr2.c b/tests/test-mbscasestr2.c index a4d0848cd..712bf3f32 100644 --- a/tests/test-mbscasestr2.c +++ b/tests/test-mbscasestr2.c @@ -1,5 +1,5 @@ /* Test of searching in a string. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbscasestr3.c b/tests/test-mbscasestr3.c index a64b1f7f1..817704243 100644 --- a/tests/test-mbscasestr3.c +++ b/tests/test-mbscasestr3.c @@ -1,5 +1,5 @@ /* Test of case-insensitive searching in a string. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbscasestr4.c b/tests/test-mbscasestr4.c index 781dec70d..256e96cbd 100644 --- a/tests/test-mbscasestr4.c +++ b/tests/test-mbscasestr4.c @@ -1,5 +1,5 @@ /* Test of case-insensitive searching in a string. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbschr.c b/tests/test-mbschr.c index dd2e70b3b..23bab6d40 100644 --- a/tests/test-mbschr.c +++ b/tests/test-mbschr.c @@ -1,5 +1,5 @@ /* Test of searching a string for a character. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbscspn.c b/tests/test-mbscspn.c index f42555bbd..c22867f42 100644 --- a/tests/test-mbscspn.c +++ b/tests/test-mbscspn.c @@ -1,5 +1,5 @@ /* Test of searching a string for a character among a given set of characters. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbsncasecmp.c b/tests/test-mbsncasecmp.c index e902262f6..6da989f3e 100644 --- a/tests/test-mbsncasecmp.c +++ b/tests/test-mbsncasecmp.c @@ -1,5 +1,5 @@ /* Test of case-insensitive string comparison function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbspbrk.c b/tests/test-mbspbrk.c index 14a8b821e..07ff02450 100644 --- a/tests/test-mbspbrk.c +++ b/tests/test-mbspbrk.c @@ -1,5 +1,5 @@ /* Test of searching a string for a character among a given set of characters. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbspcasecmp.c b/tests/test-mbspcasecmp.c index 4c8f1fafb..489d701c0 100644 --- a/tests/test-mbspcasecmp.c +++ b/tests/test-mbspcasecmp.c @@ -1,5 +1,5 @@ /* Test of case-insensitive string comparison function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbsrchr.c b/tests/test-mbsrchr.c index 0b85f3dbe..483de8c37 100644 --- a/tests/test-mbsrchr.c +++ b/tests/test-mbsrchr.c @@ -1,5 +1,5 @@ /* Test of searching a string for the last occurrence of a character. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbsspn.c b/tests/test-mbsspn.c index 18a98dcf9..5e1b1193e 100644 --- a/tests/test-mbsspn.c +++ b/tests/test-mbsspn.c @@ -1,5 +1,5 @@ /* Test of searching a string for a character outside a given set of characters. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbsstr1.c b/tests/test-mbsstr1.c index ff2048596..33aae1061 100644 --- a/tests/test-mbsstr1.c +++ b/tests/test-mbsstr1.c @@ -1,5 +1,5 @@ /* Test of searching in a string. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbsstr2.c b/tests/test-mbsstr2.c index 014afed3c..c92974221 100644 --- a/tests/test-mbsstr2.c +++ b/tests/test-mbsstr2.c @@ -1,5 +1,5 @@ /* Test of searching in a string. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-mbsstr3.c b/tests/test-mbsstr3.c index 6c3b53563..b4a62afe4 100644 --- a/tests/test-mbsstr3.c +++ b/tests/test-mbsstr3.c @@ -1,5 +1,5 @@ /* Test of searching in a string. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-memchr2.c b/tests/test-memchr2.c index 639ecd30e..c804a4158 100644 --- a/tests/test-memchr2.c +++ b/tests/test-memchr2.c @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-memmem.c b/tests/test-memmem.c index 656f3bbc3..c074a4e52 100644 --- a/tests/test-memmem.c +++ b/tests/test-memmem.c @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-open.c b/tests/test-open.c index c183e9d70..c570aaad4 100644 --- a/tests/test-open.c +++ b/tests/test-open.c @@ -1,5 +1,5 @@ /* Test of opening a file descriptor. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-printf-frexp.c b/tests/test-printf-frexp.c index fc3723f0f..8ba934888 100644 --- a/tests/test-printf-frexp.c +++ b/tests/test-printf-frexp.c @@ -1,5 +1,5 @@ /* Test of splitting a double into fraction and mantissa. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-printf-frexpl.c b/tests/test-printf-frexpl.c index 5fb5a2831..c4c156a93 100644 --- a/tests/test-printf-frexpl.c +++ b/tests/test-printf-frexpl.c @@ -1,5 +1,5 @@ /* Test of splitting a 'long double' into fraction and mantissa. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-printf-posix.c b/tests/test-printf-posix.c index 1fbde2193..d90fd420f 100644 --- a/tests/test-printf-posix.c +++ b/tests/test-printf-posix.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible printf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-quotearg.c b/tests/test-quotearg.c index a34316961..04de223cd 100644 --- a/tests/test-quotearg.c +++ b/tests/test-quotearg.c @@ -48,6 +48,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-rbtree_list.c b/tests/test-rbtree_list.c index 7cfbcb6ad..72b047310 100644 --- a/tests/test-rbtree_list.c +++ b/tests/test-rbtree_list.c @@ -1,5 +1,5 @@ /* Test of sequential list data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -39,6 +39,7 @@ static const char *objects[15] = if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-rbtree_oset.c b/tests/test-rbtree_oset.c index 3b9924839..8cb1ae6cf 100644 --- a/tests/test-rbtree_oset.c +++ b/tests/test-rbtree_oset.c @@ -1,5 +1,5 @@ /* Test of ordered set data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -41,6 +41,7 @@ static const char *objects[30] = if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-rbtreehash_list.c b/tests/test-rbtreehash_list.c index 19b20631b..a238f2914 100644 --- a/tests/test-rbtreehash_list.c +++ b/tests/test-rbtreehash_list.c @@ -1,5 +1,5 @@ /* Test of sequential list data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -66,6 +66,7 @@ string_hash (const void *x) if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-round1.c b/tests/test-round1.c index 2710f911f..2cf90f6f4 100644 --- a/tests/test-round1.c +++ b/tests/test-round1.c @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-roundf1.c b/tests/test-roundf1.c index 8131cb2aa..0b6bc2f09 100644 --- a/tests/test-roundf1.c +++ b/tests/test-roundf1.c @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-roundl.c b/tests/test-roundl.c index 1495eaed9..552d4f526 100644 --- a/tests/test-roundl.c +++ b/tests/test-roundl.c @@ -1,5 +1,5 @@ /* Test of rounding to nearest, breaking ties away from zero. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-signbit.c b/tests/test-signbit.c index 3e0185916..1d1a2a84a 100644 --- a/tests/test-signbit.c +++ b/tests/test-signbit.c @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-sleep.c b/tests/test-sleep.c index 4fbd9cc70..ed5a5a0c4 100644 --- a/tests/test-sleep.c +++ b/tests/test-sleep.c @@ -1,5 +1,5 @@ /* Test of sleep() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-snprintf-posix.c b/tests/test-snprintf-posix.c index 1d132dc55..4c095ed12 100644 --- a/tests/test-snprintf-posix.c +++ b/tests/test-snprintf-posix.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible snprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-snprintf.c b/tests/test-snprintf.c index eaac5329a..790c99964 100644 --- a/tests/test-snprintf.c +++ b/tests/test-snprintf.c @@ -1,5 +1,5 @@ /* Test of snprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-sprintf-posix.c b/tests/test-sprintf-posix.c index 58319b961..2f69252a7 100644 --- a/tests/test-sprintf-posix.c +++ b/tests/test-sprintf-posix.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible sprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-stat-time.c b/tests/test-stat-time.c index 31cd4eaf5..028953178 100644 --- a/tests/test-stat-time.c +++ b/tests/test-stat-time.c @@ -1,5 +1,5 @@ /* Test of . - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-strcasestr.c b/tests/test-strcasestr.c index a67471991..6eb145eb3 100644 --- a/tests/test-strcasestr.c +++ b/tests/test-strcasestr.c @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-strerror.c b/tests/test-strerror.c index 036ce458c..752afe27e 100644 --- a/tests/test-strerror.c +++ b/tests/test-strerror.c @@ -1,5 +1,5 @@ /* Test of strerror() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-striconv.c b/tests/test-striconv.c index b1252b09c..f39f142f3 100644 --- a/tests/test-striconv.c +++ b/tests/test-striconv.c @@ -1,5 +1,5 @@ /* Test of character set conversion. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,6 +35,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-striconveh.c b/tests/test-striconveh.c index 459b0f197..2557baa48 100644 --- a/tests/test-striconveh.c +++ b/tests/test-striconveh.c @@ -1,5 +1,5 @@ /* Test of character set conversion with error handling. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,6 +36,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-striconveha.c b/tests/test-striconveha.c index 8c8766384..47e9a46e0 100644 --- a/tests/test-striconveha.c +++ b/tests/test-striconveha.c @@ -1,5 +1,5 @@ /* Test of character set conversion with error handling and autodetection. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,6 +36,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-strsignal.c b/tests/test-strsignal.c index 9bd8133e7..8cc955bdc 100644 --- a/tests/test-strsignal.c +++ b/tests/test-strsignal.c @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-strstr.c b/tests/test-strstr.c index be75a6698..81242e5b4 100644 --- a/tests/test-strstr.c +++ b/tests/test-strstr.c @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-strtod.c b/tests/test-strtod.c index a2caacb02..7f0971c80 100644 --- a/tests/test-strtod.c +++ b/tests/test-strtod.c @@ -31,6 +31,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ /* FIXME abort ();*/status = 1; \ } \ } \ diff --git a/tests/test-trunc1.c b/tests/test-trunc1.c index 7f1bd1037..0449aa939 100644 --- a/tests/test-trunc1.c +++ b/tests/test-trunc1.c @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-trunc2.c b/tests/test-trunc2.c index c06846d31..adf4e5496 100644 --- a/tests/test-trunc2.c +++ b/tests/test-trunc2.c @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-truncf1.c b/tests/test-truncf1.c index 482738951..16d8682a2 100644 --- a/tests/test-truncf1.c +++ b/tests/test-truncf1.c @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-truncf2.c b/tests/test-truncf2.c index a0b7e6c79..0a7337190 100644 --- a/tests/test-truncf2.c +++ b/tests/test-truncf2.c @@ -1,5 +1,5 @@ /* Test of rounding towards zero. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-truncl.c b/tests/test-truncl.c index 8a97395cb..dd2a9c1f0 100644 --- a/tests/test-truncl.c +++ b/tests/test-truncl.c @@ -1,5 +1,5 @@ /* Test of rounding towards zero. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-vasnprintf-posix.c b/tests/test-vasnprintf-posix.c index 4605cd1d9..84da8b2b7 100644 --- a/tests/test-vasnprintf-posix.c +++ b/tests/test-vasnprintf-posix.c @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-vasnprintf-posix2.c b/tests/test-vasnprintf-posix2.c index 167095a22..e8acf01f0 100644 --- a/tests/test-vasnprintf-posix2.c +++ b/tests/test-vasnprintf-posix2.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible vasnprintf() and asnprintf() functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,6 +31,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-vasnprintf.c b/tests/test-vasnprintf.c index 72f1f9587..2f3f8900d 100644 --- a/tests/test-vasnprintf.c +++ b/tests/test-vasnprintf.c @@ -1,5 +1,5 @@ /* Test of vasnprintf() and asnprintf() functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,6 +31,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-vasprintf-posix.c b/tests/test-vasprintf-posix.c index 2270d6aee..93d8e8726 100644 --- a/tests/test-vasprintf-posix.c +++ b/tests/test-vasprintf-posix.c @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-vasprintf.c b/tests/test-vasprintf.c index fc950a12d..7c4a728b0 100644 --- a/tests/test-vasprintf.c +++ b/tests/test-vasprintf.c @@ -1,5 +1,5 @@ /* Test of vasprintf() and asprintf() functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-vfprintf-posix.c b/tests/test-vfprintf-posix.c index 68fc2173d..262ba17ac 100644 --- a/tests/test-vfprintf-posix.c +++ b/tests/test-vfprintf-posix.c @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-vprintf-posix.c b/tests/test-vprintf-posix.c index d30a95f0b..441551f66 100644 --- a/tests/test-vprintf-posix.c +++ b/tests/test-vprintf-posix.c @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-vsnprintf-posix.c b/tests/test-vsnprintf-posix.c index 841a1ec66..00c800660 100644 --- a/tests/test-vsnprintf-posix.c +++ b/tests/test-vsnprintf-posix.c @@ -35,6 +35,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-vsnprintf.c b/tests/test-vsnprintf.c index e549f6625..9c1be8d11 100644 --- a/tests/test-vsnprintf.c +++ b/tests/test-vsnprintf.c @@ -1,5 +1,5 @@ /* Test of vsnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-vsprintf-posix.c b/tests/test-vsprintf-posix.c index a2a13074b..ba6d813f8 100644 --- a/tests/test-vsprintf-posix.c +++ b/tests/test-vsprintf-posix.c @@ -35,6 +35,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-wcwidth.c b/tests/test-wcwidth.c index 5b4affe1b..582a8aa2e 100644 --- a/tests/test-wcwidth.c +++ b/tests/test-wcwidth.c @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-xfprintf-posix.c b/tests/test-xfprintf-posix.c index ce69b0b53..adfa1fd05 100644 --- a/tests/test-xfprintf-posix.c +++ b/tests/test-xfprintf-posix.c @@ -1,5 +1,5 @@ /* Test of error-checking xfprintf() function with POSIX compatible formatting. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,6 +35,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-xprintf-posix.c b/tests/test-xprintf-posix.c index a935e3253..62c9b957f 100644 --- a/tests/test-xprintf-posix.c +++ b/tests/test-xprintf-posix.c @@ -1,5 +1,5 @@ /* Test of error-checking xprintf() function with POSIX compatible formatting. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/test-xvasprintf.c b/tests/test-xvasprintf.c index ab72a7acf..234ec8373 100644 --- a/tests/test-xvasprintf.c +++ b/tests/test-xvasprintf.c @@ -1,5 +1,5 @@ /* Test of xvasprintf() and xasprintf() functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u16-conv-from-enc.c b/tests/uniconv/test-u16-conv-from-enc.c index 11f43ee99..69467e00d 100644 --- a/tests/uniconv/test-u16-conv-from-enc.c +++ b/tests/uniconv/test-u16-conv-from-enc.c @@ -1,5 +1,5 @@ /* Test of conversion to UTF-16 from legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u16-conv-to-enc.c b/tests/uniconv/test-u16-conv-to-enc.c index 135d033ef..57721267d 100644 --- a/tests/uniconv/test-u16-conv-to-enc.c +++ b/tests/uniconv/test-u16-conv-to-enc.c @@ -1,5 +1,5 @@ /* Test of conversion from UTF-16 to legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u16-strconv-from-enc.c b/tests/uniconv/test-u16-strconv-from-enc.c index 340f3ada3..f2f173a80 100644 --- a/tests/uniconv/test-u16-strconv-from-enc.c +++ b/tests/uniconv/test-u16-strconv-from-enc.c @@ -1,5 +1,5 @@ /* Test of conversion to UTF-16 from legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u16-strconv-to-enc.c b/tests/uniconv/test-u16-strconv-to-enc.c index 563334786..95a72065b 100644 --- a/tests/uniconv/test-u16-strconv-to-enc.c +++ b/tests/uniconv/test-u16-strconv-to-enc.c @@ -1,5 +1,5 @@ /* Test of conversion from UTF-16 to legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u32-conv-from-enc.c b/tests/uniconv/test-u32-conv-from-enc.c index 050266622..b6534f8e6 100644 --- a/tests/uniconv/test-u32-conv-from-enc.c +++ b/tests/uniconv/test-u32-conv-from-enc.c @@ -1,5 +1,5 @@ /* Test of conversion to UTF-32 from legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u32-conv-to-enc.c b/tests/uniconv/test-u32-conv-to-enc.c index 73ec13838..f6847bc98 100644 --- a/tests/uniconv/test-u32-conv-to-enc.c +++ b/tests/uniconv/test-u32-conv-to-enc.c @@ -1,5 +1,5 @@ /* Test of conversion from UTF-32 to legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u32-strconv-from-enc.c b/tests/uniconv/test-u32-strconv-from-enc.c index a2f1ac7e9..96af73851 100644 --- a/tests/uniconv/test-u32-strconv-from-enc.c +++ b/tests/uniconv/test-u32-strconv-from-enc.c @@ -1,5 +1,5 @@ /* Test of conversion to UTF-32 from legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u32-strconv-to-enc.c b/tests/uniconv/test-u32-strconv-to-enc.c index a6230812f..eef3d04d9 100644 --- a/tests/uniconv/test-u32-strconv-to-enc.c +++ b/tests/uniconv/test-u32-strconv-to-enc.c @@ -1,5 +1,5 @@ /* Test of conversion from UTF-32 to legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u8-conv-from-enc.c b/tests/uniconv/test-u8-conv-from-enc.c index 45acd8ab5..fb0327c1c 100644 --- a/tests/uniconv/test-u8-conv-from-enc.c +++ b/tests/uniconv/test-u8-conv-from-enc.c @@ -1,5 +1,5 @@ /* Test of conversion to UTF-8 from legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u8-conv-to-enc.c b/tests/uniconv/test-u8-conv-to-enc.c index b4157b289..11da46e74 100644 --- a/tests/uniconv/test-u8-conv-to-enc.c +++ b/tests/uniconv/test-u8-conv-to-enc.c @@ -1,5 +1,5 @@ /* Test of conversion from UTF-8 to legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u8-strconv-from-enc.c b/tests/uniconv/test-u8-strconv-from-enc.c index 74c386979..7f70c2973 100644 --- a/tests/uniconv/test-u8-strconv-from-enc.c +++ b/tests/uniconv/test-u8-strconv-from-enc.c @@ -1,5 +1,5 @@ /* Test of conversion to UTF-8 from legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniconv/test-u8-strconv-to-enc.c b/tests/uniconv/test-u8-strconv-to-enc.c index cb13aaf34..73085b55d 100644 --- a/tests/uniconv/test-u8-strconv-to-enc.c +++ b/tests/uniconv/test-u8-strconv-to-enc.c @@ -1,5 +1,5 @@ /* Test of conversion from UTF-8 to legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-bidi_byname.c b/tests/unictype/test-bidi_byname.c index fc7d4bfc3..5b1cfec94 100644 --- a/tests/unictype/test-bidi_byname.c +++ b/tests/unictype/test-bidi_byname.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-bidi_name.c b/tests/unictype/test-bidi_name.c index c7e004497..a444ec0cb 100644 --- a/tests/unictype/test-bidi_name.c +++ b/tests/unictype/test-bidi_name.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-bidi_of.c b/tests/unictype/test-bidi_of.c index c14ac20cf..720e9f975 100644 --- a/tests/unictype/test-bidi_of.c +++ b/tests/unictype/test-bidi_of.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-bidi_test.c b/tests/unictype/test-bidi_test.c index 5840f3246..3404e72f5 100644 --- a/tests/unictype/test-bidi_test.c +++ b/tests/unictype/test-bidi_test.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-block_list.c b/tests/unictype/test-block_list.c index f2b252bf6..140b573fc 100644 --- a/tests/unictype/test-block_list.c +++ b/tests/unictype/test-block_list.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-block_of.c b/tests/unictype/test-block_of.c index 7c73a165d..9460cdeb1 100644 --- a/tests/unictype/test-block_of.c +++ b/tests/unictype/test-block_of.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-block_test.c b/tests/unictype/test-block_test.c index 190a15677..b086cde62 100644 --- a/tests/unictype/test-block_test.c +++ b/tests/unictype/test-block_test.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-categ_and.c b/tests/unictype/test-categ_and.c index dd0bcd731..7dc461338 100644 --- a/tests/unictype/test-categ_and.c +++ b/tests/unictype/test-categ_and.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-categ_and_not.c b/tests/unictype/test-categ_and_not.c index 2aa6bfc23..91a1da99f 100644 --- a/tests/unictype/test-categ_and_not.c +++ b/tests/unictype/test-categ_and_not.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-categ_byname.c b/tests/unictype/test-categ_byname.c index 2849baaef..3bb44e9cb 100644 --- a/tests/unictype/test-categ_byname.c +++ b/tests/unictype/test-categ_byname.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-categ_name.c b/tests/unictype/test-categ_name.c index 8249a02e8..b5c3f752b 100644 --- a/tests/unictype/test-categ_name.c +++ b/tests/unictype/test-categ_name.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-categ_none.c b/tests/unictype/test-categ_none.c index 869cdcc7a..f8002416b 100644 --- a/tests/unictype/test-categ_none.c +++ b/tests/unictype/test-categ_none.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-categ_of.c b/tests/unictype/test-categ_of.c index 8525fa6ba..28ee66301 100644 --- a/tests/unictype/test-categ_of.c +++ b/tests/unictype/test-categ_of.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-categ_or.c b/tests/unictype/test-categ_or.c index 02a281b55..6b07de5fa 100644 --- a/tests/unictype/test-categ_or.c +++ b/tests/unictype/test-categ_or.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-categ_test_withtable.c b/tests/unictype/test-categ_test_withtable.c index 35369f0d4..b73513287 100644 --- a/tests/unictype/test-categ_test_withtable.c +++ b/tests/unictype/test-categ_test_withtable.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-combining.c b/tests/unictype/test-combining.c index 65a20bd08..3e66a9b7c 100644 --- a/tests/unictype/test-combining.c +++ b/tests/unictype/test-combining.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-decdigit.c b/tests/unictype/test-decdigit.c index 9d2da7645..3d916908a 100644 --- a/tests/unictype/test-decdigit.c +++ b/tests/unictype/test-decdigit.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-digit.c b/tests/unictype/test-digit.c index 3a830c179..efecaaba3 100644 --- a/tests/unictype/test-digit.c +++ b/tests/unictype/test-digit.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-mirror.c b/tests/unictype/test-mirror.c index acbecae78..fb4402ff1 100644 --- a/tests/unictype/test-mirror.c +++ b/tests/unictype/test-mirror.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-numeric.c b/tests/unictype/test-numeric.c index ecebc0564..5bca3638d 100644 --- a/tests/unictype/test-numeric.c +++ b/tests/unictype/test-numeric.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-pr_byname.c b/tests/unictype/test-pr_byname.c index dc3cf7b56..1b4a93576 100644 --- a/tests/unictype/test-pr_byname.c +++ b/tests/unictype/test-pr_byname.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-pr_test.c b/tests/unictype/test-pr_test.c index 0fc09ad57..388ae0042 100644 --- a/tests/unictype/test-pr_test.c +++ b/tests/unictype/test-pr_test.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-predicate-part1.h b/tests/unictype/test-predicate-part1.h index 8e795d97b..e81de4712 100644 --- a/tests/unictype/test-predicate-part1.h +++ b/tests/unictype/test-predicate-part1.h @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ { \ fprintf (stderr, "%s:%d: assertion failed for c = 0x%04X\n", \ __FILE__, __LINE__, c); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-scripts.c b/tests/unictype/test-scripts.c index ea005c535..4b4b0f926 100644 --- a/tests/unictype/test-scripts.c +++ b/tests/unictype/test-scripts.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-sy_c_ident.c b/tests/unictype/test-sy_c_ident.c index 22df4f888..00688e133 100644 --- a/tests/unictype/test-sy_c_ident.c +++ b/tests/unictype/test-sy_c_ident.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unictype/test-sy_java_ident.c b/tests/unictype/test-sy_java_ident.c index facdab0d2..0a4eb0af1 100644 --- a/tests/unictype/test-sy_java_ident.c +++ b/tests/unictype/test-sy_java_ident.c @@ -1,5 +1,5 @@ /* Test the Unicode character type functions. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u16-asnprintf1.c b/tests/unistdio/test-u16-asnprintf1.c index 112b005b9..53fedf348 100644 --- a/tests/unistdio/test-u16-asnprintf1.c +++ b/tests/unistdio/test-u16-asnprintf1.c @@ -1,5 +1,5 @@ /* Test of u16_asnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u16-vasnprintf1.c b/tests/unistdio/test-u16-vasnprintf1.c index d73fa4d58..b236e3fee 100644 --- a/tests/unistdio/test-u16-vasnprintf1.c +++ b/tests/unistdio/test-u16-vasnprintf1.c @@ -1,5 +1,5 @@ /* Test of u16_vasnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u16-vasnprintf2.c b/tests/unistdio/test-u16-vasnprintf2.c index 58cee354e..6f7b7cf6f 100644 --- a/tests/unistdio/test-u16-vasnprintf2.c +++ b/tests/unistdio/test-u16-vasnprintf2.c @@ -1,5 +1,5 @@ /* Test of u16_vasnprintf() function in an ISO-8859-1 locale. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,6 +36,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u16-vasnprintf3.c b/tests/unistdio/test-u16-vasnprintf3.c index c832c310b..140218190 100644 --- a/tests/unistdio/test-u16-vasnprintf3.c +++ b/tests/unistdio/test-u16-vasnprintf3.c @@ -1,5 +1,5 @@ /* Test of u16_vasnprintf() function in an UTF-8 locale. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,6 +36,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u16-vasprintf1.c b/tests/unistdio/test-u16-vasprintf1.c index 064719f9f..8b9612689 100644 --- a/tests/unistdio/test-u16-vasprintf1.c +++ b/tests/unistdio/test-u16-vasprintf1.c @@ -1,5 +1,5 @@ /* Test of u16_vasprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u16-vsnprintf1.c b/tests/unistdio/test-u16-vsnprintf1.c index 1dcfaabad..c90338bcd 100644 --- a/tests/unistdio/test-u16-vsnprintf1.c +++ b/tests/unistdio/test-u16-vsnprintf1.c @@ -1,5 +1,5 @@ /* Test of u16_vsnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,6 +38,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u16-vsprintf1.c b/tests/unistdio/test-u16-vsprintf1.c index 7e305dd2b..1a10dc86a 100644 --- a/tests/unistdio/test-u16-vsprintf1.c +++ b/tests/unistdio/test-u16-vsprintf1.c @@ -1,5 +1,5 @@ /* Test of u16_vsprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,6 +38,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u32-asnprintf1.c b/tests/unistdio/test-u32-asnprintf1.c index 352485fe3..252e919f1 100644 --- a/tests/unistdio/test-u32-asnprintf1.c +++ b/tests/unistdio/test-u32-asnprintf1.c @@ -1,5 +1,5 @@ /* Test of u32_asnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u32-vasnprintf1.c b/tests/unistdio/test-u32-vasnprintf1.c index 7b8e6f690..959bdab3a 100644 --- a/tests/unistdio/test-u32-vasnprintf1.c +++ b/tests/unistdio/test-u32-vasnprintf1.c @@ -1,5 +1,5 @@ /* Test of u32_vasnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u32-vasnprintf2.c b/tests/unistdio/test-u32-vasnprintf2.c index 1e952222a..9d8ab007a 100644 --- a/tests/unistdio/test-u32-vasnprintf2.c +++ b/tests/unistdio/test-u32-vasnprintf2.c @@ -1,5 +1,5 @@ /* Test of u32_vasnprintf() function in an ISO-8859-1 locale. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,6 +36,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u32-vasnprintf3.c b/tests/unistdio/test-u32-vasnprintf3.c index 8f55a45c5..73f7c6c7f 100644 --- a/tests/unistdio/test-u32-vasnprintf3.c +++ b/tests/unistdio/test-u32-vasnprintf3.c @@ -1,5 +1,5 @@ /* Test of u32_vasnprintf() function in an UTF-8 locale. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,6 +36,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u32-vasprintf1.c b/tests/unistdio/test-u32-vasprintf1.c index 25430a381..39e68d25e 100644 --- a/tests/unistdio/test-u32-vasprintf1.c +++ b/tests/unistdio/test-u32-vasprintf1.c @@ -1,5 +1,5 @@ /* Test of u32_vasprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u32-vsnprintf1.c b/tests/unistdio/test-u32-vsnprintf1.c index 2d1d1711b..7acec96f9 100644 --- a/tests/unistdio/test-u32-vsnprintf1.c +++ b/tests/unistdio/test-u32-vsnprintf1.c @@ -1,5 +1,5 @@ /* Test of u32_vsnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,6 +38,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u32-vsprintf1.c b/tests/unistdio/test-u32-vsprintf1.c index bde63bd4d..aff240d49 100644 --- a/tests/unistdio/test-u32-vsprintf1.c +++ b/tests/unistdio/test-u32-vsprintf1.c @@ -1,5 +1,5 @@ /* Test of u32_vsprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,6 +38,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u8-asnprintf1.c b/tests/unistdio/test-u8-asnprintf1.c index 5b9eed167..852d76b4c 100644 --- a/tests/unistdio/test-u8-asnprintf1.c +++ b/tests/unistdio/test-u8-asnprintf1.c @@ -1,5 +1,5 @@ /* Test of u8_asnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u8-vasnprintf1.c b/tests/unistdio/test-u8-vasnprintf1.c index db9af1405..3329df403 100644 --- a/tests/unistdio/test-u8-vasnprintf1.c +++ b/tests/unistdio/test-u8-vasnprintf1.c @@ -1,5 +1,5 @@ /* Test of u8_vasnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u8-vasnprintf2.c b/tests/unistdio/test-u8-vasnprintf2.c index f7f8f8aa9..4283be69e 100644 --- a/tests/unistdio/test-u8-vasnprintf2.c +++ b/tests/unistdio/test-u8-vasnprintf2.c @@ -1,5 +1,5 @@ /* Test of u8_vasnprintf() function in an ISO-8859-1 locale. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,6 +36,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u8-vasnprintf3.c b/tests/unistdio/test-u8-vasnprintf3.c index 417650d89..fc645bca1 100644 --- a/tests/unistdio/test-u8-vasnprintf3.c +++ b/tests/unistdio/test-u8-vasnprintf3.c @@ -1,5 +1,5 @@ /* Test of u8_vasnprintf() function in an UTF-8 locale. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,6 +36,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u8-vasprintf1.c b/tests/unistdio/test-u8-vasprintf1.c index b78f47cd4..8a2caae89 100644 --- a/tests/unistdio/test-u8-vasprintf1.c +++ b/tests/unistdio/test-u8-vasprintf1.c @@ -1,5 +1,5 @@ /* Test of u8_vasprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,6 +37,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u8-vsnprintf1.c b/tests/unistdio/test-u8-vsnprintf1.c index 2ee51a7d7..d6de03fc8 100644 --- a/tests/unistdio/test-u8-vsnprintf1.c +++ b/tests/unistdio/test-u8-vsnprintf1.c @@ -1,5 +1,5 @@ /* Test of u8_vsnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,6 +38,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-u8-vsprintf1.c b/tests/unistdio/test-u8-vsprintf1.c index 81c7fb570..1c702f6b8 100644 --- a/tests/unistdio/test-u8-vsprintf1.c +++ b/tests/unistdio/test-u8-vsprintf1.c @@ -1,5 +1,5 @@ /* Test of u8_vsprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,6 +38,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-ulc-asnprintf1.c b/tests/unistdio/test-ulc-asnprintf1.c index 792617108..591ae262d 100644 --- a/tests/unistdio/test-ulc-asnprintf1.c +++ b/tests/unistdio/test-ulc-asnprintf1.c @@ -1,5 +1,5 @@ /* Test of ulc_asnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-ulc-vasnprintf1.c b/tests/unistdio/test-ulc-vasnprintf1.c index 014d979a7..e2f8be6d7 100644 --- a/tests/unistdio/test-ulc-vasnprintf1.c +++ b/tests/unistdio/test-ulc-vasnprintf1.c @@ -1,5 +1,5 @@ /* Test of ulc_vasnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-ulc-vasnprintf2.c b/tests/unistdio/test-ulc-vasnprintf2.c index 8c9684de1..90229751f 100644 --- a/tests/unistdio/test-ulc-vasnprintf2.c +++ b/tests/unistdio/test-ulc-vasnprintf2.c @@ -1,5 +1,5 @@ /* Test of ulc_vasnprintf() function in an ISO-8859-1 locale. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-ulc-vasnprintf3.c b/tests/unistdio/test-ulc-vasnprintf3.c index 3eb69d0bf..1fbd925d7 100644 --- a/tests/unistdio/test-ulc-vasnprintf3.c +++ b/tests/unistdio/test-ulc-vasnprintf3.c @@ -1,5 +1,5 @@ /* Test of ulc_vasnprintf() function in an UTF-8 locale. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-ulc-vasprintf1.c b/tests/unistdio/test-ulc-vasprintf1.c index 27a1f46ef..d8ed67c2d 100644 --- a/tests/unistdio/test-ulc-vasprintf1.c +++ b/tests/unistdio/test-ulc-vasprintf1.c @@ -1,5 +1,5 @@ /* Test of ulc_vasprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,6 +34,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-ulc-vsnprintf1.c b/tests/unistdio/test-ulc-vsnprintf1.c index c243ff4c2..28edfb6d9 100644 --- a/tests/unistdio/test-ulc-vsnprintf1.c +++ b/tests/unistdio/test-ulc-vsnprintf1.c @@ -1,5 +1,5 @@ /* Test of ulc_vsnprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,6 +36,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/unistdio/test-ulc-vsprintf1.c b/tests/unistdio/test-ulc-vsprintf1.c index 96b88ec7a..1cc2a5635 100644 --- a/tests/unistdio/test-ulc-vsprintf1.c +++ b/tests/unistdio/test-ulc-vsprintf1.c @@ -1,5 +1,5 @@ /* Test of ulc_vsprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,6 +36,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniwidth/test-u16-strwidth.c b/tests/uniwidth/test-u16-strwidth.c index 79351f62a..7365426f6 100644 --- a/tests/uniwidth/test-u16-strwidth.c +++ b/tests/uniwidth/test-u16-strwidth.c @@ -1,5 +1,5 @@ /* Test of u16_strwidth() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniwidth/test-u16-width.c b/tests/uniwidth/test-u16-width.c index 51e4155fb..b3e2b5929 100644 --- a/tests/uniwidth/test-u16-width.c +++ b/tests/uniwidth/test-u16-width.c @@ -1,5 +1,5 @@ /* Test of u16_width() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniwidth/test-u32-strwidth.c b/tests/uniwidth/test-u32-strwidth.c index f34debf69..3976daa90 100644 --- a/tests/uniwidth/test-u32-strwidth.c +++ b/tests/uniwidth/test-u32-strwidth.c @@ -1,5 +1,5 @@ /* Test of u32_strwidth() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniwidth/test-u32-width.c b/tests/uniwidth/test-u32-width.c index c1603126d..05fd856d9 100644 --- a/tests/uniwidth/test-u32-width.c +++ b/tests/uniwidth/test-u32-width.c @@ -1,5 +1,5 @@ /* Test of u32_width() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniwidth/test-u8-strwidth.c b/tests/uniwidth/test-u8-strwidth.c index 99f480059..3fbb39e5d 100644 --- a/tests/uniwidth/test-u8-strwidth.c +++ b/tests/uniwidth/test-u8-strwidth.c @@ -1,5 +1,5 @@ /* Test of u8_strwidth() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniwidth/test-u8-width.c b/tests/uniwidth/test-u8-width.c index 28ef448b7..b25328977 100644 --- a/tests/uniwidth/test-u8-width.c +++ b/tests/uniwidth/test-u8-width.c @@ -1,5 +1,5 @@ /* Test of u8_width() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ diff --git a/tests/uniwidth/test-uc_width.c b/tests/uniwidth/test-uc_width.c index 7e889d9ae..d7335cfd4 100644 --- a/tests/uniwidth/test-uc_width.c +++ b/tests/uniwidth/test-uc_width.c @@ -1,5 +1,5 @@ /* Test of uc_width() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ -- 2.11.0