Refactor common macros used in tests.
authorBruno Haible <bruno@clisp.org>
Thu, 24 Dec 2009 20:01:42 +0000 (21:01 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 24 Dec 2009 20:01:42 +0000 (21:01 +0100)
853 files changed:
ChangeLog
modules/acl-tests
modules/areadlink-tests
modules/areadlink-with-size-tests
modules/areadlinkat-tests
modules/areadlinkat-with-size-tests
modules/argmatch-tests
modules/argv-iter-tests
modules/array-list-tests
modules/array-mergesort-tests
modules/array-oset-tests
modules/avltree-list-tests
modules/avltree-oset-tests
modules/avltreehash-list-tests
modules/base64-tests
modules/binary-io-tests
modules/bitrotate-tests
modules/btowc-tests
modules/byteswap-tests
modules/c-ctype-tests
modules/c-stack-tests
modules/c-strcase-tests
modules/c-strcasestr-tests
modules/c-strstr-tests
modules/canonicalize-lgpl-tests
modules/canonicalize-tests
modules/carray-list-tests
modules/ceilf-tests
modules/ceill-tests
modules/chown-tests
modules/cloexec-tests
modules/copy-file-tests
modules/count-one-bits-tests
modules/dprintf-posix-tests
modules/dup2-tests
modules/dup3-tests
modules/duplocale-tests
modules/fbufmode-tests
modules/fchdir-tests
modules/fcntl-safer-tests
modules/fcntl-tests
modules/fdopendir-tests
modules/fdutimensat-tests
modules/fflush-tests
modules/filevercmp-tests
modules/flock-tests
modules/floorf-tests
modules/floorl-tests
modules/fnmatch-tests
modules/fopen-safer-tests
modules/fopen-tests
modules/fpending-tests
modules/fprintf-posix-tests
modules/fpurge-tests
modules/freadable-tests
modules/freadahead-tests
modules/freading-tests
modules/freadptr-tests
modules/freadseek-tests
modules/freopen-tests
modules/frexp-nolibm-tests
modules/frexp-tests
modules/frexpl-nolibm-tests
modules/frexpl-tests
modules/fseek-tests
modules/fseeko-tests
modules/fstrcmp-tests
modules/fsync-tests
modules/ftell-tests
modules/ftello-tests
modules/func-tests
modules/futimens-tests
modules/fwritable-tests
modules/fwriting-tests
modules/getcwd-tests
modules/getdate-tests
modules/getdelim-tests
modules/getdtablesize-tests
modules/getgroups-tests
modules/getline-tests
modules/getndelim2-tests
modules/glob-tests
modules/hash-tests
modules/i-ring-tests
modules/iconv-tests
modules/iconv_open-utf-tests
modules/idpriv-drop-tests
modules/idpriv-droptemp-tests
modules/inet_ntop-tests
modules/inet_pton-tests
modules/isblank-tests
modules/isfinite-tests
modules/isinf-tests
modules/isnan-tests
modules/isnand-nolibm-tests
modules/isnand-tests
modules/isnanf-nolibm-tests
modules/isnanf-tests
modules/isnanl-nolibm-tests
modules/isnanl-tests
modules/lchown-tests
modules/ldexpl-tests
modules/link-tests
modules/linkat-tests
modules/linked-list-tests
modules/linkedhash-list-tests
modules/localename-tests
modules/lseek-tests
modules/lstat-tests
modules/mbmemcasecmp-tests
modules/mbmemcasecoll-tests
modules/mbrtowc-tests
modules/mbscasecmp-tests
modules/mbscasestr-tests
modules/mbschr-tests
modules/mbscspn-tests
modules/mbsinit-tests
modules/mbsncasecmp-tests
modules/mbsnrtowcs-tests
modules/mbspbrk-tests
modules/mbspcasecmp-tests
modules/mbsrchr-tests
modules/mbsrtowcs-tests
modules/mbsspn-tests
modules/mbsstr-tests
modules/memchr-tests
modules/memchr2-tests
modules/memcmp-tests
modules/memmem-tests
modules/memrchr-tests
modules/mkdir-tests
modules/mkfifo-tests
modules/mkfifoat-tests
modules/mknod-tests
modules/nanosleep-tests
modules/nl_langinfo-tests
modules/obstack-printf-tests
modules/open-tests
modules/openat-tests
modules/pipe-filter-gi-tests
modules/pipe-filter-ii-tests
modules/pipe2-tests
modules/popen-safer-tests
modules/popen-tests
modules/posixtm-tests
modules/pread-tests
modules/printf-frexp-tests
modules/printf-frexpl-tests
modules/printf-posix-tests
modules/priv-set-tests
modules/quotearg-tests
modules/random_r-tests
modules/rawmemchr-tests
modules/rbtree-list-tests
modules/rbtree-oset-tests
modules/rbtreehash-list-tests
modules/readlink-tests
modules/remove-tests
modules/rename-tests
modules/renameat-tests
modules/rmdir-tests
modules/round-tests
modules/roundf-tests
modules/roundl-tests
modules/safe-alloc-tests
modules/setenv-tests
modules/sigaction-tests
modules/signbit-tests
modules/sleep-tests
modules/snprintf-posix-tests
modules/snprintf-tests
modules/sprintf-posix-tests
modules/stat-tests
modules/stat-time-tests
modules/strcasestr-tests
modules/strchrnul-tests
modules/strerror-tests
modules/striconv-tests
modules/striconveh-tests
modules/striconveha-tests
modules/strsignal-tests
modules/strstr-tests
modules/strtod-tests
modules/strverscmp-tests
modules/symlink-tests
modules/symlinkat-tests
modules/trunc-tests
modules/truncf-tests
modules/truncl-tests
modules/uname-tests
modules/unicase/cased-tests
modules/unicase/ignorable-tests
modules/unicase/locale-language-tests
modules/unicase/tolower-tests
modules/unicase/totitle-tests
modules/unicase/toupper-tests
modules/unicase/u16-casecmp-tests
modules/unicase/u16-casecoll-tests
modules/unicase/u16-casefold-tests
modules/unicase/u16-is-cased-tests
modules/unicase/u16-is-casefolded-tests
modules/unicase/u16-is-lowercase-tests
modules/unicase/u16-is-titlecase-tests
modules/unicase/u16-is-uppercase-tests
modules/unicase/u16-tolower-tests
modules/unicase/u16-totitle-tests
modules/unicase/u16-toupper-tests
modules/unicase/u32-casecmp-tests
modules/unicase/u32-casecoll-tests
modules/unicase/u32-casefold-tests
modules/unicase/u32-is-cased-tests
modules/unicase/u32-is-casefolded-tests
modules/unicase/u32-is-lowercase-tests
modules/unicase/u32-is-titlecase-tests
modules/unicase/u32-is-uppercase-tests
modules/unicase/u32-tolower-tests
modules/unicase/u32-totitle-tests
modules/unicase/u32-toupper-tests
modules/unicase/u8-casecmp-tests
modules/unicase/u8-casecoll-tests
modules/unicase/u8-casefold-tests
modules/unicase/u8-is-cased-tests
modules/unicase/u8-is-casefolded-tests
modules/unicase/u8-is-lowercase-tests
modules/unicase/u8-is-titlecase-tests
modules/unicase/u8-is-uppercase-tests
modules/unicase/u8-tolower-tests
modules/unicase/u8-totitle-tests
modules/unicase/u8-toupper-tests
modules/unicase/ulc-casecmp-tests
modules/unicase/ulc-casecoll-tests
modules/uniconv/u16-conv-from-enc-tests
modules/uniconv/u16-conv-to-enc-tests
modules/uniconv/u16-strconv-from-enc-tests
modules/uniconv/u16-strconv-to-enc-tests
modules/uniconv/u32-conv-from-enc-tests
modules/uniconv/u32-conv-to-enc-tests
modules/uniconv/u32-strconv-from-enc-tests
modules/uniconv/u32-strconv-to-enc-tests
modules/uniconv/u8-conv-from-enc-tests
modules/uniconv/u8-conv-to-enc-tests
modules/uniconv/u8-strconv-from-enc-tests
modules/uniconv/u8-strconv-to-enc-tests
modules/unictype/bidicategory-byname-tests
modules/unictype/bidicategory-name-tests
modules/unictype/bidicategory-of-tests
modules/unictype/bidicategory-test-tests
modules/unictype/block-list-tests
modules/unictype/block-of-tests
modules/unictype/block-test-tests
modules/unictype/category-C-tests
modules/unictype/category-Cc-tests
modules/unictype/category-Cf-tests
modules/unictype/category-Cn-tests
modules/unictype/category-Co-tests
modules/unictype/category-Cs-tests
modules/unictype/category-L-tests
modules/unictype/category-Ll-tests
modules/unictype/category-Lm-tests
modules/unictype/category-Lo-tests
modules/unictype/category-Lt-tests
modules/unictype/category-Lu-tests
modules/unictype/category-M-tests
modules/unictype/category-Mc-tests
modules/unictype/category-Me-tests
modules/unictype/category-Mn-tests
modules/unictype/category-N-tests
modules/unictype/category-Nd-tests
modules/unictype/category-Nl-tests
modules/unictype/category-No-tests
modules/unictype/category-P-tests
modules/unictype/category-Pc-tests
modules/unictype/category-Pd-tests
modules/unictype/category-Pe-tests
modules/unictype/category-Pf-tests
modules/unictype/category-Pi-tests
modules/unictype/category-Po-tests
modules/unictype/category-Ps-tests
modules/unictype/category-S-tests
modules/unictype/category-Sc-tests
modules/unictype/category-Sk-tests
modules/unictype/category-Sm-tests
modules/unictype/category-So-tests
modules/unictype/category-Z-tests
modules/unictype/category-Zl-tests
modules/unictype/category-Zp-tests
modules/unictype/category-Zs-tests
modules/unictype/category-and-not-tests
modules/unictype/category-and-tests
modules/unictype/category-byname-tests
modules/unictype/category-name-tests
modules/unictype/category-none-tests
modules/unictype/category-of-tests
modules/unictype/category-or-tests
modules/unictype/category-test-withtable-tests
modules/unictype/combining-class-tests
modules/unictype/ctype-alnum-tests
modules/unictype/ctype-alpha-tests
modules/unictype/ctype-blank-tests
modules/unictype/ctype-cntrl-tests
modules/unictype/ctype-digit-tests
modules/unictype/ctype-graph-tests
modules/unictype/ctype-lower-tests
modules/unictype/ctype-print-tests
modules/unictype/ctype-punct-tests
modules/unictype/ctype-space-tests
modules/unictype/ctype-upper-tests
modules/unictype/ctype-xdigit-tests
modules/unictype/decimal-digit-tests
modules/unictype/digit-tests
modules/unictype/mirror-tests
modules/unictype/numeric-tests
modules/unictype/property-alphabetic-tests
modules/unictype/property-ascii-hex-digit-tests
modules/unictype/property-bidi-arabic-digit-tests
modules/unictype/property-bidi-arabic-right-to-left-tests
modules/unictype/property-bidi-block-separator-tests
modules/unictype/property-bidi-boundary-neutral-tests
modules/unictype/property-bidi-common-separator-tests
modules/unictype/property-bidi-control-tests
modules/unictype/property-bidi-embedding-or-override-tests
modules/unictype/property-bidi-eur-num-separator-tests
modules/unictype/property-bidi-eur-num-terminator-tests
modules/unictype/property-bidi-european-digit-tests
modules/unictype/property-bidi-hebrew-right-to-left-tests
modules/unictype/property-bidi-left-to-right-tests
modules/unictype/property-bidi-non-spacing-mark-tests
modules/unictype/property-bidi-other-neutral-tests
modules/unictype/property-bidi-pdf-tests
modules/unictype/property-bidi-segment-separator-tests
modules/unictype/property-bidi-whitespace-tests
modules/unictype/property-byname-tests
modules/unictype/property-combining-tests
modules/unictype/property-composite-tests
modules/unictype/property-currency-symbol-tests
modules/unictype/property-dash-tests
modules/unictype/property-decimal-digit-tests
modules/unictype/property-default-ignorable-code-point-tests
modules/unictype/property-deprecated-tests
modules/unictype/property-diacritic-tests
modules/unictype/property-extender-tests
modules/unictype/property-format-control-tests
modules/unictype/property-grapheme-base-tests
modules/unictype/property-grapheme-extend-tests
modules/unictype/property-grapheme-link-tests
modules/unictype/property-hex-digit-tests
modules/unictype/property-hyphen-tests
modules/unictype/property-id-continue-tests
modules/unictype/property-id-start-tests
modules/unictype/property-ideographic-tests
modules/unictype/property-ids-binary-operator-tests
modules/unictype/property-ids-trinary-operator-tests
modules/unictype/property-ignorable-control-tests
modules/unictype/property-iso-control-tests
modules/unictype/property-join-control-tests
modules/unictype/property-left-of-pair-tests
modules/unictype/property-line-separator-tests
modules/unictype/property-logical-order-exception-tests
modules/unictype/property-lowercase-tests
modules/unictype/property-math-tests
modules/unictype/property-non-break-tests
modules/unictype/property-not-a-character-tests
modules/unictype/property-numeric-tests
modules/unictype/property-other-alphabetic-tests
modules/unictype/property-other-default-ignorable-code-point-tests
modules/unictype/property-other-grapheme-extend-tests
modules/unictype/property-other-id-continue-tests
modules/unictype/property-other-id-start-tests
modules/unictype/property-other-lowercase-tests
modules/unictype/property-other-math-tests
modules/unictype/property-other-uppercase-tests
modules/unictype/property-paired-punctuation-tests
modules/unictype/property-paragraph-separator-tests
modules/unictype/property-pattern-syntax-tests
modules/unictype/property-pattern-white-space-tests
modules/unictype/property-private-use-tests
modules/unictype/property-punctuation-tests
modules/unictype/property-quotation-mark-tests
modules/unictype/property-radical-tests
modules/unictype/property-sentence-terminal-tests
modules/unictype/property-soft-dotted-tests
modules/unictype/property-space-tests
modules/unictype/property-terminal-punctuation-tests
modules/unictype/property-test-tests
modules/unictype/property-titlecase-tests
modules/unictype/property-unassigned-code-value-tests
modules/unictype/property-unified-ideograph-tests
modules/unictype/property-uppercase-tests
modules/unictype/property-variation-selector-tests
modules/unictype/property-white-space-tests
modules/unictype/property-xid-continue-tests
modules/unictype/property-xid-start-tests
modules/unictype/property-zero-width-tests
modules/unictype/scripts-tests
modules/unictype/syntax-c-ident-tests
modules/unictype/syntax-c-whitespace-tests
modules/unictype/syntax-java-ident-tests
modules/unictype/syntax-java-whitespace-tests
modules/unilbrk/u16-possible-linebreaks-tests
modules/unilbrk/u16-width-linebreaks-tests
modules/unilbrk/u32-possible-linebreaks-tests
modules/unilbrk/u32-width-linebreaks-tests
modules/unilbrk/u8-possible-linebreaks-tests
modules/unilbrk/u8-width-linebreaks-tests
modules/unilbrk/ulc-possible-linebreaks-tests
modules/unilbrk/ulc-width-linebreaks-tests
modules/uninorm/canonical-decomposition-tests
modules/uninorm/compat-decomposition-tests
modules/uninorm/composition-tests
modules/uninorm/decomposing-form-tests
modules/uninorm/decomposition-tests
modules/uninorm/filter-tests
modules/uninorm/nfc-tests
modules/uninorm/nfd-tests
modules/uninorm/nfkc-tests
modules/uninorm/nfkd-tests
modules/uninorm/u16-normcmp-tests
modules/uninorm/u16-normcoll-tests
modules/uninorm/u32-normcmp-tests
modules/uninorm/u32-normcoll-tests
modules/uninorm/u8-normcmp-tests
modules/uninorm/u8-normcoll-tests
modules/unistdio/u16-asnprintf-tests
modules/unistdio/u16-vasnprintf-tests
modules/unistdio/u16-vasprintf-tests
modules/unistdio/u16-vsnprintf-tests
modules/unistdio/u16-vsprintf-tests
modules/unistdio/u32-asnprintf-tests
modules/unistdio/u32-vasnprintf-tests
modules/unistdio/u32-vasprintf-tests
modules/unistdio/u32-vsnprintf-tests
modules/unistdio/u32-vsprintf-tests
modules/unistdio/u8-asnprintf-tests
modules/unistdio/u8-vasnprintf-tests
modules/unistdio/u8-vasprintf-tests
modules/unistdio/u8-vsnprintf-tests
modules/unistdio/u8-vsprintf-tests
modules/unistdio/ulc-asnprintf-tests
modules/unistdio/ulc-vasnprintf-tests
modules/unistdio/ulc-vasprintf-tests
modules/unistdio/ulc-vsnprintf-tests
modules/unistdio/ulc-vsprintf-tests
modules/uniwbrk/u16-wordbreaks-tests
modules/uniwbrk/u32-wordbreaks-tests
modules/uniwbrk/u8-wordbreaks-tests
modules/uniwbrk/ulc-wordbreaks-tests
modules/uniwidth/u16-strwidth-tests
modules/uniwidth/u16-width-tests
modules/uniwidth/u32-strwidth-tests
modules/uniwidth/u32-width-tests
modules/uniwidth/u8-strwidth-tests
modules/uniwidth/u8-width-tests
modules/uniwidth/width-tests
modules/unlink-tests
modules/unsetenv-tests
modules/usleep-tests
modules/utimens-tests
modules/utimensat-tests
modules/vasnprintf-posix-tests
modules/vasnprintf-tests
modules/vasprintf-posix-tests
modules/vasprintf-tests
modules/vdprintf-posix-tests
modules/vfprintf-posix-tests
modules/vprintf-posix-tests
modules/vsnprintf-posix-tests
modules/vsnprintf-tests
modules/vsprintf-posix-tests
modules/wcrtomb-tests
modules/wcsnrtombs-tests
modules/wcsrtombs-tests
modules/wctype-tests
modules/wcwidth-tests
modules/xmemdup0-tests
modules/xprintf-posix-tests
modules/xvasprintf-tests
tests/macros.h [new file with mode: 0644]
tests/test-areadlink-with-size.c
tests/test-areadlink.c
tests/test-areadlinkat-with-size.c
tests/test-areadlinkat.c
tests/test-argmatch.c
tests/test-argv-iter.c
tests/test-array-mergesort.c
tests/test-array_list.c
tests/test-array_oset.c
tests/test-avltree_list.c
tests/test-avltree_oset.c
tests/test-avltreehash_list.c
tests/test-base64.c
tests/test-binary-io.c
tests/test-bitrotate.c
tests/test-btowc.c
tests/test-byteswap.c
tests/test-c-ctype.c
tests/test-c-stack.c
tests/test-c-strcasecmp.c
tests/test-c-strcasestr.c
tests/test-c-strncasecmp.c
tests/test-c-strstr.c
tests/test-canonicalize-lgpl.c
tests/test-canonicalize.c
tests/test-carray_list.c
tests/test-ceilf1.c
tests/test-ceilf2.c
tests/test-ceill.c
tests/test-chown.c
tests/test-cloexec.c
tests/test-copy-acl.c
tests/test-copy-file.c
tests/test-count-one-bits.c
tests/test-dprintf-posix.c
tests/test-dup2.c
tests/test-dup3.c
tests/test-duplocale.c
tests/test-fbufmode.c
tests/test-fchdir.c
tests/test-fchownat.c
tests/test-fcntl-safer.c
tests/test-fcntl.c
tests/test-fdopendir.c
tests/test-fdutimensat.c
tests/test-fflush2.c
tests/test-file-has-acl.c
tests/test-filevercmp.c
tests/test-flock.c
tests/test-floorf1.c
tests/test-floorf2.c
tests/test-floorl.c
tests/test-fnmatch.c
tests/test-fopen.h
tests/test-fpending.c
tests/test-fprintf-posix.c
tests/test-fpurge.c
tests/test-freadable.c
tests/test-freadahead.c
tests/test-freading.c
tests/test-freadptr.c
tests/test-freadptr2.c
tests/test-freadseek.c
tests/test-freopen.c
tests/test-frexp.c
tests/test-frexpl.c
tests/test-fseek.c
tests/test-fseeko.c
tests/test-fstatat.c
tests/test-fstrcmp.c
tests/test-fsync.c
tests/test-ftell.c
tests/test-ftello.c
tests/test-func.c
tests/test-futimens.c
tests/test-fwritable.c
tests/test-fwriting.c
tests/test-getcwd.c
tests/test-getdate.c
tests/test-getdelim.c
tests/test-getdtablesize.c
tests/test-getgroups.c
tests/test-getline.c
tests/test-getndelim2.c
tests/test-glob.c
tests/test-hash.c
tests/test-i-ring.c
tests/test-iconv-utf.c
tests/test-iconv.c
tests/test-idpriv-drop.c
tests/test-idpriv-droptemp.c
tests/test-inet_ntop.c
tests/test-inet_pton.c
tests/test-isblank.c
tests/test-isfinite.c
tests/test-isinf.c
tests/test-isnan.c
tests/test-isnand.h
tests/test-isnanf.h
tests/test-isnanl.h
tests/test-lchown.c
tests/test-ldexpl.c
tests/test-link.c
tests/test-linkat.c
tests/test-linked_list.c
tests/test-linkedhash_list.c
tests/test-localename.c
tests/test-lseek.c
tests/test-lstat.c
tests/test-mbmemcasecmp.c
tests/test-mbmemcasecoll.c
tests/test-mbrtowc.c
tests/test-mbscasecmp.c
tests/test-mbscasestr1.c
tests/test-mbscasestr2.c
tests/test-mbscasestr3.c
tests/test-mbscasestr4.c
tests/test-mbschr.c
tests/test-mbscspn.c
tests/test-mbsinit.c
tests/test-mbsncasecmp.c
tests/test-mbsnrtowcs.c
tests/test-mbspbrk.c
tests/test-mbspcasecmp.c
tests/test-mbsrchr.c
tests/test-mbsrtowcs.c
tests/test-mbsspn.c
tests/test-mbsstr1.c
tests/test-mbsstr2.c
tests/test-mbsstr3.c
tests/test-memchr.c
tests/test-memchr2.c
tests/test-memcmp.c
tests/test-memmem.c
tests/test-memrchr.c
tests/test-mkdir.c
tests/test-mkdirat.c
tests/test-mkfifo.c
tests/test-mkfifoat.c
tests/test-mknod.c
tests/test-nanosleep.c
tests/test-nl_langinfo.c
tests/test-obstack-printf.c
tests/test-open.c
tests/test-openat.c
tests/test-pipe-filter-gi1.c
tests/test-pipe-filter-gi2-main.c
tests/test-pipe-filter-ii1.c
tests/test-pipe-filter-ii2-main.c
tests/test-pipe2.c
tests/test-popen.h
tests/test-posixtm.c
tests/test-pread.c
tests/test-printf-frexp.c
tests/test-printf-frexpl.c
tests/test-printf-posix.c
tests/test-priv-set.c
tests/test-quotearg.c
tests/test-random_r.c
tests/test-rawmemchr.c
tests/test-rbtree_list.c
tests/test-rbtree_oset.c
tests/test-rbtreehash_list.c
tests/test-readlink.c
tests/test-remove.c
tests/test-rename.c
tests/test-renameat.c
tests/test-rmdir.c
tests/test-round1.c
tests/test-roundf1.c
tests/test-roundl.c
tests/test-safe-alloc.c
tests/test-sameacls.c
tests/test-set-mode-acl.c
tests/test-setenv.c
tests/test-sigaction.c
tests/test-signbit.c
tests/test-sleep.c
tests/test-snprintf-posix.c
tests/test-snprintf.c
tests/test-sprintf-posix.c
tests/test-stat-time.c
tests/test-stat.c
tests/test-strcasestr.c
tests/test-strchrnul.c
tests/test-strerror.c
tests/test-striconv.c
tests/test-striconveh.c
tests/test-striconveha.c
tests/test-strsignal.c
tests/test-strstr.c
tests/test-strtod.c
tests/test-strverscmp.c
tests/test-symlink.c
tests/test-symlinkat.c
tests/test-trunc1.c
tests/test-trunc2.c
tests/test-truncf1.c
tests/test-truncf2.c
tests/test-truncl.c
tests/test-uname.c
tests/test-unlink.c
tests/test-unlinkat.c
tests/test-unsetenv.c
tests/test-usleep.c
tests/test-utimens.c
tests/test-utimensat.c
tests/test-vasnprintf-posix.c
tests/test-vasnprintf-posix2.c
tests/test-vasnprintf.c
tests/test-vasprintf-posix.c
tests/test-vasprintf.c
tests/test-vdprintf-posix.c
tests/test-vfprintf-posix.c
tests/test-vprintf-posix.c
tests/test-vsnprintf-posix.c
tests/test-vsnprintf.c
tests/test-vsprintf-posix.c
tests/test-wcrtomb.c
tests/test-wcsnrtombs.c
tests/test-wcsrtombs.c
tests/test-wctype.c
tests/test-wcwidth.c
tests/test-xfprintf-posix.c
tests/test-xmemdup0.c
tests/test-xprintf-posix.c
tests/test-xvasprintf.c
tests/unicase/test-locale-language.c
tests/unicase/test-mapping-part1.h
tests/unicase/test-predicate-part1.h
tests/unicase/test-u16-casecmp.c
tests/unicase/test-u16-casecoll.c
tests/unicase/test-u16-casefold.c
tests/unicase/test-u16-is-cased.c
tests/unicase/test-u16-is-casefolded.c
tests/unicase/test-u16-is-lowercase.c
tests/unicase/test-u16-is-titlecase.c
tests/unicase/test-u16-is-uppercase.c
tests/unicase/test-u16-tolower.c
tests/unicase/test-u16-totitle.c
tests/unicase/test-u16-toupper.c
tests/unicase/test-u32-casecmp.c
tests/unicase/test-u32-casecoll.c
tests/unicase/test-u32-casefold.c
tests/unicase/test-u32-is-cased.c
tests/unicase/test-u32-is-casefolded.c
tests/unicase/test-u32-is-lowercase.c
tests/unicase/test-u32-is-titlecase.c
tests/unicase/test-u32-is-uppercase.c
tests/unicase/test-u32-tolower.c
tests/unicase/test-u32-totitle.c
tests/unicase/test-u32-toupper.c
tests/unicase/test-u8-casecmp.c
tests/unicase/test-u8-casecoll.c
tests/unicase/test-u8-casefold.c
tests/unicase/test-u8-is-cased.c
tests/unicase/test-u8-is-casefolded.c
tests/unicase/test-u8-is-lowercase.c
tests/unicase/test-u8-is-titlecase.c
tests/unicase/test-u8-is-uppercase.c
tests/unicase/test-u8-tolower.c
tests/unicase/test-u8-totitle.c
tests/unicase/test-u8-toupper.c
tests/unicase/test-ulc-casecmp.c
tests/unicase/test-ulc-casecoll.c
tests/uniconv/test-u16-conv-from-enc.c
tests/uniconv/test-u16-conv-to-enc.c
tests/uniconv/test-u16-strconv-from-enc.c
tests/uniconv/test-u16-strconv-to-enc.c
tests/uniconv/test-u32-conv-from-enc.c
tests/uniconv/test-u32-conv-to-enc.c
tests/uniconv/test-u32-strconv-from-enc.c
tests/uniconv/test-u32-strconv-to-enc.c
tests/uniconv/test-u8-conv-from-enc.c
tests/uniconv/test-u8-conv-to-enc.c
tests/uniconv/test-u8-strconv-from-enc.c
tests/uniconv/test-u8-strconv-to-enc.c
tests/unictype/test-bidi_byname.c
tests/unictype/test-bidi_name.c
tests/unictype/test-bidi_of.c
tests/unictype/test-bidi_test.c
tests/unictype/test-block_list.c
tests/unictype/test-block_of.c
tests/unictype/test-block_test.c
tests/unictype/test-categ_and.c
tests/unictype/test-categ_and_not.c
tests/unictype/test-categ_byname.c
tests/unictype/test-categ_name.c
tests/unictype/test-categ_none.c
tests/unictype/test-categ_of.c
tests/unictype/test-categ_or.c
tests/unictype/test-categ_test_withtable.c
tests/unictype/test-combining.c
tests/unictype/test-decdigit.c
tests/unictype/test-digit.c
tests/unictype/test-mirror.c
tests/unictype/test-numeric.c
tests/unictype/test-pr_byname.c
tests/unictype/test-pr_test.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-scripts.c
tests/unictype/test-sy_c_ident.c
tests/unictype/test-sy_java_ident.c
tests/unilbrk/test-u16-possible-linebreaks.c
tests/unilbrk/test-u16-width-linebreaks.c
tests/unilbrk/test-u32-possible-linebreaks.c
tests/unilbrk/test-u32-width-linebreaks.c
tests/unilbrk/test-u8-possible-linebreaks.c
tests/unilbrk/test-u8-width-linebreaks.c
tests/unilbrk/test-ulc-possible-linebreaks.c
tests/unilbrk/test-ulc-width-linebreaks.c
tests/uninorm/test-canonical-decomposition.c
tests/uninorm/test-compat-decomposition.c
tests/uninorm/test-composition.c
tests/uninorm/test-decomposing-form.c
tests/uninorm/test-decomposition.c
tests/uninorm/test-u16-nfc.c
tests/uninorm/test-u16-nfd.c
tests/uninorm/test-u16-nfkc.c
tests/uninorm/test-u16-nfkd.c
tests/uninorm/test-u16-normcmp.c
tests/uninorm/test-u16-normcoll.c
tests/uninorm/test-u32-nfc.c
tests/uninorm/test-u32-nfd.c
tests/uninorm/test-u32-nfkc.c
tests/uninorm/test-u32-nfkd.c
tests/uninorm/test-u32-normalize-big.c
tests/uninorm/test-u32-normcmp.c
tests/uninorm/test-u32-normcoll.c
tests/uninorm/test-u8-nfc.c
tests/uninorm/test-u8-nfd.c
tests/uninorm/test-u8-nfkc.c
tests/uninorm/test-u8-nfkd.c
tests/uninorm/test-u8-normcmp.c
tests/uninorm/test-u8-normcoll.c
tests/uninorm/test-uninorm-filter-nfc.c
tests/unistdio/test-u16-asnprintf1.c
tests/unistdio/test-u16-vasnprintf1.c
tests/unistdio/test-u16-vasnprintf2.c
tests/unistdio/test-u16-vasnprintf3.c
tests/unistdio/test-u16-vasprintf1.c
tests/unistdio/test-u16-vsnprintf1.c
tests/unistdio/test-u16-vsprintf1.c
tests/unistdio/test-u32-asnprintf1.c
tests/unistdio/test-u32-vasnprintf1.c
tests/unistdio/test-u32-vasnprintf2.c
tests/unistdio/test-u32-vasnprintf3.c
tests/unistdio/test-u32-vasprintf1.c
tests/unistdio/test-u32-vsnprintf1.c
tests/unistdio/test-u32-vsprintf1.c
tests/unistdio/test-u8-asnprintf1.c
tests/unistdio/test-u8-vasnprintf1.c
tests/unistdio/test-u8-vasnprintf2.c
tests/unistdio/test-u8-vasnprintf3.c
tests/unistdio/test-u8-vasprintf1.c
tests/unistdio/test-u8-vsnprintf1.c
tests/unistdio/test-u8-vsprintf1.c
tests/unistdio/test-ulc-asnprintf1.c
tests/unistdio/test-ulc-vasnprintf1.c
tests/unistdio/test-ulc-vasnprintf2.c
tests/unistdio/test-ulc-vasnprintf3.c
tests/unistdio/test-ulc-vasprintf1.c
tests/unistdio/test-ulc-vsnprintf1.c
tests/unistdio/test-ulc-vsprintf1.c
tests/uniwbrk/test-u16-wordbreaks.c
tests/uniwbrk/test-u32-wordbreaks.c
tests/uniwbrk/test-u8-wordbreaks.c
tests/uniwbrk/test-ulc-wordbreaks.c
tests/uniwidth/test-u16-strwidth.c
tests/uniwidth/test-u16-width.c
tests/uniwidth/test-u32-strwidth.c
tests/uniwidth/test-u32-width.c
tests/uniwidth/test-u8-strwidth.c
tests/uniwidth/test-u8-width.c
tests/uniwidth/test-uc_width.c
tests/uniwidth/test-uc_width2.c

index 16e5a99..98ea48c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,878 @@
+2009-12-24  Bruno Haible  <bruno@clisp.org>
+
+       Refactor common macros used in tests.
+       * tests/macros.h: New file.
+       * tests/test-areadlink.c: Include macros.h. Don't include <stdio.h>
+       and/or <stdlib.h>, if appropriate.
+       (ASSERT, SIZEOF): Remove macros.
+       * tests/test-areadlink-with-size.c: Likewise.
+       * tests/test-areadlinkat.c: Likewise.
+       * tests/test-areadlinkat-with-size.c: Likewise.
+       * tests/test-argmatch.c: Likewise.
+       * tests/test-argv-iter.c: Likewise.
+       * tests/test-array-mergesort.c: Likewise.
+       * tests/test-array_list.c: Likewise.
+       * tests/test-array_oset.c: Likewise.
+       * tests/test-avltree_list.c: Likewise.
+       * tests/test-avltree_oset.c: Likewise.
+       * tests/test-avltreehash_list.c: Likewise.
+       * tests/test-base64.c: Likewise.
+       * tests/test-binary-io.c: Likewise.
+       * tests/test-bitrotate.c: Likewise.
+       * tests/test-btowc.c: Likewise.
+       * tests/test-byteswap.c: Likewise.
+       * tests/test-c-ctype.c: Likewise.
+       * tests/test-c-stack.c: Likewise.
+       * tests/test-c-strcasecmp.c: Likewise.
+       * tests/test-c-strcasestr.c: Likewise.
+       * tests/test-c-strncasecmp.c: Likewise.
+       * tests/test-c-strstr.c: Likewise.
+       * tests/test-canonicalize-lgpl.c: Likewise.
+       * tests/test-canonicalize.c: Likewise.
+       * tests/test-carray_list.c: Likewise.
+       * tests/test-ceilf1.c: Likewise.
+       * tests/test-ceilf2.c: Likewise.
+       * tests/test-ceill.c: Likewise.
+       * tests/test-chown.c: Likewise.
+       * tests/test-cloexec.c: Likewise.
+       * tests/test-copy-acl.c: Likewise.
+       * tests/test-copy-file.c: Likewise.
+       * tests/test-count-one-bits.c: Likewise.
+       * tests/test-dprintf-posix.c: Likewise.
+       * tests/test-dup2.c: Likewise.
+       * tests/test-dup3.c: Likewise.
+       * tests/test-duplocale.c: Likewise.
+       * tests/test-fbufmode.c: Likewise.
+       * tests/test-fchdir.c: Likewise.
+       * tests/test-fchownat.c: Likewise.
+       * tests/test-fcntl-safer.c: Likewise.
+       * tests/test-fcntl.c: Likewise.
+       * tests/test-fdopendir.c: Likewise.
+       * tests/test-fdutimensat.c: Likewise.
+       * tests/test-fflush2.c: Likewise.
+       * tests/test-file-has-acl.c: Likewise.
+       * tests/test-filevercmp.c: Likewise.
+       * tests/test-flock.c: Likewise.
+       * tests/test-floorf1.c: Likewise.
+       * tests/test-floorf2.c: Likewise.
+       * tests/test-floorl.c: Likewise.
+       * tests/test-fnmatch.c: Likewise.
+       * tests/test-fopen.h: Likewise.
+       * tests/test-fpending.c: Likewise.
+       * tests/test-fprintf-posix.c: Likewise.
+       * tests/test-fpurge.c: Likewise.
+       * tests/test-freadable.c: Likewise.
+       * tests/test-freadahead.c: Likewise.
+       * tests/test-freading.c: Likewise.
+       * tests/test-freadptr.c: Likewise.
+       * tests/test-freadptr2.c: Likewise.
+       * tests/test-freadseek.c: Likewise.
+       * tests/test-freopen.c: Likewise.
+       * tests/test-frexp.c: Likewise.
+       * tests/test-frexpl.c: Likewise.
+       * tests/test-fseek.c: Likewise.
+       * tests/test-fseeko.c: Likewise.
+       * tests/test-fstatat.c: Likewise.
+       * tests/test-fstrcmp.c: Likewise.
+       * tests/test-fsync.c: Likewise.
+       * tests/test-ftell.c: Likewise.
+       * tests/test-ftello.c: Likewise.
+       * tests/test-func.c: Likewise.
+       * tests/test-futimens.c: Likewise.
+       * tests/test-fwritable.c: Likewise.
+       * tests/test-fwriting.c: Likewise.
+       * tests/test-getcwd.c: Likewise.
+       * tests/test-getdate.c: Likewise.
+       * tests/test-getdelim.c: Likewise.
+       * tests/test-getdtablesize.c: Likewise.
+       * tests/test-getgroups.c: Likewise.
+       * tests/test-getline.c: Likewise.
+       * tests/test-getndelim2.c: Likewise.
+       * tests/test-glob.c: Likewise.
+       * tests/test-hash.c: Likewise.
+       * tests/test-i-ring.c: Likewise.
+       * tests/test-iconv-utf.c: Likewise.
+       * tests/test-iconv.c: Likewise.
+       * tests/test-idpriv-drop.c: Likewise.
+       * tests/test-idpriv-droptemp.c: Likewise.
+       * tests/test-inet_ntop.c: Likewise.
+       * tests/test-inet_pton.c: Likewise.
+       * tests/test-isblank.c: Likewise.
+       * tests/test-isfinite.c: Likewise.
+       * tests/test-isinf.c: Likewise.
+       * tests/test-isnan.c: Likewise.
+       * tests/test-isnand.h: Likewise.
+       * tests/test-isnanf.h: Likewise.
+       * tests/test-isnanl.h: Likewise.
+       * tests/test-lchown.c: Likewise.
+       * tests/test-ldexpl.c: Likewise.
+       * tests/test-link.c: Likewise.
+       * tests/test-linkat.c: Likewise.
+       * tests/test-linked_list.c: Likewise.
+       * tests/test-linkedhash_list.c: Likewise.
+       * tests/test-localename.c: Likewise.
+       * tests/test-lseek.c: Likewise.
+       * tests/test-lstat.c: Likewise.
+       * tests/test-mbmemcasecmp.c: Likewise.
+       * tests/test-mbmemcasecoll.c: Likewise.
+       * tests/test-mbrtowc.c: Likewise.
+       * tests/test-mbscasecmp.c: Likewise.
+       * tests/test-mbscasestr1.c: Likewise.
+       * tests/test-mbscasestr2.c: Likewise.
+       * tests/test-mbscasestr3.c: Likewise.
+       * tests/test-mbscasestr4.c: Likewise.
+       * tests/test-mbschr.c: Likewise.
+       * tests/test-mbscspn.c: Likewise.
+       * tests/test-mbsinit.c: Likewise.
+       * tests/test-mbsncasecmp.c: Likewise.
+       * tests/test-mbsnrtowcs.c: Likewise.
+       * tests/test-mbspbrk.c: Likewise.
+       * tests/test-mbspcasecmp.c: Likewise.
+       * tests/test-mbsrchr.c: Likewise.
+       * tests/test-mbsrtowcs.c: Likewise.
+       * tests/test-mbsspn.c: Likewise.
+       * tests/test-mbsstr1.c: Likewise.
+       * tests/test-mbsstr2.c: Likewise.
+       * tests/test-mbsstr3.c: Likewise.
+       * tests/test-memchr.c: Likewise.
+       * tests/test-memchr2.c: Likewise.
+       * tests/test-memcmp.c: Likewise.
+       * tests/test-memmem.c: Likewise.
+       * tests/test-memrchr.c: Likewise.
+       * tests/test-mkdir.c: Likewise.
+       * tests/test-mkdirat.c: Likewise.
+       * tests/test-mkfifo.c: Likewise.
+       * tests/test-mkfifoat.c: Likewise.
+       * tests/test-mknod.c: Likewise.
+       * tests/test-nanosleep.c: Likewise.
+       * tests/test-nl_langinfo.c: Likewise.
+       * tests/test-obstack-printf.c: Likewise.
+       * tests/test-open.c: Likewise.
+       * tests/test-openat.c: Likewise.
+       * tests/test-pipe-filter-gi1.c: Likewise.
+       * tests/test-pipe-filter-gi2-main.c: Likewise.
+       * tests/test-pipe-filter-ii1.c: Likewise.
+       * tests/test-pipe-filter-ii2-main.c: Likewise.
+       * tests/test-pipe2.c: Likewise.
+       * tests/test-popen.h: Likewise.
+       * tests/test-posixtm.c: Likewise.
+       * tests/test-pread.c: Likewise.
+       * tests/test-printf-frexp.c: Likewise.
+       * tests/test-printf-frexpl.c: Likewise.
+       * tests/test-printf-posix.c: Likewise.
+       * tests/test-priv-set.c: Likewise.
+       * tests/test-quotearg.c: Likewise.
+       * tests/test-random_r.c: Likewise.
+       * tests/test-rawmemchr.c: Likewise.
+       * tests/test-rbtree_list.c: Likewise.
+       * tests/test-rbtree_oset.c: Likewise.
+       * tests/test-rbtreehash_list.c: Likewise.
+       * tests/test-readlink.c: Likewise.
+       * tests/test-remove.c: Likewise.
+       * tests/test-rename.c: Likewise.
+       * tests/test-renameat.c: Likewise.
+       * tests/test-rmdir.c: Likewise.
+       * tests/test-round1.c: Likewise.
+       * tests/test-roundf1.c: Likewise.
+       * tests/test-roundl.c: Likewise.
+       * tests/test-safe-alloc.c: Likewise.
+       * tests/test-sameacls.c: Likewise.
+       * tests/test-set-mode-acl.c: Likewise.
+       * tests/test-setenv.c: Likewise.
+       * tests/test-sigaction.c: Likewise.
+       * tests/test-signbit.c: Likewise.
+       * tests/test-sleep.c: Likewise.
+       * tests/test-snprintf-posix.c: Likewise.
+       * tests/test-snprintf.c: Likewise.
+       * tests/test-sprintf-posix.c: Likewise.
+       * tests/test-stat-time.c: Likewise.
+       * tests/test-stat.c: Likewise.
+       * tests/test-strcasestr.c: Likewise.
+       * tests/test-strchrnul.c: Likewise.
+       * tests/test-strerror.c: Likewise.
+       * tests/test-striconv.c: Likewise.
+       * tests/test-striconveh.c: Likewise.
+       * tests/test-striconveha.c: Likewise.
+       * tests/test-strsignal.c: Likewise.
+       * tests/test-strstr.c: Likewise.
+       * tests/test-strtod.c: Likewise.
+       * tests/test-strverscmp.c: Likewise.
+       * tests/test-symlink.c: Likewise.
+       * tests/test-symlinkat.c: Likewise.
+       * tests/test-trunc1.c: Likewise.
+       * tests/test-trunc2.c: Likewise.
+       * tests/test-truncf1.c: Likewise.
+       * tests/test-truncf2.c: Likewise.
+       * tests/test-truncl.c: Likewise.
+       * tests/test-uname.c: Likewise.
+       * tests/test-unlink.c: Likewise.
+       * tests/test-unlinkat.c: Likewise.
+       * tests/test-unsetenv.c: Likewise.
+       * tests/test-usleep.c: Likewise.
+       * tests/test-utimens.c: Likewise.
+       * tests/test-utimensat.c: Likewise.
+       * tests/test-vasnprintf-posix.c: Likewise.
+       * tests/test-vasnprintf-posix2.c: Likewise.
+       * tests/test-vasnprintf.c: Likewise.
+       * tests/test-vasprintf-posix.c: Likewise.
+       * tests/test-vasprintf.c: Likewise.
+       * tests/test-vdprintf-posix.c: Likewise.
+       * tests/test-vfprintf-posix.c: Likewise.
+       * tests/test-vprintf-posix.c: Likewise.
+       * tests/test-vsnprintf-posix.c: Likewise.
+       * tests/test-vsnprintf.c: Likewise.
+       * tests/test-vsprintf-posix.c: Likewise.
+       * tests/test-wcrtomb.c: Likewise.
+       * tests/test-wcsnrtombs.c: Likewise.
+       * tests/test-wcsrtombs.c: Likewise.
+       * tests/test-wctype.c: Likewise.
+       * tests/test-wcwidth.c: Likewise.
+       * tests/test-xfprintf-posix.c: Likewise.
+       * tests/test-xmemdup0.c: Likewise.
+       * tests/test-xprintf-posix.c: Likewise.
+       * tests/test-xvasprintf.c: Likewise.
+       * tests/unicase/test-locale-language.c: Likewise.
+       * tests/unicase/test-mapping-part1.h: Likewise.
+       * tests/unicase/test-predicate-part1.h: Likewise.
+       * tests/unicase/test-u8-casecmp.c: Likewise.
+       * tests/unicase/test-u8-casecoll.c: Likewise.
+       * tests/unicase/test-u8-casefold.c: Likewise.
+       * tests/unicase/test-u8-is-cased.c: Likewise.
+       * tests/unicase/test-u8-is-casefolded.c: Likewise.
+       * tests/unicase/test-u8-is-lowercase.c: Likewise.
+       * tests/unicase/test-u8-is-titlecase.c: Likewise.
+       * tests/unicase/test-u8-is-uppercase.c: Likewise.
+       * tests/unicase/test-u8-tolower.c: Likewise.
+       * tests/unicase/test-u8-totitle.c: Likewise.
+       * tests/unicase/test-u8-toupper.c: Likewise.
+       * tests/unicase/test-u16-casecmp.c: Likewise.
+       * tests/unicase/test-u16-casecoll.c: Likewise.
+       * tests/unicase/test-u16-casefold.c: Likewise.
+       * tests/unicase/test-u16-is-cased.c: Likewise.
+       * tests/unicase/test-u16-is-casefolded.c: Likewise.
+       * tests/unicase/test-u16-is-lowercase.c: Likewise.
+       * tests/unicase/test-u16-is-titlecase.c: Likewise.
+       * tests/unicase/test-u16-is-uppercase.c: Likewise.
+       * tests/unicase/test-u16-tolower.c: Likewise.
+       * tests/unicase/test-u16-totitle.c: Likewise.
+       * tests/unicase/test-u16-toupper.c: Likewise.
+       * tests/unicase/test-u32-casecmp.c: Likewise.
+       * tests/unicase/test-u32-casecoll.c: Likewise.
+       * tests/unicase/test-u32-casefold.c: Likewise.
+       * tests/unicase/test-u32-is-cased.c: Likewise.
+       * tests/unicase/test-u32-is-casefolded.c: Likewise.
+       * tests/unicase/test-u32-is-lowercase.c: Likewise.
+       * tests/unicase/test-u32-is-titlecase.c: Likewise.
+       * tests/unicase/test-u32-is-uppercase.c: Likewise.
+       * tests/unicase/test-u32-tolower.c: Likewise.
+       * tests/unicase/test-u32-totitle.c: Likewise.
+       * tests/unicase/test-u32-toupper.c: Likewise.
+       * tests/unicase/test-ulc-casecmp.c: Likewise.
+       * tests/unicase/test-ulc-casecoll.c: Likewise.
+       * tests/uniconv/test-u8-conv-from-enc.c: Likewise.
+       * tests/uniconv/test-u8-conv-to-enc.c: Likewise.
+       * tests/uniconv/test-u8-strconv-from-enc.c: Likewise.
+       * tests/uniconv/test-u8-strconv-to-enc.c: Likewise.
+       * tests/uniconv/test-u16-conv-from-enc.c: Likewise.
+       * tests/uniconv/test-u16-conv-to-enc.c: Likewise.
+       * tests/uniconv/test-u16-strconv-from-enc.c: Likewise.
+       * tests/uniconv/test-u16-strconv-to-enc.c: Likewise.
+       * tests/uniconv/test-u32-conv-from-enc.c: Likewise.
+       * tests/uniconv/test-u32-conv-to-enc.c: Likewise.
+       * tests/uniconv/test-u32-strconv-from-enc.c: Likewise.
+       * tests/uniconv/test-u32-strconv-to-enc.c: Likewise.
+       * tests/unictype/test-bidi_byname.c: Likewise.
+       * tests/unictype/test-bidi_name.c: Likewise.
+       * tests/unictype/test-bidi_of.c: Likewise.
+       * tests/unictype/test-bidi_test.c: Likewise.
+       * tests/unictype/test-block_list.c: Likewise.
+       * tests/unictype/test-block_of.c: Likewise.
+       * tests/unictype/test-block_test.c: Likewise.
+       * tests/unictype/test-categ_and.c: Likewise.
+       * tests/unictype/test-categ_and_not.c: Likewise.
+       * tests/unictype/test-categ_byname.c: Likewise.
+       * tests/unictype/test-categ_name.c: Likewise.
+       * tests/unictype/test-categ_none.c: Likewise.
+       * tests/unictype/test-categ_of.c: Likewise.
+       * tests/unictype/test-categ_or.c: Likewise.
+       * tests/unictype/test-categ_test_withtable.c: Likewise.
+       * tests/unictype/test-combining.c: Likewise.
+       * tests/unictype/test-decdigit.c: Likewise.
+       * tests/unictype/test-digit.c: Likewise.
+       * tests/unictype/test-mirror.c: Likewise.
+       * tests/unictype/test-numeric.c: Likewise.
+       * tests/unictype/test-pr_byname.c: Likewise.
+       * tests/unictype/test-pr_test.c: Likewise.
+       * tests/unictype/test-predicate-part1.h: Likewise.
+       * tests/unictype/test-scripts.c: Likewise.
+       * tests/unictype/test-sy_c_ident.c: Likewise.
+       * tests/unictype/test-sy_java_ident.c: Likewise.
+       * tests/unilbrk/test-u8-possible-linebreaks.c: Likewise.
+       * tests/unilbrk/test-u8-width-linebreaks.c: Likewise.
+       * tests/unilbrk/test-u16-possible-linebreaks.c: Likewise.
+       * tests/unilbrk/test-u16-width-linebreaks.c: Likewise.
+       * tests/unilbrk/test-u32-possible-linebreaks.c: Likewise.
+       * tests/unilbrk/test-u32-width-linebreaks.c: Likewise.
+       * tests/unilbrk/test-ulc-possible-linebreaks.c: Likewise.
+       * tests/unilbrk/test-ulc-width-linebreaks.c: Likewise.
+       * tests/uninorm/test-canonical-decomposition.c: Likewise.
+       * tests/uninorm/test-compat-decomposition.c: Likewise.
+       * tests/uninorm/test-composition.c: Likewise.
+       * tests/uninorm/test-decomposing-form.c: Likewise.
+       * tests/uninorm/test-decomposition.c: Likewise.
+       * tests/uninorm/test-u8-nfc.c: Likewise.
+       * tests/uninorm/test-u8-nfd.c: Likewise.
+       * tests/uninorm/test-u8-nfkc.c: Likewise.
+       * tests/uninorm/test-u8-nfkd.c: Likewise.
+       * tests/uninorm/test-u8-normcmp.c: Likewise.
+       * tests/uninorm/test-u8-normcoll.c: Likewise.
+       * tests/uninorm/test-u16-nfc.c: Likewise.
+       * tests/uninorm/test-u16-nfd.c: Likewise.
+       * tests/uninorm/test-u16-nfkc.c: Likewise.
+       * tests/uninorm/test-u16-nfkd.c: Likewise.
+       * tests/uninorm/test-u16-normcmp.c: Likewise.
+       * tests/uninorm/test-u16-normcoll.c: Likewise.
+       * tests/uninorm/test-u32-nfc.c: Likewise.
+       * tests/uninorm/test-u32-nfd.c: Likewise.
+       * tests/uninorm/test-u32-nfkc.c: Likewise.
+       * tests/uninorm/test-u32-nfkd.c: Likewise.
+       * tests/uninorm/test-u32-normalize-big.c: Likewise.
+       * tests/uninorm/test-u32-normcmp.c: Likewise.
+       * tests/uninorm/test-u32-normcoll.c: Likewise.
+       * tests/uninorm/test-uninorm-filter-nfc.c: Likewise.
+       * tests/unistdio/test-u8-asnprintf1.c: Likewise.
+       * tests/unistdio/test-u8-vasnprintf1.c: Likewise.
+       * tests/unistdio/test-u8-vasnprintf2.c: Likewise.
+       * tests/unistdio/test-u8-vasnprintf3.c: Likewise.
+       * tests/unistdio/test-u8-vasprintf1.c: Likewise.
+       * tests/unistdio/test-u8-vsnprintf1.c: Likewise.
+       * tests/unistdio/test-u8-vsprintf1.c: Likewise.
+       * tests/unistdio/test-u16-asnprintf1.c: Likewise.
+       * tests/unistdio/test-u16-vasnprintf1.c: Likewise.
+       * tests/unistdio/test-u16-vasnprintf2.c: Likewise.
+       * tests/unistdio/test-u16-vasnprintf3.c: Likewise.
+       * tests/unistdio/test-u16-vasprintf1.c: Likewise.
+       * tests/unistdio/test-u16-vsnprintf1.c: Likewise.
+       * tests/unistdio/test-u16-vsprintf1.c: Likewise.
+       * tests/unistdio/test-u32-asnprintf1.c: Likewise.
+       * tests/unistdio/test-u32-vasnprintf1.c: Likewise.
+       * tests/unistdio/test-u32-vasnprintf2.c: Likewise.
+       * tests/unistdio/test-u32-vasnprintf3.c: Likewise.
+       * tests/unistdio/test-u32-vasprintf1.c: Likewise.
+       * tests/unistdio/test-u32-vsnprintf1.c: Likewise.
+       * tests/unistdio/test-u32-vsprintf1.c: Likewise.
+       * tests/unistdio/test-ulc-asnprintf1.c: Likewise.
+       * tests/unistdio/test-ulc-vasnprintf1.c: Likewise.
+       * tests/unistdio/test-ulc-vasnprintf2.c: Likewise.
+       * tests/unistdio/test-ulc-vasnprintf3.c: Likewise.
+       * tests/unistdio/test-ulc-vasprintf1.c: Likewise.
+       * tests/unistdio/test-ulc-vsnprintf1.c: Likewise.
+       * tests/unistdio/test-ulc-vsprintf1.c: Likewise.
+       * tests/uniwbrk/test-u8-wordbreaks.c: Likewise.
+       * tests/uniwbrk/test-u16-wordbreaks.c: Likewise.
+       * tests/uniwbrk/test-u32-wordbreaks.c: Likewise.
+       * tests/uniwbrk/test-ulc-wordbreaks.c: Likewise.
+       * tests/uniwidth/test-u8-strwidth.c: Likewise.
+       * tests/uniwidth/test-u8-width.c: Likewise.
+       * tests/uniwidth/test-u16-strwidth.c: Likewise.
+       * tests/uniwidth/test-u16-width.c: Likewise.
+       * tests/uniwidth/test-u32-strwidth.c: Likewise.
+       * tests/uniwidth/test-u32-width.c: Likewise.
+       * tests/uniwidth/test-uc_width.c: Likewise.
+       * tests/uniwidth/test-uc_width2.c: Likewise.
+       * modules/acl-tests (Files): Add tests/macros.h.
+       * modules/areadlink-tests (Files): Likewise.
+       * modules/areadlink-with-size-tests (Files): Likewise.
+       * modules/areadlinkat-tests (Files): Likewise.
+       * modules/areadlinkat-with-size-tests (Files): Likewise.
+       * modules/argmatch-tests (Files): Likewise.
+       * modules/argv-iter-tests (Files): Likewise.
+       * modules/array-list-tests (Files): Likewise.
+       * modules/array-mergesort-tests (Files): Likewise.
+       * modules/array-oset-tests (Files): Likewise.
+       * modules/avltree-list-tests (Files): Likewise.
+       * modules/avltree-oset-tests (Files): Likewise.
+       * modules/avltreehash-list-tests (Files): Likewise.
+       * modules/base64-tests (Files): Likewise.
+       * modules/binary-io-tests (Files): Likewise.
+       * modules/bitrotate-tests (Files): Likewise.
+       * modules/btowc-tests (Files): Likewise.
+       * modules/byteswap-tests (Files): Likewise.
+       * modules/c-ctype-tests (Files): Likewise.
+       * modules/c-stack-tests (Files): Likewise.
+       * modules/c-strcase-tests (Files): Likewise.
+       * modules/c-strcasestr-tests (Files): Likewise.
+       * modules/c-strstr-tests (Files): Likewise.
+       * modules/canonicalize-lgpl-tests (Files): Likewise.
+       * modules/canonicalize-tests (Files): Likewise.
+       * modules/carray-list-tests (Files): Likewise.
+       * modules/ceilf-tests (Files): Likewise.
+       * modules/ceill-tests (Files): Likewise.
+       * modules/chown-tests (Files): Likewise.
+       * modules/cloexec-tests (Files): Likewise.
+       * modules/copy-file-tests (Files): Likewise.
+       * modules/count-one-bits-tests (Files): Likewise.
+       * modules/dprintf-posix-tests (Files): Likewise.
+       * modules/dup2-tests (Files): Likewise.
+       * modules/dup3-tests (Files): Likewise.
+       * modules/duplocale-tests (Files): Likewise.
+       * modules/fbufmode-tests (Files): Likewise.
+       * modules/fchdir-tests (Files): Likewise.
+       * modules/fcntl-safer-tests (Files): Likewise.
+       * modules/fcntl-tests (Files): Likewise.
+       * modules/fdopendir-tests (Files): Likewise.
+       * modules/fdutimensat-tests (Files): Likewise.
+       * modules/fflush-tests (Files): Likewise.
+       * modules/filevercmp-tests (Files): Likewise.
+       * modules/flock-tests (Files): Likewise.
+       * modules/floorf-tests (Files): Likewise.
+       * modules/floorl-tests (Files): Likewise.
+       * modules/fnmatch-tests (Files): Likewise.
+       * modules/fopen-safer-tests (Files): Likewise.
+       * modules/fopen-tests (Files): Likewise.
+       * modules/fpending-tests (Files): Likewise.
+       * modules/fprintf-posix-tests (Files): Likewise.
+       * modules/fpurge-tests (Files): Likewise.
+       * modules/freadable-tests (Files): Likewise.
+       * modules/freadahead-tests (Files): Likewise.
+       * modules/freading-tests (Files): Likewise.
+       * modules/freadptr-tests (Files): Likewise.
+       * modules/freadseek-tests (Files): Likewise.
+       * modules/freopen-tests (Files): Likewise.
+       * modules/frexp-nolibm-tests (Files): Likewise.
+       * modules/frexp-tests (Files): Likewise.
+       * modules/frexpl-nolibm-tests (Files): Likewise.
+       * modules/frexpl-tests (Files): Likewise.
+       * modules/fseek-tests (Files): Likewise.
+       * modules/fseeko-tests (Files): Likewise.
+       * modules/fstrcmp-tests (Files): Likewise.
+       * modules/fsync-tests (Files): Likewise.
+       * modules/ftell-tests (Files): Likewise.
+       * modules/ftello-tests (Files): Likewise.
+       * modules/func-tests (Files): Likewise.
+       * modules/futimens-tests (Files): Likewise.
+       * modules/fwritable-tests (Files): Likewise.
+       * modules/fwriting-tests (Files): Likewise.
+       * modules/getcwd-tests (Files): Likewise.
+       * modules/getdate-tests (Files): Likewise.
+       * modules/getdelim-tests (Files): Likewise.
+       * modules/getdtablesize-tests (Files): Likewise.
+       * modules/getgroups-tests (Files): Likewise.
+       * modules/getline-tests (Files): Likewise.
+       * modules/getndelim2-tests (Files): Likewise.
+       * modules/glob-tests (Files): Likewise.
+       * modules/hash-tests (Files): Likewise.
+       * modules/i-ring-tests (Files): Likewise.
+       * modules/iconv-tests (Files): Likewise.
+       * modules/iconv_open-utf-tests (Files): Likewise.
+       * modules/idpriv-drop-tests (Files): Likewise.
+       * modules/idpriv-droptemp-tests (Files): Likewise.
+       * modules/inet_ntop-tests (Files): Likewise.
+       * modules/inet_pton-tests (Files): Likewise.
+       * modules/isblank-tests (Files): Likewise.
+       * modules/isfinite-tests (Files): Likewise.
+       * modules/isinf-tests (Files): Likewise.
+       * modules/isnan-tests (Files): Likewise.
+       * modules/isnand-nolibm-tests (Files): Likewise.
+       * modules/isnand-tests (Files): Likewise.
+       * modules/isnanf-nolibm-tests (Files): Likewise.
+       * modules/isnanf-tests (Files): Likewise.
+       * modules/isnanl-nolibm-tests (Files): Likewise.
+       * modules/isnanl-tests (Files): Likewise.
+       * modules/lchown-tests (Files): Likewise.
+       * modules/ldexpl-tests (Files): Likewise.
+       * modules/link-tests (Files): Likewise.
+       * modules/linkat-tests (Files): Likewise.
+       * modules/linked-list-tests (Files): Likewise.
+       * modules/linkedhash-list-tests (Files): Likewise.
+       * modules/localename-tests (Files): Likewise.
+       * modules/lseek-tests (Files): Likewise.
+       * modules/lstat-tests (Files): Likewise.
+       * modules/mbmemcasecmp-tests (Files): Likewise.
+       * modules/mbmemcasecoll-tests (Files): Likewise.
+       * modules/mbrtowc-tests (Files): Likewise.
+       * modules/mbscasecmp-tests (Files): Likewise.
+       * modules/mbscasestr-tests (Files): Likewise.
+       * modules/mbschr-tests (Files): Likewise.
+       * modules/mbscspn-tests (Files): Likewise.
+       * modules/mbsinit-tests (Files): Likewise.
+       * modules/mbsncasecmp-tests (Files): Likewise.
+       * modules/mbsnrtowcs-tests (Files): Likewise.
+       * modules/mbspbrk-tests (Files): Likewise.
+       * modules/mbspcasecmp-tests (Files): Likewise.
+       * modules/mbsrchr-tests (Files): Likewise.
+       * modules/mbsrtowcs-tests (Files): Likewise.
+       * modules/mbsspn-tests (Files): Likewise.
+       * modules/mbsstr-tests (Files): Likewise.
+       * modules/memchr-tests (Files): Likewise.
+       * modules/memchr2-tests (Files): Likewise.
+       * modules/memcmp-tests (Files): Likewise.
+       * modules/memmem-tests (Files): Likewise.
+       * modules/memrchr-tests (Files): Likewise.
+       * modules/mkdir-tests (Files): Likewise.
+       * modules/mkfifo-tests (Files): Likewise.
+       * modules/mkfifoat-tests (Files): Likewise.
+       * modules/mknod-tests (Files): Likewise.
+       * modules/nanosleep-tests (Files): Likewise.
+       * modules/nl_langinfo-tests (Files): Likewise.
+       * modules/obstack-printf-tests (Files): Likewise.
+       * modules/open-tests (Files): Likewise.
+       * modules/openat-tests (Files): Likewise.
+       * modules/pipe-filter-gi-tests (Files): Likewise.
+       * modules/pipe-filter-ii-tests (Files): Likewise.
+       * modules/pipe2-tests (Files): Likewise.
+       * modules/popen-safer-tests (Files): Likewise.
+       * modules/popen-tests (Files): Likewise.
+       * modules/posixtm-tests (Files): Likewise.
+       * modules/pread-tests (Files): Likewise.
+       * modules/printf-frexp-tests (Files): Likewise.
+       * modules/printf-frexpl-tests (Files): Likewise.
+       * modules/printf-posix-tests (Files): Likewise.
+       * modules/priv-set-tests (Files): Likewise.
+       * modules/quotearg-tests (Files): Likewise.
+       * modules/random_r-tests (Files): Likewise.
+       * modules/rawmemchr-tests (Files): Likewise.
+       * modules/rbtree-list-tests (Files): Likewise.
+       * modules/rbtree-oset-tests (Files): Likewise.
+       * modules/rbtreehash-list-tests (Files): Likewise.
+       * modules/readlink-tests (Files): Likewise.
+       * modules/remove-tests (Files): Likewise.
+       * modules/rename-tests (Files): Likewise.
+       * modules/renameat-tests (Files): Likewise.
+       * modules/rmdir-tests (Files): Likewise.
+       * modules/round-tests (Files): Likewise.
+       * modules/roundf-tests (Files): Likewise.
+       * modules/roundl-tests (Files): Likewise.
+       * modules/safe-alloc-tests (Files): Likewise.
+       * modules/setenv-tests (Files): Likewise.
+       * modules/sigaction-tests (Files): Likewise.
+       * modules/signbit-tests (Files): Likewise.
+       * modules/sleep-tests (Files): Likewise.
+       * modules/snprintf-posix-tests (Files): Likewise.
+       * modules/snprintf-tests (Files): Likewise.
+       * modules/sprintf-posix-tests (Files): Likewise.
+       * modules/stat-tests (Files): Likewise.
+       * modules/stat-time-tests (Files): Likewise.
+       * modules/strcasestr-tests (Files): Likewise.
+       * modules/strchrnul-tests (Files): Likewise.
+       * modules/strerror-tests (Files): Likewise.
+       * modules/striconv-tests (Files): Likewise.
+       * modules/striconveh-tests (Files): Likewise.
+       * modules/striconveha-tests (Files): Likewise.
+       * modules/strsignal-tests (Files): Likewise.
+       * modules/strstr-tests (Files): Likewise.
+       * modules/strtod-tests (Files): Likewise.
+       * modules/strverscmp-tests (Files): Likewise.
+       * modules/symlink-tests (Files): Likewise.
+       * modules/symlinkat-tests (Files): Likewise.
+       * modules/trunc-tests (Files): Likewise.
+       * modules/truncf-tests (Files): Likewise.
+       * modules/truncl-tests (Files): Likewise.
+       * modules/uname-tests (Files): Likewise.
+       * modules/unicase/cased-tests (Files): Likewise.
+       * modules/unicase/ignorable-tests (Files): Likewise.
+       * modules/unicase/locale-language-tests (Files): Likewise.
+       * modules/unicase/tolower-tests (Files): Likewise.
+       * modules/unicase/totitle-tests (Files): Likewise.
+       * modules/unicase/toupper-tests (Files): Likewise.
+       * modules/unicase/u8-casecmp-tests (Files): Likewise.
+       * modules/unicase/u8-casecoll-tests (Files): Likewise.
+       * modules/unicase/u8-casefold-tests (Files): Likewise.
+       * modules/unicase/u8-is-cased-tests (Files): Likewise.
+       * modules/unicase/u8-is-casefolded-tests (Files): Likewise.
+       * modules/unicase/u8-is-lowercase-tests (Files): Likewise.
+       * modules/unicase/u8-is-titlecase-tests (Files): Likewise.
+       * modules/unicase/u8-is-uppercase-tests (Files): Likewise.
+       * modules/unicase/u8-tolower-tests (Files): Likewise.
+       * modules/unicase/u8-totitle-tests (Files): Likewise.
+       * modules/unicase/u8-toupper-tests (Files): Likewise.
+       * modules/unicase/u16-casecmp-tests (Files): Likewise.
+       * modules/unicase/u16-casecoll-tests (Files): Likewise.
+       * modules/unicase/u16-casefold-tests (Files): Likewise.
+       * modules/unicase/u16-is-cased-tests (Files): Likewise.
+       * modules/unicase/u16-is-casefolded-tests (Files): Likewise.
+       * modules/unicase/u16-is-lowercase-tests (Files): Likewise.
+       * modules/unicase/u16-is-titlecase-tests (Files): Likewise.
+       * modules/unicase/u16-is-uppercase-tests (Files): Likewise.
+       * modules/unicase/u16-tolower-tests (Files): Likewise.
+       * modules/unicase/u16-totitle-tests (Files): Likewise.
+       * modules/unicase/u16-toupper-tests (Files): Likewise.
+       * modules/unicase/u32-casecmp-tests (Files): Likewise.
+       * modules/unicase/u32-casecoll-tests (Files): Likewise.
+       * modules/unicase/u32-casefold-tests (Files): Likewise.
+       * modules/unicase/u32-is-cased-tests (Files): Likewise.
+       * modules/unicase/u32-is-casefolded-tests (Files): Likewise.
+       * modules/unicase/u32-is-lowercase-tests (Files): Likewise.
+       * modules/unicase/u32-is-titlecase-tests (Files): Likewise.
+       * modules/unicase/u32-is-uppercase-tests (Files): Likewise.
+       * modules/unicase/u32-tolower-tests (Files): Likewise.
+       * modules/unicase/u32-totitle-tests (Files): Likewise.
+       * modules/unicase/u32-toupper-tests (Files): Likewise.
+       * modules/unicase/ulc-casecmp-tests (Files): Likewise.
+       * modules/unicase/ulc-casecoll-tests (Files): Likewise.
+       * modules/uniconv/u8-conv-from-enc-tests (Files): Likewise.
+       * modules/uniconv/u8-conv-to-enc-tests (Files): Likewise.
+       * modules/uniconv/u8-strconv-from-enc-tests (Files): Likewise.
+       * modules/uniconv/u8-strconv-to-enc-tests (Files): Likewise.
+       * modules/uniconv/u16-conv-from-enc-tests (Files): Likewise.
+       * modules/uniconv/u16-conv-to-enc-tests (Files): Likewise.
+       * modules/uniconv/u16-strconv-from-enc-tests (Files): Likewise.
+       * modules/uniconv/u16-strconv-to-enc-tests (Files): Likewise.
+       * modules/uniconv/u32-conv-from-enc-tests (Files): Likewise.
+       * modules/uniconv/u32-conv-to-enc-tests (Files): Likewise.
+       * modules/uniconv/u32-strconv-from-enc-tests (Files): Likewise.
+       * modules/uniconv/u32-strconv-to-enc-tests (Files): Likewise.
+       * modules/unictype/bidicategory-byname-tests (Files): Likewise.
+       * modules/unictype/bidicategory-name-tests (Files): Likewise.
+       * modules/unictype/bidicategory-of-tests (Files): Likewise.
+       * modules/unictype/bidicategory-test-tests (Files): Likewise.
+       * modules/unictype/block-list-tests (Files): Likewise.
+       * modules/unictype/block-of-tests (Files): Likewise.
+       * modules/unictype/block-test-tests (Files): Likewise.
+       * modules/unictype/category-C-tests (Files): Likewise.
+       * modules/unictype/category-Cc-tests (Files): Likewise.
+       * modules/unictype/category-Cf-tests (Files): Likewise.
+       * modules/unictype/category-Cn-tests (Files): Likewise.
+       * modules/unictype/category-Co-tests (Files): Likewise.
+       * modules/unictype/category-Cs-tests (Files): Likewise.
+       * modules/unictype/category-L-tests (Files): Likewise.
+       * modules/unictype/category-Ll-tests (Files): Likewise.
+       * modules/unictype/category-Lm-tests (Files): Likewise.
+       * modules/unictype/category-Lo-tests (Files): Likewise.
+       * modules/unictype/category-Lt-tests (Files): Likewise.
+       * modules/unictype/category-Lu-tests (Files): Likewise.
+       * modules/unictype/category-M-tests (Files): Likewise.
+       * modules/unictype/category-Mc-tests (Files): Likewise.
+       * modules/unictype/category-Me-tests (Files): Likewise.
+       * modules/unictype/category-Mn-tests (Files): Likewise.
+       * modules/unictype/category-N-tests (Files): Likewise.
+       * modules/unictype/category-Nd-tests (Files): Likewise.
+       * modules/unictype/category-Nl-tests (Files): Likewise.
+       * modules/unictype/category-No-tests (Files): Likewise.
+       * modules/unictype/category-P-tests (Files): Likewise.
+       * modules/unictype/category-Pc-tests (Files): Likewise.
+       * modules/unictype/category-Pd-tests (Files): Likewise.
+       * modules/unictype/category-Pe-tests (Files): Likewise.
+       * modules/unictype/category-Pf-tests (Files): Likewise.
+       * modules/unictype/category-Pi-tests (Files): Likewise.
+       * modules/unictype/category-Po-tests (Files): Likewise.
+       * modules/unictype/category-Ps-tests (Files): Likewise.
+       * modules/unictype/category-S-tests (Files): Likewise.
+       * modules/unictype/category-Sc-tests (Files): Likewise.
+       * modules/unictype/category-Sk-tests (Files): Likewise.
+       * modules/unictype/category-Sm-tests (Files): Likewise.
+       * modules/unictype/category-So-tests (Files): Likewise.
+       * modules/unictype/category-Z-tests (Files): Likewise.
+       * modules/unictype/category-Zl-tests (Files): Likewise.
+       * modules/unictype/category-Zp-tests (Files): Likewise.
+       * modules/unictype/category-Zs-tests (Files): Likewise.
+       * modules/unictype/category-and-not-tests (Files): Likewise.
+       * modules/unictype/category-and-tests (Files): Likewise.
+       * modules/unictype/category-byname-tests (Files): Likewise.
+       * modules/unictype/category-name-tests (Files): Likewise.
+       * modules/unictype/category-none-tests (Files): Likewise.
+       * modules/unictype/category-of-tests (Files): Likewise.
+       * modules/unictype/category-or-tests (Files): Likewise.
+       * modules/unictype/category-test-withtable-tests (Files): Likewise.
+       * modules/unictype/combining-class-tests (Files): Likewise.
+       * modules/unictype/ctype-alnum-tests (Files): Likewise.
+       * modules/unictype/ctype-alpha-tests (Files): Likewise.
+       * modules/unictype/ctype-blank-tests (Files): Likewise.
+       * modules/unictype/ctype-cntrl-tests (Files): Likewise.
+       * modules/unictype/ctype-digit-tests (Files): Likewise.
+       * modules/unictype/ctype-graph-tests (Files): Likewise.
+       * modules/unictype/ctype-lower-tests (Files): Likewise.
+       * modules/unictype/ctype-print-tests (Files): Likewise.
+       * modules/unictype/ctype-punct-tests (Files): Likewise.
+       * modules/unictype/ctype-space-tests (Files): Likewise.
+       * modules/unictype/ctype-upper-tests (Files): Likewise.
+       * modules/unictype/ctype-xdigit-tests (Files): Likewise.
+       * modules/unictype/decimal-digit-tests (Files): Likewise.
+       * modules/unictype/digit-tests (Files): Likewise.
+       * modules/unictype/mirror-tests (Files): Likewise.
+       * modules/unictype/numeric-tests (Files): Likewise.
+       * modules/unictype/property-alphabetic-tests (Files): Likewise.
+       * modules/unictype/property-ascii-hex-digit-tests (Files): Likewise.
+       * modules/unictype/property-bidi-arabic-digit-tests (Files): Likewise.
+       * modules/unictype/property-bidi-arabic-right-to-left-tests (Files):
+       Likewise.
+       * modules/unictype/property-bidi-block-separator-tests (Files):
+       Likewise.
+       * modules/unictype/property-bidi-boundary-neutral-tests (Files):
+       Likewise.
+       * modules/unictype/property-bidi-common-separator-tests (Files):
+       Likewise.
+       * modules/unictype/property-bidi-control-tests (Files): Likewise.
+       * modules/unictype/property-bidi-embedding-or-override-tests (Files):
+       Likewise.
+       * modules/unictype/property-bidi-eur-num-separator-tests (Files):
+       Likewise.
+       * modules/unictype/property-bidi-eur-num-terminator-tests (Files):
+       Likewise.
+       * modules/unictype/property-bidi-european-digit-tests (Files): Likewise.
+       * modules/unictype/property-bidi-hebrew-right-to-left-tests (Files):
+       Likewise.
+       * modules/unictype/property-bidi-left-to-right-tests (Files): Likewise.
+       * modules/unictype/property-bidi-non-spacing-mark-tests (Files):
+       Likewise.
+       * modules/unictype/property-bidi-other-neutral-tests (Files): Likewise.
+       * modules/unictype/property-bidi-pdf-tests (Files): Likewise.
+       * modules/unictype/property-bidi-segment-separator-tests (Files):
+       Likewise.
+       * modules/unictype/property-bidi-whitespace-tests (Files): Likewise.
+       * modules/unictype/property-byname-tests (Files): Likewise.
+       * modules/unictype/property-combining-tests (Files): Likewise.
+       * modules/unictype/property-composite-tests (Files): Likewise.
+       * modules/unictype/property-currency-symbol-tests (Files): Likewise.
+       * modules/unictype/property-dash-tests (Files): Likewise.
+       * modules/unictype/property-decimal-digit-tests (Files): Likewise.
+       * modules/unictype/property-default-ignorable-code-point-tests (Files):
+       Likewise.
+       * modules/unictype/property-deprecated-tests (Files): Likewise.
+       * modules/unictype/property-diacritic-tests (Files): Likewise.
+       * modules/unictype/property-extender-tests (Files): Likewise.
+       * modules/unictype/property-format-control-tests (Files): Likewise.
+       * modules/unictype/property-grapheme-base-tests (Files): Likewise.
+       * modules/unictype/property-grapheme-extend-tests (Files): Likewise.
+       * modules/unictype/property-grapheme-link-tests (Files): Likewise.
+       * modules/unictype/property-hex-digit-tests (Files): Likewise.
+       * modules/unictype/property-hyphen-tests (Files): Likewise.
+       * modules/unictype/property-id-continue-tests (Files): Likewise.
+       * modules/unictype/property-id-start-tests (Files): Likewise.
+       * modules/unictype/property-ideographic-tests (Files): Likewise.
+       * modules/unictype/property-ids-binary-operator-tests (Files): Likewise.
+       * modules/unictype/property-ids-trinary-operator-tests (Files):
+       Likewise.
+       * modules/unictype/property-ignorable-control-tests (Files): Likewise.
+       * modules/unictype/property-iso-control-tests (Files): Likewise.
+       * modules/unictype/property-join-control-tests (Files): Likewise.
+       * modules/unictype/property-left-of-pair-tests (Files): Likewise.
+       * modules/unictype/property-line-separator-tests (Files): Likewise.
+       * modules/unictype/property-logical-order-exception-tests (Files):
+       Likewise.
+       * modules/unictype/property-lowercase-tests (Files): Likewise.
+       * modules/unictype/property-math-tests (Files): Likewise.
+       * modules/unictype/property-non-break-tests (Files): Likewise.
+       * modules/unictype/property-not-a-character-tests (Files): Likewise.
+       * modules/unictype/property-numeric-tests (Files): Likewise.
+       * modules/unictype/property-other-alphabetic-tests (Files): Likewise.
+       * modules/unictype/property-other-default-ignorable-code-point-tests
+       (Files): Likewise.
+       * modules/unictype/property-other-grapheme-extend-tests (Files):
+       Likewise.
+       * modules/unictype/property-other-id-continue-tests (Files): Likewise.
+       * modules/unictype/property-other-id-start-tests (Files): Likewise.
+       * modules/unictype/property-other-lowercase-tests (Files): Likewise.
+       * modules/unictype/property-other-math-tests (Files): Likewise.
+       * modules/unictype/property-other-uppercase-tests (Files): Likewise.
+       * modules/unictype/property-paired-punctuation-tests (Files): Likewise.
+       * modules/unictype/property-paragraph-separator-tests (Files): Likewise.
+       * modules/unictype/property-pattern-syntax-tests (Files): Likewise.
+       * modules/unictype/property-pattern-white-space-tests (Files): Likewise.
+       * modules/unictype/property-private-use-tests (Files): Likewise.
+       * modules/unictype/property-punctuation-tests (Files): Likewise.
+       * modules/unictype/property-quotation-mark-tests (Files): Likewise.
+       * modules/unictype/property-radical-tests (Files): Likewise.
+       * modules/unictype/property-sentence-terminal-tests (Files): Likewise.
+       * modules/unictype/property-soft-dotted-tests (Files): Likewise.
+       * modules/unictype/property-space-tests (Files): Likewise.
+       * modules/unictype/property-terminal-punctuation-tests (Files):
+       Likewise.
+       * modules/unictype/property-test-tests (Files): Likewise.
+       * modules/unictype/property-titlecase-tests (Files): Likewise.
+       * modules/unictype/property-unassigned-code-value-tests (Files):
+       Likewise.
+       * modules/unictype/property-unified-ideograph-tests (Files): Likewise.
+       * modules/unictype/property-uppercase-tests (Files): Likewise.
+       * modules/unictype/property-variation-selector-tests (Files): Likewise.
+       * modules/unictype/property-white-space-tests (Files): Likewise.
+       * modules/unictype/property-xid-continue-tests (Files): Likewise.
+       * modules/unictype/property-xid-start-tests (Files): Likewise.
+       * modules/unictype/property-zero-width-tests (Files): Likewise.
+       * modules/unictype/scripts-tests (Files): Likewise.
+       * modules/unictype/syntax-c-ident-tests (Files): Likewise.
+       * modules/unictype/syntax-c-whitespace-tests (Files): Likewise.
+       * modules/unictype/syntax-java-ident-tests (Files): Likewise.
+       * modules/unictype/syntax-java-whitespace-tests (Files): Likewise.
+       * modules/unilbrk/u8-possible-linebreaks-tests (Files): Likewise.
+       * modules/unilbrk/u8-width-linebreaks-tests (Files): Likewise.
+       * modules/unilbrk/u16-possible-linebreaks-tests (Files): Likewise.
+       * modules/unilbrk/u16-width-linebreaks-tests (Files): Likewise.
+       * modules/unilbrk/u32-possible-linebreaks-tests (Files): Likewise.
+       * modules/unilbrk/u32-width-linebreaks-tests (Files): Likewise.
+       * modules/unilbrk/ulc-possible-linebreaks-tests (Files): Likewise.
+       * modules/unilbrk/ulc-width-linebreaks-tests (Files): Likewise.
+       * modules/uninorm/canonical-decomposition-tests (Files): Likewise.
+       * modules/uninorm/compat-decomposition-tests (Files): Likewise.
+       * modules/uninorm/composition-tests (Files): Likewise.
+       * modules/uninorm/decomposing-form-tests (Files): Likewise.
+       * modules/uninorm/decomposition-tests (Files): Likewise.
+       * modules/uninorm/filter-tests (Files): Likewise.
+       * modules/uninorm/nfc-tests (Files): Likewise.
+       * modules/uninorm/nfd-tests (Files): Likewise.
+       * modules/uninorm/nfkc-tests (Files): Likewise.
+       * modules/uninorm/nfkd-tests (Files): Likewise.
+       * modules/uninorm/u8-normcmp-tests (Files): Likewise.
+       * modules/uninorm/u8-normcoll-tests (Files): Likewise.
+       * modules/uninorm/u16-normcmp-tests (Files): Likewise.
+       * modules/uninorm/u16-normcoll-tests (Files): Likewise.
+       * modules/uninorm/u32-normcmp-tests (Files): Likewise.
+       * modules/uninorm/u32-normcoll-tests (Files): Likewise.
+       * modules/unistdio/u8-asnprintf-tests (Files): Likewise.
+       * modules/unistdio/u8-vasnprintf-tests (Files): Likewise.
+       * modules/unistdio/u8-vasprintf-tests (Files): Likewise.
+       * modules/unistdio/u8-vsnprintf-tests (Files): Likewise.
+       * modules/unistdio/u8-vsprintf-tests (Files): Likewise.
+       * modules/unistdio/u16-asnprintf-tests (Files): Likewise.
+       * modules/unistdio/u16-vasnprintf-tests (Files): Likewise.
+       * modules/unistdio/u16-vasprintf-tests (Files): Likewise.
+       * modules/unistdio/u16-vsnprintf-tests (Files): Likewise.
+       * modules/unistdio/u16-vsprintf-tests (Files): Likewise.
+       * modules/unistdio/u32-asnprintf-tests (Files): Likewise.
+       * modules/unistdio/u32-vasnprintf-tests (Files): Likewise.
+       * modules/unistdio/u32-vasprintf-tests (Files): Likewise.
+       * modules/unistdio/u32-vsnprintf-tests (Files): Likewise.
+       * modules/unistdio/u32-vsprintf-tests (Files): Likewise.
+       * modules/unistdio/ulc-asnprintf-tests (Files): Likewise.
+       * modules/unistdio/ulc-vasnprintf-tests (Files): Likewise.
+       * modules/unistdio/ulc-vasprintf-tests (Files): Likewise.
+       * modules/unistdio/ulc-vsnprintf-tests (Files): Likewise.
+       * modules/unistdio/ulc-vsprintf-tests (Files): Likewise.
+       * modules/uniwbrk/u8-wordbreaks-tests (Files): Likewise.
+       * modules/uniwbrk/u16-wordbreaks-tests (Files): Likewise.
+       * modules/uniwbrk/u32-wordbreaks-tests (Files): Likewise.
+       * modules/uniwbrk/ulc-wordbreaks-tests (Files): Likewise.
+       * modules/uniwidth/u8-strwidth-tests (Files): Likewise.
+       * modules/uniwidth/u8-width-tests (Files): Likewise.
+       * modules/uniwidth/u16-strwidth-tests (Files): Likewise.
+       * modules/uniwidth/u16-width-tests (Files): Likewise.
+       * modules/uniwidth/u32-strwidth-tests (Files): Likewise.
+       * modules/uniwidth/u32-width-tests (Files): Likewise.
+       * modules/uniwidth/width-tests (Files): Likewise.
+       * modules/unlink-tests (Files): Likewise.
+       * modules/unsetenv-tests (Files): Likewise.
+       * modules/usleep-tests (Files): Likewise.
+       * modules/utimens-tests (Files): Likewise.
+       * modules/utimensat-tests (Files): Likewise.
+       * modules/vasnprintf-posix-tests (Files): Likewise.
+       * modules/vasnprintf-tests (Files): Likewise.
+       * modules/vasprintf-posix-tests (Files): Likewise.
+       * modules/vasprintf-tests (Files): Likewise.
+       * modules/vdprintf-posix-tests (Files): Likewise.
+       * modules/vfprintf-posix-tests (Files): Likewise.
+       * modules/vprintf-posix-tests (Files): Likewise.
+       * modules/vsnprintf-posix-tests (Files): Likewise.
+       * modules/vsnprintf-tests (Files): Likewise.
+       * modules/vsprintf-posix-tests (Files): Likewise.
+       * modules/wcrtomb-tests (Files): Likewise.
+       * modules/wcsnrtombs-tests (Files): Likewise.
+       * modules/wcsrtombs-tests (Files): Likewise.
+       * modules/wctype-tests (Files): Likewise.
+       * modules/wcwidth-tests (Files): Likewise.
+       * modules/xmemdup0-tests (Files): Likewise.
+       * modules/xprintf-posix-tests (Files): Likewise.
+       * modules/xvasprintf-tests (Files): Likewise.
+
 2009-12-24  Eric Blake  <ebb9@byu.net>
 
        test-nanosleep: fix typo
index b0a3b73..c9c04cd 100644 (file)
@@ -6,6 +6,7 @@ tests/test-file-has-acl.c
 tests/test-set-mode-acl.c
 tests/test-copy-acl.c
 tests/test-sameacls.c
+tests/macros.h
 
 Depends-on:
 progname
index 0e7796e..37c26c2 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-areadlink.h
 tests/test-areadlink.c
+tests/macros.h
 
 Depends-on:
 stdbool
index 9752034..1dddea8 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-areadlink.h
 tests/test-areadlink-with-size.c
+tests/macros.h
 
 Depends-on:
 stdbool
index ca0adc4..45a8d48 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-areadlink.h
 tests/test-areadlinkat.c
+tests/macros.h
 
 Depends-on:
 stdbool
index f3d3878..972bc3e 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-areadlink.h
 tests/test-areadlinkat-with-size.c
+tests/macros.h
 
 Depends-on:
 stdbool
index 253d4d6..85ac3a2 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-argmatch.c
+tests/macros.h
 
 Depends-on:
 progname
index af0405b..92c5c82 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-argv-iter.c
+tests/macros.h
 
 Depends-on:
 
index 83dc54c..1e9524d 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-array_list.c
+tests/macros.h
 
 Depends-on:
 progname
index ab12308..5bf9b67 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-array-mergesort.c
+tests/macros.h
 
 Depends-on:
 
index 89f071d..5791316 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-array_oset.c
+tests/macros.h
 
 Depends-on:
 xlist
index c87eda3..cbd47c7 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-avltree_list.c
+tests/macros.h
 
 Depends-on:
 array-list
index a33b6c6..a29ad58 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-avltree_oset.c
+tests/macros.h
 
 Depends-on:
 array-oset
index dd013d2..eae613e 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-avltreehash_list.c
+tests/macros.h
 
 Depends-on:
 array-list
index 6406768..b8659a8 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-base64.c
+tests/macros.h
 
 Depends-on:
 
index 1cdc88a..e59f056 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-binary-io.sh
 tests/test-binary-io.c
+tests/macros.h
 
 Depends-on:
 
index 405607a..c686019 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-bitrotate.c
+tests/macros.h
 
 Depends-on:
 
index c5e73ce..371bde9 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-btowc1.sh
 tests/test-btowc2.sh
 tests/test-btowc.c
+tests/signature.h
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index 0ac626e..08ffc83 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-byteswap.c
+tests/macros.h
 
 Depends-on:
 
index 35a47c1..196f529 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-c-ctype.c
+tests/macros.h
 
 Depends-on:
 
index dfed076..808e59e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/test-c-stack.c
 tests/test-c-stack.sh
 tests/test-c-stack2.sh
+tests/macros.h
 
 Depends-on:
 exitfail
index f223ffd..aec09db 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/test-c-strcase.sh
 tests/test-c-strcasecmp.c
 tests/test-c-strncasecmp.c
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-tr.m4
 m4/codeset.m4
index 857a592..f671086 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-c-strcasestr.c
+tests/macros.h
 
 Depends-on:
 
index 381d7a3..78565b2 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-c-strstr.c
+tests/macros.h
 
 Depends-on:
 
index 5ddb199..bc07ea3 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-canonicalize-lgpl.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 same-inode
index b10b61d..fb18d66 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-canonicalize.c
+tests/macros.h
 
 Depends-on:
 progname
index 82e7b78..4f13705 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-carray_list.c
+tests/macros.h
 
 Depends-on:
 array-list
index 2599ab1..f58cbed 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-ceilf1.c
 tests/test-ceilf2.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 float
index 0d5f0fd..6ac9b5a 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-ceill.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 fpucw
index a320328..68f74f0 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/nap.h
 tests/test-chown.h
 tests/test-chown.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 lstat
index 22792db..3a76b9e 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-cloexec.c
+tests/macros.h
 
 Depends-on:
 binary-io
index a683dee..c4fe4fd 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-copy-file.sh
 tests/test-copy-file.c
+tests/macros.h
 
 Depends-on:
 acl
index c8241b3..bf0a543 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-count-one-bits.c
+tests/macros.h
 
 Depends-on:
 
index 5b865ce..e4df83d 100644 (file)
@@ -1,10 +1,11 @@
 Files:
-tests/signature.h
 tests/test-dprintf-posix.sh
 tests/test-dprintf-posix.c
 tests/test-printf-posix.output
 tests/test-dprintf-posix2.sh
 tests/test-dprintf-posix2.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdint
index b24ef67..679f4b1 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-dup2.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 binary-io
index 2886d60..26dd5d8 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-dup3.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 open
index f0e9064..af9dc98 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-duplocale.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 8a9041f..fa36a61 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-fbufmode.c
+tests/macros.h
 
 Depends-on:
 
index 2e202f3..462e709 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-fchdir.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 getcwd
index 3e8a2f6..cb35aed 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-open.h
 tests/test-fcntl-safer.c
+tests/macros.h
 
 Depends-on:
 stdbool
index e47f2d6..44b040c 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-fcntl.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 binary-io
index c0bafb6..bee2df7 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-fdopendir.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 open
index 16cf82c..dc55c45 100644 (file)
@@ -5,6 +5,7 @@ tests/test-lutimens.h
 tests/test-utimens.h
 tests/test-utimens-common.h
 tests/test-fdutimensat.c
+tests/macros.h
 
 Depends-on:
 progname
index db5a5c0..e439c2c 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-fflush.c
 tests/test-fflush2.sh
 tests/test-fflush2.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 binary-io
index 165ecfe..46cf401 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-filevercmp.c
+tests/macros.h
 
 Depends-on:
 
index 441e23e..ece4b48 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-flock.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 unistd
index d6a8185..988d892 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-floorf1.c
 tests/test-floorf2.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 float
index 1031092..4cffee6 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-floorl.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 fpucw
index c83b905..cb16de4 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-fnmatch.c
+tests/signature.h
+tests/macros.h
 
 Makefile.am:
 TESTS += test-fnmatch
index 21116e6..256c54c 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-fopen.h
 tests/test-fopen-safer.c
+tests/macros.h
 
 Depends-on:
 
index 208ec3b..69ff6ac 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-fopen.h
 tests/test-fopen.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index c6261a5..bc8394c 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-fpending.c
 tests/test-fpending.sh
+tests/macros.h
 
 Depends-on:
 
index 4ac9a12..1473544 100644 (file)
@@ -1,5 +1,4 @@
 Files:
-tests/signature.h
 tests/test-fprintf-posix.sh
 tests/test-fprintf-posix.c
 tests/test-fprintf-posix.h
@@ -8,6 +7,8 @@ tests/test-fprintf-posix2.sh
 tests/test-fprintf-posix2.c
 tests/test-fprintf-posix3.sh
 tests/test-fprintf-posix3.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdint
index b5c99c9..74e898d 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-fpurge.c
+tests/macros.h
 
 Depends-on:
 fflush
index bace519..9e6f415 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-freadable.c
+tests/macros.h
 
 Depends-on:
 fflush
index d834963..13e95cd 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-freadahead.c
 tests/test-freadahead.sh
+tests/macros.h
 
 Depends-on:
 lseek
index 78cb96a..10c2311 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-freading.c
+tests/macros.h
 
 Depends-on:
 fflush
index c9e3155..783aea7 100644 (file)
@@ -3,6 +3,7 @@ tests/test-freadptr.c
 tests/test-freadptr.sh
 tests/test-freadptr2.c
 tests/test-freadptr2.sh
+tests/macros.h
 
 Depends-on:
 lseek
index 6fb1548..e89607a 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-freadseek.c
 tests/test-freadseek.sh
+tests/macros.h
 
 Depends-on:
 unistd
index 0f9ae21..95b5915 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-freopen.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index acbfec7..abde575 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-frexp.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 isnand-nolibm
index e90189b..a5cfeaf 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-frexp.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 isnand-nolibm
index 8579956..90b8ee4 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-frexpl.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 fpucw
index 5382cec..54fe2ae 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-frexpl.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 fpucw
index cd76a95..6de889b 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-fseek.c
 tests/test-fseek.sh
 tests/test-fseek2.sh
+tests/signature.h
+tests/macros.h
 m4/ungetc.m4
 
 Depends-on:
index e2fb27e..1359970 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-fseeko.c
 tests/test-fseeko.sh
 tests/test-fseeko2.sh
+tests/signature.h
+tests/macros.h
 m4/ungetc.m4
 
 Depends-on:
index c7dcda5..b82f414 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-fstrcmp.c
+tests/macros.h
 
 Depends-on:
 stdbool
index a3db419..e3df22d 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-fsync.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 717b48e..c669a98 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-ftell.c
 tests/test-ftell.sh
 tests/test-ftell2.sh
+tests/signature.h
+tests/macros.h
 m4/ungetc.m4
 
 Depends-on:
index c4937d0..73f659e 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-ftello.c
 tests/test-ftello.sh
 tests/test-ftello2.sh
+tests/signature.h
+tests/macros.h
 m4/ungetc.m4
 
 Depends-on:
index 9be3324..cb53b6d 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-func.c
+tests/macros.h
 
 configure.ac:
 
index 702dbc2..330711d 100644 (file)
@@ -1,9 +1,10 @@
 Files:
-tests/signature.h
 tests/nap.h
 tests/test-futimens.h
 tests/test-utimens-common.h
 tests/test-futimens.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 timespec
index 7c7cedc..803a331 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-fwritable.c
+tests/macros.h
 
 Depends-on:
 fflush
index 5594223..2b74b64 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-fwriting.c
+tests/macros.h
 
 Depends-on:
 fflush
index 75897cb..016961f 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-getcwd.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 6b7c92b..ff2945d 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-getdate.c
+tests/macros.h
 
 Depends-on:
 progname
index 880c380..a2f2aa0 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-getdelim.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 8bf1a2c..5f78c5f 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-getdtablesize.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 69e2647..3db9224 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-getgroups.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 676a04f..33eb2b7 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-getline.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 7081b3a..d7e4dfc 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-getndelim2.c
+tests/macros.h
 
 Depends-on:
 
index bedaef0..3cf2c90 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-glob.c
+tests/signature.h
+tests/macros.h
 
 Makefile.am:
 TESTS += test-glob
index f67a085..a77bfe7 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-hash.c
+tests/macros.h
 
 Depends-on:
 hash-pjw
index 3385ca5..96361c9 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-i-ring.c
+tests/macros.h
 
 Depends-on:
 
index 46fcb1a..91e17f0 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-iconv.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index d5eb684..3e3c988 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-iconv-utf.c
+tests/macros.h
 
 Depends-on:
 
index 2a9c999..5416463 100644 (file)
@@ -7,6 +7,7 @@ Files:
 tests/test-idpriv-drop.sh
 tests/test-idpriv-drop.su.sh
 tests/test-idpriv-drop.c
+tests/macros.h
 
 Depends-on:
 stdbool
index 26b9136..d6c2097 100644 (file)
@@ -7,6 +7,7 @@ Files:
 tests/test-idpriv-droptemp.sh
 tests/test-idpriv-droptemp.su.sh
 tests/test-idpriv-droptemp.c
+tests/macros.h
 
 Depends-on:
 stdbool
index e8236d6..cab3d51 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-inet_ntop.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 netinet_in
index 1404e31..cc7408a 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-inet_pton.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 netinet_in
index cd140ee..43d29ad 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-isblank.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 673aa1c..78971d9 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-isfinite.c
+tests/macros.h
 
 Depends-on:
 float
index 8e15f65..e5b6387 100644 (file)
@@ -3,6 +3,7 @@ m4/exponentf.m4
 m4/exponentd.m4
 m4/exponentl.m4
 tests/test-isinf.c
+tests/macros.h
 
 Depends-on:
 float
index d5aff2a..a63b7cf 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-isnan.c
 tests/nan.h
+tests/macros.h
 
 Depends-on:
 float
index 6327334..2ce8b6c 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/test-isnand-nolibm.c
 tests/test-isnand.h
 tests/nan.h
+tests/macros.h
 
 Depends-on:
 
index 8d406fe..b9964cc 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/test-isnand.c
 tests/test-isnand.h
 tests/nan.h
+tests/macros.h
 
 Depends-on:
 
index 0e83930..6aab7e0 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/test-isnanf-nolibm.c
 tests/test-isnanf.h
 tests/nan.h
+tests/macros.h
 
 Depends-on:
 
index 6bd5adc..2c09485 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/test-isnanf.c
 tests/test-isnanf.h
 tests/nan.h
+tests/macros.h
 
 Depends-on:
 
index f9414e3..6d2f08e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/test-isnanl-nolibm.c
 tests/test-isnanl.h
 tests/nan.h
+tests/macros.h
 
 Depends-on:
 float
index 518420f..5cff0dd 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/test-isnanl.c
 tests/test-isnanl.h
 tests/nan.h
+tests/macros.h
 
 Depends-on:
 float
index 4fc7eaf..f3935d6 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/nap.h
 tests/test-lchown.h
 tests/test-lchown.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 mgetgroups
index 7b76ff4..7148f26 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-ldexpl.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 fpucw
index 2bdb3ee..b7fb2ff 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-link.h
 tests/test-link.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 errno
index 72e8a51..602d18a 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-link.h
 tests/test-linkat.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 areadlink-with-size
index fca22a6..d6fd5aa 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-linked_list.c
+tests/macros.h
 
 Depends-on:
 array-list
index 4f13d9a..5109149 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-linkedhash_list.c
+tests/macros.h
 
 Depends-on:
 array-list
index 51972e7..3fbca14 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-localename.c
+tests/macros.h
 
 Depends-on:
 locale
index 6b05a92..fa9a1ab 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-lseek.c
 tests/test-lseek.sh
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 43ebd94..a0296a6 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-lstat.h
 tests/test-lstat.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 errno
index 0560f22..e4db04d 100644 (file)
@@ -4,6 +4,7 @@ tests/test-mbmemcasecmp2.sh
 tests/test-mbmemcasecmp3.sh
 tests/test-mbmemcasecmp.c
 tests/test-mbmemcasecmp.h
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-tr.m4
 m4/codeset.m4
index a5e3451..82f117f 100644 (file)
@@ -4,6 +4,7 @@ tests/test-mbmemcasecoll2.sh
 tests/test-mbmemcasecoll3.sh
 tests/test-mbmemcasecoll.c
 tests/test-mbmemcasecmp.h
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-tr.m4
 m4/codeset.m4
index 0237aca..e97ff2f 100644 (file)
@@ -1,10 +1,11 @@
 Files:
-tests/signature.h
 tests/test-mbrtowc1.sh
 tests/test-mbrtowc2.sh
 tests/test-mbrtowc3.sh
 tests/test-mbrtowc4.sh
 tests/test-mbrtowc.c
+tests/signature.h
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-ja.m4
 m4/locale-zh.m4
index 19581b6..572c838 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-mbscasecmp.sh
 tests/test-mbscasecmp.c
+tests/macros.h
 m4/locale-tr.m4
 m4/codeset.m4
 
index 0c6e9ba..4c6b474 100644 (file)
@@ -6,6 +6,7 @@ tests/test-mbscasestr3.sh
 tests/test-mbscasestr3.c
 tests/test-mbscasestr4.sh
 tests/test-mbscasestr4.c
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-tr.m4
 m4/locale-zh.m4
index 4f8d831..e084423 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-mbschr.sh
 tests/test-mbschr.c
+tests/macros.h
 m4/locale-zh.m4
 m4/codeset.m4
 
index 66fae89..bdb8e6a 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-mbscspn.sh
 tests/test-mbscspn.c
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index 24777f9..8ee370e 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-mbsinit.sh
 tests/test-mbsinit.c
+tests/signature.h
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index 570da7a..cdfe377 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-mbsncasecmp.sh
 tests/test-mbsncasecmp.c
+tests/macros.h
 m4/locale-tr.m4
 m4/codeset.m4
 
index ceb5479..378d2a2 100644 (file)
@@ -1,10 +1,11 @@
 Files:
-tests/signature.h
 tests/test-mbsnrtowcs1.sh
 tests/test-mbsnrtowcs2.sh
 tests/test-mbsnrtowcs3.sh
 tests/test-mbsnrtowcs4.sh
 tests/test-mbsnrtowcs.c
+tests/signature.h
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-ja.m4
 m4/locale-zh.m4
index 4c90352..5582121 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-mbspbrk.sh
 tests/test-mbspbrk.c
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index d93a084..aab12ca 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-mbspcasecmp.sh
 tests/test-mbspcasecmp.c
+tests/macros.h
 m4/locale-tr.m4
 m4/codeset.m4
 
index 11e8146..64d3603 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-mbsrchr.sh
 tests/test-mbsrchr.c
+tests/macros.h
 m4/locale-zh.m4
 m4/codeset.m4
 
index 7b65531..3d7ed88 100644 (file)
@@ -1,10 +1,11 @@
 Files:
-tests/signature.h
 tests/test-mbsrtowcs1.sh
 tests/test-mbsrtowcs2.sh
 tests/test-mbsrtowcs3.sh
 tests/test-mbsrtowcs4.sh
 tests/test-mbsrtowcs.c
+tests/signature.h
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-ja.m4
 m4/locale-zh.m4
index d84e7c4..95da3f2 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-mbsspn.sh
 tests/test-mbsspn.c
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index e75d4ab..c36c02d 100644 (file)
@@ -4,6 +4,7 @@ tests/test-mbsstr2.sh
 tests/test-mbsstr2.c
 tests/test-mbsstr3.sh
 tests/test-mbsstr3.c
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-zh.m4
 m4/codeset.m4
index 79d6f48..4fafa8d 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-memchr.c
 tests/zerosize-ptr.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 99c02b1..66901ae 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-memchr2.c
 tests/zerosize-ptr.h
+tests/macros.h
 m4/mmap-anon.m4
 
 Depends-on:
index 33d740d..15f099c 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-memcmp.c
 tests/zerosize-ptr.h
+tests/signature.h
+tests/macros.h
 m4/mmap-anon.m4
 
 Depends-on:
index 88301ed..4738d5c 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-memmem.c
 tests/zerosize-ptr.h
+tests/signature.h
+tests/macros.h
 m4/mmap-anon.m4
 
 Depends-on:
index d5bc773..e3af277 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-memrchr.c
 tests/zerosize-ptr.h
+tests/signature.h
+tests/macros.h
 m4/mmap-anon.m4
 
 Depends-on:
index 5f22b23..5f455c7 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-mkdir.h
 tests/test-mkdir.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdbool
index d3d0887..1f92a41 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-mkfifo.h
 tests/test-mkfifo.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdbool
index ea8c414..5e72b94 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-mkfifo.h
 tests/test-mkfifoat.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 symlink
index 3f4bbab..c273f66 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-mkfifo.h
 tests/test-mknod.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdbool
index ddc57c1..c3b5f2f 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-nanosleep.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 7c9ce97..944b1d0 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-nl_langinfo.sh
 tests/test-nl_langinfo.c
+tests/signature.h
+tests/macros.h
 m4/locale-fr.m4
 
 Depends-on:
index 8bff6bd..f1c99ca 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-obstack-printf.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 progname
index cb8affb..5bc4e0f 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-open.h
 tests/test-open.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdbool
index a3a08ac..489601c 100644 (file)
@@ -1,5 +1,4 @@
 Files:
-tests/signature.h
 tests/nap.h
 tests/test-chown.h
 tests/test-lchown.h
@@ -13,6 +12,8 @@ tests/test-fstatat.c
 tests/test-mkdirat.c
 tests/test-openat.c
 tests/test-unlinkat.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 mgetgroups
index f0b2969..263c766 100644 (file)
@@ -5,6 +5,7 @@ tests/test-vasnprintf-posix.c
 tests/test-pipe-filter-gi2.sh
 tests/test-pipe-filter-gi2-main.c
 tests/test-pipe-filter-gi2-child.c
+tests/macros.h
 
 Depends-on:
 binary-io
index 725d7be..abb5fef 100644 (file)
@@ -5,6 +5,7 @@ tests/test-vasnprintf-posix.c
 tests/test-pipe-filter-ii2.sh
 tests/test-pipe-filter-ii2-main.c
 tests/test-pipe-filter-ii2-child.c
+tests/macros.h
 
 Depends-on:
 binary-io
index 7ed4c87..5d24bd7 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-pipe2.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdbool
index 0e1b93a..8b212ae 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/test-popen.h
 tests/test-popen-safer.c
 tests/test-popen-safer2.c
+tests/macros.h
 
 Depends-on:
 dup2
index c0d128c..f3465b6 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-popen.h
 tests/test-popen.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 dup2
index de4d12c..216d602 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-posixtm.c
+tests/macros.h
 
 Depends-on:
 intprops
index 415f9b9..8a10c18 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-pread.c
 tests/test-pread.sh
 tests/init.sh
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index adfadb3..37a40d0 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-printf-frexp.c
+tests/macros.h
 
 Depends-on:
 
index 7eb6983..d70339c 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-printf-frexpl.c
+tests/macros.h
 
 Depends-on:
 fpucw
index dfbb5e1..08c6834 100644 (file)
@@ -1,11 +1,12 @@
 Files:
-tests/signature.h
 tests/test-printf-posix.sh
 tests/test-printf-posix.c
 tests/test-printf-posix.h
 tests/test-printf-posix.output
 tests/test-printf-posix2.sh
 tests/test-printf-posix2.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdint
index cf87bc6..af329dd 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-priv-set.c
+tests/macros.h
 
 Depends-on:
 
index 8c8f008..5afb986 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-quotearg.sh
 tests/test-quotearg.c
+tests/macros.h
 tests/locale/fr/LC_MESSAGES/test-quotearg.po
 tests/locale/fr/LC_MESSAGES/test-quotearg.mo
 m4/locale-fr.m4
index 72f54c0..b9dd6bf 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-random_r.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index a638459..bca145e 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-rawmemchr.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 2cd042e..c4262ab 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-rbtree_list.c
+tests/macros.h
 
 Depends-on:
 array-list
index 0ac783d..db69078 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-rbtree_oset.c
+tests/macros.h
 
 Depends-on:
 array-oset
index 2d17f01..446e44d 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-rbtreehash_list.c
+tests/macros.h
 
 Depends-on:
 array-list
index efadd0c..1aeac92 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-readlink.h
 tests/test-readlink.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdbool
index ecdbcf3..9e2e49c 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-remove.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 symlink
index 52b69e2..84c4a3f 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-rename.h
 tests/test-rename.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 errno
index 982a8ef..53467db 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-rename.h
 tests/test-renameat.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 filenamecat
index 59b1211..5619ad5 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-rmdir.h
 tests/test-rmdir.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdbool
index 79fe048..002fc8b 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-round1.c
 tests/test-round2.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 isnand-nolibm
index 56baa29..84d5723 100644 (file)
@@ -1,9 +1,10 @@
 Files:
-tests/signature.h
 tests/test-roundf1.c
 tests/test-round2.c
 tests/test-roundf2.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 ceilf
index 0375176..73dcd9c 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-roundl.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 fpucw
index dbd9c8f..06f771c 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-safe-alloc.c
+tests/macros.h
 
 Depends-on:
 
index 09ebf6f..b7b8bad 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-setenv.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 6589ef4..e683614 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-sigaction.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 25851c9..10d7d7b 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-signbit.c
+tests/macros.h
 m4/exponentf.m4
 m4/exponentd.m4
 m4/exponentl.m4
index 7e975b7..93a28f8 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-sleep.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 0658ea4..4448cf5 100644 (file)
@@ -1,9 +1,10 @@
 Files:
-tests/signature.h
 tests/test-snprintf-posix.c
 tests/test-snprintf-posix.h
 tests/test-snprintf.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdint
index 4db5f4a..df0a316 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-snprintf.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 354cf73..f6e4ce0 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-sprintf-posix.c
 tests/test-sprintf-posix.h
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdint
index 489ff64..74d558c 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-stat.h
 tests/test-stat.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 pathmax
index 0c0b66a..2e72444 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-stat-time.c
+tests/macros.h
 
 Depends-on:
 time
index 292c40d..78b64cd 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-strcasestr.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 7ca1a58..e16518d 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-strchrnul.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 0a6bc75..14e9694 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-strerror.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 5efc9e0..d4482f8 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-striconv.c
+tests/macros.h
 
 Depends-on:
 
index 1569f2b..bfb68ef 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-striconveh.c
+tests/macros.h
 
 Depends-on:
 
index 1effb57..46ad0cf 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-striconveha.c
+tests/macros.h
 
 Depends-on:
 
index 330a8a9..e845ba5 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-strsignal.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 231e0eb..4817177 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-strstr.c
 tests/zerosize-ptr.h
+tests/signature.h
+tests/macros.h
 m4/mmap-anon.m4
 
 Depends-on:
index ad5a560..8d5be7f 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-strtod.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 float
index 89b6795..b34b4b0 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-strverscmp.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index ef18d47..3f94fd2 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-symlink.h
 tests/test-symlink.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdbool
index 4368537..e3ee6c3 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-readlink.h
 tests/test-symlink.h
 tests/test-symlinkat.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index c3d5243..1f0f0de 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-trunc1.c
 tests/test-trunc2.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 float
index 70ecb1f..175ae88 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-truncf1.c
 tests/test-truncf2.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 float
index 3d92508..82cfeb9 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-truncl.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 fpucw
index 89d256c..daee490 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-uname.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 018a225..fb8c535 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unicase/test-cased.c
 tests/unicase/test-predicate-part1.h
 tests/unicase/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 3c9135b..ca241aa 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unicase/test-ignorable.c
 tests/unicase/test-predicate-part1.h
 tests/unicase/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index d4764e9..7ea8f0e 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-locale-language.sh
 tests/unicase/test-locale-language.c
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-ja.m4
 m4/locale-tr.m4
index 254325e..8dc87f8 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unicase/test-uc_tolower.c
 tests/unicase/test-mapping-part1.h
 tests/unicase/test-mapping-part2.h
+tests/macros.h
 
 Depends-on:
 
index 4082809..f0856dd 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unicase/test-uc_totitle.c
 tests/unicase/test-mapping-part1.h
 tests/unicase/test-mapping-part2.h
+tests/macros.h
 
 Depends-on:
 
index 93adf9a..f0c2002 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unicase/test-uc_toupper.c
 tests/unicase/test-mapping-part1.h
 tests/unicase/test-mapping-part2.h
+tests/macros.h
 
 Depends-on:
 
index 07b2c0e..f0a9845 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u16-casecmp.c
 tests/unicase/test-casecmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfd
index b6f1c0c..9b643e6 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u16-casecoll.c
 tests/unicase/test-casecmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfc
index f6aa5e9..0c4d50c 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u16-casefold.c
+tests/macros.h
 
 Depends-on:
 unistr/u16-cmp
index 81f4a79..ebff592 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u16-is-cased.c
 tests/unicase/test-is-cased.h
+tests/macros.h
 
 Depends-on:
 
index f9f7138..6f32c37 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u16-is-casefolded.c
 tests/unicase/test-is-casefolded.h
+tests/macros.h
 
 Depends-on:
 
index 94ef38a..f5a0a79 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u16-is-lowercase.c
 tests/unicase/test-is-lowercase.h
+tests/macros.h
 
 Depends-on:
 
index ff7736e..701098a 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u16-is-titlecase.c
 tests/unicase/test-is-titlecase.h
+tests/macros.h
 
 Depends-on:
 
index b97b741..28d3d84 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u16-is-uppercase.c
 tests/unicase/test-is-uppercase.h
+tests/macros.h
 
 Depends-on:
 
index 1e5bf19..d4d4810 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u16-tolower.c
+tests/macros.h
 
 Depends-on:
 unistr/u16-cmp
index a15faaf..00889be 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u16-totitle.c
+tests/macros.h
 
 Depends-on:
 unistr/u16-cmp
index a1194f5..86958fe 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u16-toupper.c
+tests/macros.h
 
 Depends-on:
 unistr/u16-cmp
index 289588a..a62a5d1 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u32-casecmp.c
 tests/unicase/test-casecmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfd
index c059b05..1f96a0d 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u32-casecoll.c
 tests/unicase/test-casecmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfc
index 767044b..fb3f4e6 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u32-casefold.c
+tests/macros.h
 
 Depends-on:
 unistr/u32-cmp
index e81d647..48342c5 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u32-is-cased.c
 tests/unicase/test-is-cased.h
+tests/macros.h
 
 Depends-on:
 
index 8e3434b..78f2747 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u32-is-casefolded.c
 tests/unicase/test-is-casefolded.h
+tests/macros.h
 
 Depends-on:
 
index 5e458d1..6376566 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u32-is-lowercase.c
 tests/unicase/test-is-lowercase.h
+tests/macros.h
 
 Depends-on:
 
index 1083ebd..955542e 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u32-is-titlecase.c
 tests/unicase/test-is-titlecase.h
+tests/macros.h
 
 Depends-on:
 
index 47b8fef..a0689bc 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u32-is-uppercase.c
 tests/unicase/test-is-uppercase.h
+tests/macros.h
 
 Depends-on:
 
index 2a286d2..b481a09 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u32-tolower.c
+tests/macros.h
 
 Depends-on:
 unistr/u32-cmp
index 1d1f089..32202e2 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u32-totitle.c
+tests/macros.h
 
 Depends-on:
 unistr/u32-cmp
index 8050186..177caed 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u32-toupper.c
+tests/macros.h
 
 Depends-on:
 unistr/u32-cmp
index 8db4b27..799a82e 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u8-casecmp.c
 tests/unicase/test-casecmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfd
index f87af8b..c58020a 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u8-casecoll.c
 tests/unicase/test-casecmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfc
index 8b76544..db22f39 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u8-casefold.c
+tests/macros.h
 
 Depends-on:
 unistr/u8-cmp
index 032c98a..cfc6527 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u8-is-cased.c
 tests/unicase/test-is-cased.h
+tests/macros.h
 
 Depends-on:
 
index e7af3f3..7a4b048 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u8-is-casefolded.c
 tests/unicase/test-is-casefolded.h
+tests/macros.h
 
 Depends-on:
 
index 929e388..c1ef0b5 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u8-is-lowercase.c
 tests/unicase/test-is-lowercase.h
+tests/macros.h
 
 Depends-on:
 
index dc2c502..c35c2ac 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u8-is-titlecase.c
 tests/unicase/test-is-titlecase.h
+tests/macros.h
 
 Depends-on:
 
index 9efc93d..9bf0811 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unicase/test-u8-is-uppercase.c
 tests/unicase/test-is-uppercase.h
+tests/macros.h
 
 Depends-on:
 
index 3133e13..f07483d 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u8-tolower.c
+tests/macros.h
 
 Depends-on:
 unistr/u8-cmp
index 0df5825..bccf5a3 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u8-totitle.c
+tests/macros.h
 
 Depends-on:
 unistr/u8-cmp
index a6676c9..d6ffa17 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unicase/test-u8-toupper.c
+tests/macros.h
 
 Depends-on:
 unistr/u8-cmp
index c7816b4..60dfe87 100644 (file)
@@ -3,6 +3,7 @@ tests/unicase/test-ulc-casecmp1.sh
 tests/unicase/test-ulc-casecmp2.sh
 tests/unicase/test-ulc-casecmp.c
 tests/unicase/test-casecmp.h
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index da66cd1..879156d 100644 (file)
@@ -3,6 +3,7 @@ tests/unicase/test-ulc-casecoll1.sh
 tests/unicase/test-ulc-casecoll2.sh
 tests/unicase/test-ulc-casecoll.c
 tests/unicase/test-casecmp.h
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index 5539ccb..df46e17 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u16-conv-from-enc.c
+tests/macros.h
 
 Depends-on:
 unistr/u16-cmp
index 399537a..cb0dd01 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u16-conv-to-enc.c
+tests/macros.h
 
 Depends-on:
 
index b9c162a..67f96de 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u16-strconv-from-enc.c
+tests/macros.h
 
 Depends-on:
 unistr/u16-strcmp
index 0548b01..c1865bf 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u16-strconv-to-enc.c
+tests/macros.h
 
 Depends-on:
 unistr/u16-strcmp
index e35a75a..94a3b8c 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u32-conv-from-enc.c
+tests/macros.h
 
 Depends-on:
 unistr/u32-cmp
index a46e9b5..934d7e4 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u32-conv-to-enc.c
+tests/macros.h
 
 Depends-on:
 
index 2370b58..a01fbf2 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u32-strconv-from-enc.c
+tests/macros.h
 
 Depends-on:
 unistr/u32-strcmp
index 19f5eca..7188c32 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u32-strconv-to-enc.c
+tests/macros.h
 
 Depends-on:
 unistr/u32-strcmp
index 4dc02cb..d11cd52 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u8-conv-from-enc.c
+tests/macros.h
 
 Depends-on:
 unistr/u8-strlen
index 00aa37f..9fe4134 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u8-conv-to-enc.c
+tests/macros.h
 
 Depends-on:
 unistr/u8-strlen
index 971786e..90119d5 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u8-strconv-from-enc.c
+tests/macros.h
 
 Depends-on:
 unistr/u8-strcmp
index b572443..12409ed 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniconv/test-u8-strconv-to-enc.c
+tests/macros.h
 
 Depends-on:
 unistr/u8-strcmp
index f516e71..cfb67cd 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-bidi_byname.c
+tests/macros.h
 
 Depends-on:
 
index f216c38..a34a016 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-bidi_name.c
+tests/macros.h
 
 Depends-on:
 
index b1a04be..e581903 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-bidi_of.c
+tests/macros.h
 
 Depends-on:
 
index 038621f..3410d65 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-bidi_test.c
+tests/macros.h
 
 Depends-on:
 unictype/bidicategory-of
index b75e7c7..8f11c39 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-block_list.c
+tests/macros.h
 
 Depends-on:
 
index bbe2a68..4e71260 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-block_of.c
+tests/macros.h
 
 Depends-on:
 unictype/block-list
index 2fb5fbe..33367f0 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-block_test.c
+tests/macros.h
 
 Depends-on:
 
index 69e5a37..9b4a18e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_C.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index bc33c32..da8c0f8 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Cc.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index aad039a..a1d8138 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Cf.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index df97a0c..ca0a824 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Cn.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 19a905e..93ef8a3 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Co.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index a746472..17c1c22 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Cs.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 2b7e4c5..1272534 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_L.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 7d23af1..756d26c 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Ll.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 8d98e68..362e88c 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Lm.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 49e1678..12b7696 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Lo.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index bb2ff63..c284256 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Lt.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index b999936..a8e94a6 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Lu.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 85a21de..c883a86 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_M.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index bc3aa9e..dbbee20 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Mc.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 1c31ec5..1025c7e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Me.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 4716867..a201a8c 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Mn.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 43fc849..5550003 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_N.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index f32771c..463ff8f 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Nd.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 8c42f3b..340aa24 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Nl.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 004c323..0aa828a 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_No.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 9eae438..57f591e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_P.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 9a8376e..c6e1e90 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Pc.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 2092061..238ae1c 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Pd.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 182d131..f9c3145 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Pe.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 4667279..2e1a035 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Pf.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 272be1b..d210ad2 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Pi.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 936afd4..f652bd6 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Po.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 85bfe9a..ce9da49 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Ps.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index e1a3f84..4eb24e2 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_S.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 792db1b..20fc989 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Sc.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index d1ee546..ff30f24 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Sk.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index db54286..0d75ece 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Sm.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 0492d97..a0c28a4 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_So.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index bf8405e..a85eed1 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Z.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 8c46a5c..75be72a 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Zl.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 472d34c..8b5d3b9 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Zp.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index c9fe89f..a72f5e6 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-categ_Zs.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 41145a6..b2a988b 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-categ_and_not.c
+tests/macros.h
 
 Depends-on:
 unictype/category-or
index 2bcdf72..99de11a 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-categ_and.c
+tests/macros.h
 
 Depends-on:
 unictype/category-or
index fdafaee..3d47795 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-categ_byname.c
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 414797a..bc0c82a 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-categ_name.c
+tests/macros.h
 
 Depends-on:
 unictype/category-or
index a891157..c78e416 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-categ_none.c
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index 0a9a63d..fe1aa6b 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-categ_of.c
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index b3a5f63..a6b740d 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-categ_or.c
+tests/macros.h
 
 Depends-on:
 unictype/category-test
index d5ff63f..c74027e 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-categ_test_withtable.c
+tests/macros.h
 
 Depends-on:
 
index ea4706b..eafbdd0 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-combining.c
+tests/macros.h
 
 Depends-on:
 
index f90d700..db33ed4 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_alnum.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 2bd16db..abdfc50 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_alpha.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 94a8331..d1daa91 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_blank.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index d46076f..4c195c4 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_cntrl.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index e3ec97f..2f7833e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_digit.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 91bcc89..646a00b 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_graph.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 310053c..707cec6 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_lower.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index eb10d66..a590a4d 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_print.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 667a0b8..7f39283 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_punct.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index b721648..124b107 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_space.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 180655c..b32e1b6 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_upper.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 0ba075b..4cc5678 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-ctype_xdigit.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 8fbbf0d..f0451d9 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unictype/test-decdigit.c
 tests/unictype/test-decdigit.h
+tests/macros.h
 
 Depends-on:
 
index 9ee1f51..58b6c00 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unictype/test-digit.c
 tests/unictype/test-digit.h
+tests/macros.h
 
 Depends-on:
 
index 3766ace..dc2ad1e 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-mirror.c
+tests/macros.h
 
 Depends-on:
 
index 291f0ae..759ae2e 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unictype/test-numeric.c
 tests/unictype/test-numeric.h
+tests/macros.h
 
 Depends-on:
 
index f3e3a85..a4a757d 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_alphabetic.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index f679c68..edf2cad 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_ascii_hex_digit.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 2ad1d1c..f6fa5ec 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_arabic_digit.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index c27389a..2efe831 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_arabic_right_to_left.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 220db90..3377c17 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_block_separator.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index f9c5f18..dedc4ab 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_boundary_neutral.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index d11d8dd..6964ed6 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_common_separator.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 5c6609f..52a1102 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_control.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index eb59179..c64e232 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_embedding_or_override.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 9c3c76d..3442fcf 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_eur_num_separator.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 7289a98..fda0c48 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_eur_num_terminator.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 1461e02..c7196f9 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_european_digit.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 0498552..3d3985a 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_hebrew_right_to_left.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index fc32cd6..4097553 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_left_to_right.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index cf4bfa9..ce4ac00 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_non_spacing_mark.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 0d6b1d7..4a54080 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_other_neutral.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index df765eb..9096a56 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_pdf.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index c21ef53..081050c 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_segment_separator.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 1077776..0bcde48 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_bidi_whitespace.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 9678ff8..ff6a60d 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-pr_byname.c
+tests/macros.h
 
 Depends-on:
 unictype/property-test
index e2f5930..bafe54e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_combining.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index b528ab1..2d5652f 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_composite.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 8d4e234..034db16 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_currency_symbol.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 06a403e..9ca620f 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_dash.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 536e547..9dc5dab 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_decimal_digit.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 881108d..f8992b6 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_default_ignorable_code_point.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 891fe65..40fc7ed 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_deprecated.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 63e65c0..f1e77ca 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_diacritic.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 2737dcd..9e1d6fa 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_extender.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index b1c55df..bfda08e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_format_control.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 5dca86e..b534c39 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_grapheme_base.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index a13e6cf..b5bc724 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_grapheme_extend.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 5a65dc1..5168325 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_grapheme_link.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 67d9f09..043b0cd 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_hex_digit.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index a3be868..b4a4e7e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_hyphen.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 09f6593..33362ed 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_id_continue.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 4ad9c53..d0e8256 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_id_start.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 691e5fd..1b6a725 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_ideographic.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 00c4d1b..195c854 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_ids_binary_operator.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 31fb902..e9e448e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_ids_trinary_operator.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 1dedc29..1e72a68 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_ignorable_control.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 57742da..8923607 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_iso_control.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index eefebd1..17deabb 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_join_control.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 764622f..ea9bd6e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_left_of_pair.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 31a25d9..15a519d 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_line_separator.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 5935e83..4441183 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_logical_order_exception.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 8f3ec2f..302110a 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_lowercase.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index cb80e54..04010a0 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_math.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 61941fc..0ba6b8f 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_non_break.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index c46d003..5c96ba5 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_not_a_character.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index c07a0d7..ac4c4b8 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_numeric.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 107e0ac..1c5a83c 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_other_alphabetic.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 55afbdf..213aea7 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_other_default_ignorable_code_point.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 57dd4e0..7a5fce5 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_other_grapheme_extend.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 7ec421e..f40de9e 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_other_id_continue.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 4a121bd..cf1b2e4 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_other_id_start.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 01bcf11..ba13d39 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_other_lowercase.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index c9d415b..1cbcc5a 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_other_math.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index de9e32e..d8c6031 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_other_uppercase.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 6c4ac4f..941190d 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_paired_punctuation.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index ca2e578..8146851 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_paragraph_separator.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index df25dd2..43fb342 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_pattern_syntax.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 8f20032..6edae42 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_pattern_white_space.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 1d6e0a7..f9b4d24 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_private_use.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index a988dad..afee325 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_punctuation.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 5de6749..21862e9 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_quotation_mark.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 38bf095..ffa8d61 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_radical.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 5536f35..6ae3e90 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_sentence_terminal.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index e5e04d7..6b9c6e5 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_soft_dotted.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index c39c834..9ad1edd 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_space.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 56e96b5..4c36edd 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_terminal_punctuation.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index d2dfb0e..34597a8 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-pr_test.c
+tests/macros.h
 
 Depends-on:
 unictype/property-composite
index c4249fe..16cbecf 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_titlecase.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 42554f7..1d92aee 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_unassigned_code_value.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 221dff8..b6ef034 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_unified_ideograph.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 755da86..e0e8a44 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_uppercase.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 65fb917..8150e17 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_variation_selector.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 24fc272..64cf093 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_white_space.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index be749e7..ee71a02 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_xid_continue.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index ce09a17..a1a2a09 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_xid_start.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index f5b72d1..20163dd 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-pr_zero_width.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 54a6e1a..cd6a6eb 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-scripts.c
+tests/macros.h
 
 Depends-on:
 
index 6e0b700..5bd69aa 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-sy_c_ident.c
+tests/macros.h
 
 Depends-on:
 
index d1770b7..b19dd64 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-sy_c_whitespace.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 2c6dc12..2753d63 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unictype/test-sy_java_ident.c
+tests/macros.h
 
 Depends-on:
 
index bb9f57c..6fcd4a1 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unictype/test-sy_java_whitespace.c
 tests/unictype/test-predicate-part1.h
 tests/unictype/test-predicate-part2.h
+tests/macros.h
 
 Depends-on:
 
index 8dc7348..0ccca8c 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unilbrk/test-u16-possible-linebreaks.c
+tests/macros.h
 
 Depends-on:
 
index cdc2fbe..1f2eb54 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unilbrk/test-u16-width-linebreaks.c
+tests/macros.h
 
 Depends-on:
 
index 487a9a2..12ff96e 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unilbrk/test-u32-possible-linebreaks.c
+tests/macros.h
 
 Depends-on:
 
index 27644fd..e6daa5a 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unilbrk/test-u32-width-linebreaks.c
+tests/macros.h
 
 Depends-on:
 
index 9b9dcd3..3b1ac38 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unilbrk/test-u8-possible-linebreaks.c
+tests/macros.h
 
 Depends-on:
 
index 8608f1e..00fe85f 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unilbrk/test-u8-width-linebreaks.c
+tests/macros.h
 
 Depends-on:
 
index f631d15..33c1e04 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unilbrk/test-ulc-possible-linebreaks.c
+tests/macros.h
 
 Depends-on:
 
index c068eb5..7c05b5a 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/unilbrk/test-ulc-width-linebreaks.c
+tests/macros.h
 
 Depends-on:
 
index 5ec587e..189a46d 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uninorm/test-canonical-decomposition.c
+tests/macros.h
 
 Depends-on:
 
index a13beba..75cff7f 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uninorm/test-compat-decomposition.c
+tests/macros.h
 
 Depends-on:
 
index 1493498..d8d87df 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uninorm/test-composition.c
+tests/macros.h
 
 Depends-on:
 
index 5c8536d..f3113cb 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uninorm/test-decomposing-form.c
+tests/macros.h
 
 Depends-on:
 uninorm/nfc
index 69103db..ce70d17 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uninorm/test-decomposition.c
+tests/macros.h
 
 Depends-on:
 
index a857015..ae95a72 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uninorm/test-uninorm-filter-nfc.c
+tests/macros.h
 
 Depends-on:
 unistr/u32-cmp
index 4eec831..0c6b187 100644 (file)
@@ -8,6 +8,7 @@ tests/uninorm/test-u32-nfc-big.c
 tests/uninorm/test-u32-normalize-big.h
 tests/uninorm/test-u32-normalize-big.c
 tests/uninorm/NormalizationTest.txt
+tests/macros.h
 
 Depends-on:
 unistr/u8-cmp
index a30c61a..0ec2405 100644 (file)
@@ -8,6 +8,7 @@ tests/uninorm/test-u32-nfd-big.c
 tests/uninorm/test-u32-normalize-big.h
 tests/uninorm/test-u32-normalize-big.c
 tests/uninorm/NormalizationTest.txt
+tests/macros.h
 
 Depends-on:
 unistr/u8-cmp
index a7e4bde..12f3a43 100644 (file)
@@ -8,6 +8,7 @@ tests/uninorm/test-u32-nfkc-big.c
 tests/uninorm/test-u32-normalize-big.h
 tests/uninorm/test-u32-normalize-big.c
 tests/uninorm/NormalizationTest.txt
+tests/macros.h
 
 Depends-on:
 unistr/u8-cmp
index 7e3173d..9b5ec6e 100644 (file)
@@ -8,6 +8,7 @@ tests/uninorm/test-u32-nfkd-big.c
 tests/uninorm/test-u32-normalize-big.h
 tests/uninorm/test-u32-normalize-big.c
 tests/uninorm/NormalizationTest.txt
+tests/macros.h
 
 Depends-on:
 unistr/u8-cmp
index 6d95ed7..217e6f0 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/uninorm/test-u16-normcmp.c
 tests/uninorm/test-u16-normcmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfd
index 43f8ad9..bb29553 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/uninorm/test-u16-normcoll.c
 tests/uninorm/test-u16-normcmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfc
index 1f7c824..887ccb2 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/uninorm/test-u32-normcmp.c
 tests/uninorm/test-u32-normcmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfd
index 029fe87..41ce656 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/uninorm/test-u32-normcoll.c
 tests/uninorm/test-u32-normcmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfc
index eb83bcb..b1abc02 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/uninorm/test-u8-normcmp.c
 tests/uninorm/test-u8-normcmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfd
index 31e33a4..54995f0 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/uninorm/test-u8-normcoll.c
 tests/uninorm/test-u8-normcmp.h
+tests/macros.h
 
 Depends-on:
 uninorm/nfc
index e0d0ae4..9023b33 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unistdio/test-u16-asnprintf1.c
 tests/unistdio/test-u16-asnprintf1.h
 tests/unistdio/test-u16-printf1.h
+tests/macros.h
 
 Depends-on:
 
index 82f14ba..81a563b 100644 (file)
@@ -6,6 +6,7 @@ tests/unistdio/test-u16-vasnprintf2.sh
 tests/unistdio/test-u16-vasnprintf2.c
 tests/unistdio/test-u16-vasnprintf3.sh
 tests/unistdio/test-u16-vasnprintf3.c
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index f50bb4f..b4163a4 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-u16-vasprintf1.c
 tests/unistdio/test-u16-printf1.h
+tests/macros.h
 
 Depends-on:
 
index 815c852..0a4c70a 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-u16-vsnprintf1.c
 tests/unistdio/test-u16-printf1.h
+tests/macros.h
 
 Depends-on:
 xalloc
index 2a0f98a..715249d 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-u16-vsprintf1.c
 tests/unistdio/test-u16-printf1.h
+tests/macros.h
 
 Depends-on:
 xalloc
index f827976..8a285f3 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unistdio/test-u32-asnprintf1.c
 tests/unistdio/test-u32-asnprintf1.h
 tests/unistdio/test-u32-printf1.h
+tests/macros.h
 
 Depends-on:
 
index 29a8893..ae0bf1a 100644 (file)
@@ -6,6 +6,7 @@ tests/unistdio/test-u32-vasnprintf2.sh
 tests/unistdio/test-u32-vasnprintf2.c
 tests/unistdio/test-u32-vasnprintf3.sh
 tests/unistdio/test-u32-vasnprintf3.c
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index 6d85b0f..e7b4c02 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-u32-vasprintf1.c
 tests/unistdio/test-u32-printf1.h
+tests/macros.h
 
 Depends-on:
 
index 0692e96..65fd947 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-u32-vsnprintf1.c
 tests/unistdio/test-u32-printf1.h
+tests/macros.h
 
 Depends-on:
 xalloc
index b7dd115..04c515c 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-u32-vsprintf1.c
 tests/unistdio/test-u32-printf1.h
+tests/macros.h
 
 Depends-on:
 xalloc
index 10afe9d..2e6ed15 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unistdio/test-u8-asnprintf1.c
 tests/unistdio/test-u8-asnprintf1.h
 tests/unistdio/test-u8-printf1.h
+tests/macros.h
 
 Depends-on:
 
index 15251f7..221b942 100644 (file)
@@ -6,6 +6,7 @@ tests/unistdio/test-u8-vasnprintf2.sh
 tests/unistdio/test-u8-vasnprintf2.c
 tests/unistdio/test-u8-vasnprintf3.sh
 tests/unistdio/test-u8-vasnprintf3.c
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index a9490b4..ec85b60 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-u8-vasprintf1.c
 tests/unistdio/test-u8-printf1.h
+tests/macros.h
 
 Depends-on:
 
index 55f61fc..7f12e45 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-u8-vsnprintf1.c
 tests/unistdio/test-u8-printf1.h
+tests/macros.h
 
 Depends-on:
 xalloc
index 4b262ce..b20e704 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-u8-vsprintf1.c
 tests/unistdio/test-u8-printf1.h
+tests/macros.h
 
 Depends-on:
 xalloc
index 2588a7f..2eaddaf 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/unistdio/test-ulc-asnprintf1.c
 tests/unistdio/test-ulc-asnprintf1.h
 tests/unistdio/test-ulc-printf1.h
+tests/macros.h
 
 Depends-on:
 
index 6afb238..8ee2268 100644 (file)
@@ -6,6 +6,7 @@ tests/unistdio/test-ulc-vasnprintf2.sh
 tests/unistdio/test-ulc-vasnprintf2.c
 tests/unistdio/test-ulc-vasnprintf3.sh
 tests/unistdio/test-ulc-vasnprintf3.c
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index d006624..1acae46 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-ulc-vasprintf1.c
 tests/unistdio/test-ulc-printf1.h
+tests/macros.h
 
 Depends-on:
 
index 5f397f5..fb7eb6c 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-ulc-vsnprintf1.c
 tests/unistdio/test-ulc-printf1.h
+tests/macros.h
 
 Depends-on:
 xalloc
index a588379..7660984 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/unistdio/test-ulc-vsprintf1.c
 tests/unistdio/test-ulc-printf1.h
+tests/macros.h
 
 Depends-on:
 xalloc
index ae77ff9..8a923f3 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniwbrk/test-u16-wordbreaks.c
+tests/macros.h
 
 Depends-on:
 
index d57c04a..33145c0 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniwbrk/test-u32-wordbreaks.c
+tests/macros.h
 
 Depends-on:
 
index 8d14157..8248f2f 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniwbrk/test-u8-wordbreaks.c
+tests/macros.h
 
 Depends-on:
 
index afdd4f5..ad612ff 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/uniwbrk/test-ulc-wordbreaks.sh
 tests/uniwbrk/test-ulc-wordbreaks.c
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index 0405a9f..84d0c7e 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniwidth/test-u16-strwidth.c
+tests/macros.h
 
 Depends-on:
 
index 8b24bf0..3a87203 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniwidth/test-u16-width.c
+tests/macros.h
 
 Depends-on:
 
index 20e16d0..a8e34da 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniwidth/test-u32-strwidth.c
+tests/macros.h
 
 Depends-on:
 
index b8bf995..934402f 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniwidth/test-u32-width.c
+tests/macros.h
 
 Depends-on:
 
index 6e18d05..1898c90 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniwidth/test-u8-strwidth.c
+tests/macros.h
 
 Depends-on:
 
index f66aa52..a0112a7 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/uniwidth/test-u8-width.c
+tests/macros.h
 
 Depends-on:
 
index 05753a1..523d0ba 100644 (file)
@@ -2,6 +2,7 @@ Files:
 tests/uniwidth/test-uc_width.c
 tests/uniwidth/test-uc_width2.c
 tests/uniwidth/test-uc_width2.sh
+tests/macros.h
 
 Depends-on:
 
index d9c82eb..f49fe4d 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-unlink.h
 tests/test-unlink.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdbool
index fddee90..e3a62f4 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-unsetenv.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 putenv
index 59d9c17..43241f4 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-usleep.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 time
index 5bf14c2..a9ddd27 100644 (file)
@@ -5,6 +5,7 @@ tests/test-lutimens.h
 tests/test-utimens.h
 tests/test-utimens-common.h
 tests/test-utimens.c
+tests/macros.h
 
 Depends-on:
 symlink
index 46ae133..75516d8 100644 (file)
@@ -1,10 +1,11 @@
 Files:
-tests/signature.h
 tests/nap.h
 tests/test-lutimens.h
 tests/test-utimens.h
 tests/test-utimens-common.h
 tests/test-utimensat.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 progname
index 26c437c..d3dc168 100644 (file)
@@ -3,6 +3,7 @@ tests/test-vasnprintf-posix.c
 tests/test-vasnprintf-posix2.sh
 tests/test-vasnprintf-posix2.c
 tests/nan.h
+tests/macros.h
 m4/locale-fr.m4
 m4/codeset.m4
 
index 12ac4a6..7ae88c6 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-vasnprintf.c
+tests/macros.h
 
 Depends-on:
 
index bf4bd34..4be9c2b 100644 (file)
@@ -1,6 +1,7 @@
 Files:
 tests/test-vasprintf-posix.c
 tests/nan.h
+tests/macros.h
 
 Depends-on:
 stdint
index 0fd058a..f6a7d80 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-vasprintf.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index aa1c015..ffa2917 100644 (file)
@@ -1,9 +1,10 @@
 Files:
-tests/signature.h
 tests/test-vdprintf-posix.sh
 tests/test-vdprintf-posix.c
 tests/test-fprintf-posix.h
 tests/test-printf-posix.output
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdint
index 5423720..8062cd2 100644 (file)
@@ -1,9 +1,10 @@
 Files:
-tests/signature.h
 tests/test-vfprintf-posix.sh
 tests/test-vfprintf-posix.c
 tests/test-fprintf-posix.h
 tests/test-printf-posix.output
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdint
index 408948f..66c01bd 100644 (file)
@@ -1,9 +1,10 @@
 Files:
-tests/signature.h
 tests/test-vprintf-posix.sh
 tests/test-vprintf-posix.c
 tests/test-printf-posix.h
 tests/test-printf-posix.output
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdint
index 816b2a9..530e57c 100644 (file)
@@ -1,9 +1,10 @@
 Files:
-tests/signature.h
 tests/test-vsnprintf-posix.c
 tests/test-snprintf-posix.h
 tests/test-vsnprintf.c
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdint
index 4322d7b..9c520ce 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-vsnprintf.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 
index 54a6cd5..7b5412f 100644 (file)
@@ -1,8 +1,9 @@
 Files:
-tests/signature.h
 tests/test-vsprintf-posix.c
 tests/test-sprintf-posix.h
 tests/nan.h
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 stdint
index 885c6c1..47ba677 100644 (file)
@@ -1,7 +1,8 @@
 Files:
-tests/signature.h
 tests/test-wcrtomb.sh
 tests/test-wcrtomb.c
+tests/signature.h
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-ja.m4
 m4/locale-zh.m4
index f18bda9..dc362b9 100644 (file)
@@ -1,10 +1,11 @@
 Files:
-tests/signature.h
 tests/test-wcsnrtombs1.sh
 tests/test-wcsnrtombs2.sh
 tests/test-wcsnrtombs3.sh
 tests/test-wcsnrtombs4.sh
 tests/test-wcsnrtombs.c
+tests/signature.h
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-ja.m4
 m4/locale-zh.m4
index 68ab421..757ce42 100644 (file)
@@ -1,10 +1,11 @@
 Files:
-tests/signature.h
 tests/test-wcsrtombs1.sh
 tests/test-wcsrtombs2.sh
 tests/test-wcsrtombs3.sh
 tests/test-wcsrtombs4.sh
 tests/test-wcsrtombs.c
+tests/signature.h
+tests/macros.h
 m4/locale-fr.m4
 m4/locale-ja.m4
 m4/locale-zh.m4
index bd478d9..e7c7b2b 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-wctype.c
+tests/macros.h
 
 Depends-on:
 
index f12cc6e..0938a88 100644 (file)
@@ -1,6 +1,7 @@
 Files:
-tests/signature.h
 tests/test-wcwidth.c
+tests/signature.h
+tests/macros.h
 
 Depends-on:
 localcharset
index bcbc7ab..13311f0 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-xmemdup0.c
+tests/macros.h
 
 Depends-on:
 progname
index 92397b2..22e01ca 100644 (file)
@@ -5,6 +5,7 @@ tests/test-xprintf-posix.c
 tests/test-fprintf-posix.h
 tests/test-printf-posix.h
 tests/test-printf-posix.output
+tests/macros.h
 
 Depends-on:
 stdint
index a920e6c..77d536e 100644 (file)
@@ -1,5 +1,6 @@
 Files:
 tests/test-xvasprintf.c
+tests/macros.h
 
 Depends-on:
 progname
diff --git a/tests/macros.h b/tests/macros.h
new file mode 100644 (file)
index 0000000..dc55fbe
--- /dev/null
@@ -0,0 +1,56 @@
+/* Common macros used by gnulib tests.
+   Copyright (C) 2006-2009 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
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+
+/* This file contains macros that are used by many gnulib tests.
+   Put here only frequently used macros, say, used by 10 tests or more.  */
+
+#include <stdio.h>
+#include <stdlib.h>
+
+/* ASSERT (condition);
+   verifies that the specified condition is fulfilled.  If not, a message
+   is printed to stderr and the program is terminated with an error code.
+
+   This macro has the following properties:
+     - The programmer specifies the expected condition, not the failure
+       condition.  This simplifies thinking.
+     - The condition is tested always, regardless of compilation flags.
+       (Unlike the macro from <assert.h>.)
+     - On Unix platforms, the tester can debug the test program with a
+       debugger (provided core dumps are enabled: "ulimit -c unlimited").
+     - For the sake of platforms where no debugger is available (such as
+       some mingw systems), an error message is printed on stderr that
+       includes the source location of the ASSERT invocation.
+ */
+#define ASSERT(expr) \
+  do                                                                         \
+    {                                                                        \
+      if (!(expr))                                                           \
+        {                                                                    \
+          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+          fflush (stderr);                                                   \
+          abort ();                                                          \
+        }                                                                    \
+    }                                                                        \
+  while (0)
+
+/* SIZEOF (array)
+   returns the number of elements of an array.  It works for arrays that are
+   declared outside functions and for local variables of array type.  It does
+   *not* work for function parameters of array type, because they are actually
+   parameters of pointer type.  */
+#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
index ff50f89..8b7ff63 100644 (file)
 #include <sys/stat.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-areadlink-with-size.t"
 
index 9a36927..2e8aaa5 100644 (file)
 #include <sys/stat.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-areadlink.t"
 
index 55ab78e..67252a7 100644 (file)
 #include <sys/stat.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-areadlinkat-with-size.t"
 
index f5deb70..54e0745 100644 (file)
 #include <sys/stat.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-areadlinkat.t"
 
index c7f157f..5851842 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of exact or abbreviated match search.
-   Copyright (C) 1990, 1998-1999, 2001-2008 Free Software Foundation, Inc.
+   Copyright (C) 1990, 1998-1999, 2001-2009 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
 
 #include "argmatch.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Some packages define ARGMATCH_DIE and ARGMATCH_DIE_DECL in <config.h>, and
    thus must link with a definition of that function.  Provide it here.  */
index fffa425..10159ac 100644 (file)
 
 #include "argv-iter.h"
 
-#include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
 
+#include "macros.h"
+
 #define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
 #define STREQ(s1, s2) (strcmp (s1, s2) == 0)
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 
 static FILE *
 write_nul_delimited_argv (char **argv)
index 684231d..fccd8f1 100644 (file)
@@ -24,20 +24,9 @@ struct foo { double x; double index; };
 #define STATIC static
 #include "array-mergesort.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define NMAX 257
 static const struct foo data[NMAX] =
index 2f33d4c..3a8fad0 100644 (file)
 
 #include "gl_array_list.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "progname.h"
+#include "macros.h"
 
 static const char *objects[15] =
   {
     "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o"
   };
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 #define RANDOM(n) (rand () % (n))
 #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))]
 
index f79d162..15cec41 100644 (file)
 
 #include "gl_array_oset.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "gl_xlist.h"
 #include "gl_array_list.h"
 #include "progname.h"
+#include "macros.h"
 
 static const char *objects[30] =
   {
@@ -33,18 +33,6 @@ static const char *objects[30] =
     "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "<", ">", "[", "]"
   };
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 #define RANDOM(n) (rand () % (n))
 #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))]
 
index 4047ff6..6cd78f1 100644 (file)
 
 #include "gl_avltree_list.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "gl_array_list.h"
 #include "progname.h"
+#include "macros.h"
 
 extern void gl_avltree_list_check_invariants (gl_list_t list);
 
@@ -32,18 +32,6 @@ static const char *objects[15] =
     "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o"
   };
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 #define RANDOM(n) (rand () % (n))
 #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))]
 
index c07281a..a37b332 100644 (file)
 
 #include "gl_avltree_oset.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "gl_array_oset.h"
 #include "progname.h"
+#include "macros.h"
 
 extern void gl_avltree_oset_check_invariants (gl_oset_t set);
 
@@ -34,18 +34,6 @@ static const char *objects[30] =
     "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "<", ">", "[", "]"
   };
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 #define RANDOM(n) (rand () % (n))
 #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))]
 
index 12a716a..4306040 100644 (file)
 #include "gl_avltreehash_list.h"
 
 #include <limits.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "gl_array_list.h"
 #include "progname.h"
+#include "macros.h"
 
 extern void gl_avltreehash_list_check_invariants (gl_list_t list);
 
@@ -59,18 +59,6 @@ string_hash (const void *x)
   return h;
 }
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 #define RANDOM(n) (rand () % (n))
 #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))]
 
index 2a2a4f5..251b042 100644 (file)
 #include "base64.h"
 
 #include <stddef.h>
-#include <stdio.h>
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdint.h>
 
-#define ASSERT(expr)                                                    \
-  do                                                                    \
-    {                                                                   \
-      if (!(expr))                                                      \
-        {                                                               \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                              \
-          abort ();                                                     \
-        }                                                               \
-    }                                                                   \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index 335989f..5410b41 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of binary mode I/O.
-   Copyright (C) 2005, 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2007-2009 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
 #include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index db26ef8..0838a38 100644 (file)
 
 #include "bitrotate.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr)                                                    \
-  do                                                                    \
-    {                                                                   \
-      if (!(expr))                                                      \
-        {                                                               \
-          fprintf (stderr, "%s:%d: assertion failed\n",                 \
-                   __FILE__, __LINE__);                                 \
-          fflush (stderr);                                              \
-          abort ();                                                     \
-        }                                                               \
-    }                                                                   \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index 4a19553..eb959ae 100644 (file)
@@ -25,19 +25,8 @@ SIGNATURE_CHECK (btowc, wint_t, (int));
 
 #include <locale.h>
 #include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 55de36b..6f93b6d 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of <byteswap.h> substitute.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <byteswap.h>
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index e04de2e..9580966 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of character handling in C locale.
-   Copyright (C) 2005, 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2007-2009 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
 #include "c-ctype.h"
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 test_all (void)
index b5ff6be..56b2c16 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of c-stack module.
-   Copyright (C) 2002, 2004, 2006, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2004, 2006, 2008-2009 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
@@ -20,7 +20,6 @@
 
 #include "exitfail.h"
 #include <stdio.h>
-#include <stdlib.h>
 #if HAVE_SETRLIMIT
 /* At least FreeBSD 5.0 needs extra headers before <sys/resource.h>
    will compile.  */
 # include <sys/resource.h>
 #endif
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 char *program_name;
 
index e0c2368..cfa5e12 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of case-insensitive string comparison function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include "c-strcase.h"
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 0c8a40d..905d546 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of case-insensitive searching in a string.
-   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "c-strcasestr.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index fb5f220..b993cf9 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of case-insensitive string comparison function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include "c-strcase.h"
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 2b2ebf9..b5dbb55 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of searching in a string.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "c-strstr.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 4f4fca1..e35d921 100644 (file)
@@ -32,18 +32,7 @@ SIGNATURE_CHECK (canonicalize_file_name, char *, (const char *));
 #include <unistd.h>
 
 #include "same-inode.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "t-can-lgpl.tmp"
 
index 70b6341..5830267 100644 (file)
 #include <unistd.h>
 
 #include "same-inode.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "t-can.tmp"
 
index def7c55..e75bc18 100644 (file)
 
 #include "gl_carray_list.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "gl_array_list.h"
 #include "progname.h"
+#include "macros.h"
 
 static const char *objects[15] =
   {
     "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o"
   };
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 #define RANDOM(n) (rand () % (n))
 #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))]
 
index e180e95..e37c14e 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (ceilf, float, (float));
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "isnanf-nolibm.h"
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0f.
    So we use -zero instead.  */
index ec0f608..a7c4b5e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of rounding towards positive infinity.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <stdbool.h>
 #include <stdint.h>
 #include <stdio.h>
-#include <stdlib.h>
 
 #include "isnanf-nolibm.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 
 /* The reference implementation, taken from lib/ceil.c.  */
index 2ed0053..a7dfe20 100644 (file)
 SIGNATURE_CHECK (ceill, long double, (long double));
 
 #include <float.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "fpucw.h"
 #include "isnanl-nolibm.h"
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
    So we use minus_zero instead.
index e766070..3974903 100644 (file)
@@ -32,18 +32,7 @@ SIGNATURE_CHECK (chown, int, (char const *, uid_t, gid_t));
 
 #include "mgetgroups.h"
 #include "stat-time.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-chown.t"
 
index 1f43014..56e26d1 100644 (file)
@@ -22,8 +22,6 @@
 
 #include <errno.h>
 #include <fcntl.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <unistd.h>
 
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 #endif
 
 #include "binary-io.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Return non-zero if FD is open and inheritable across exec/spawn.  */
 static int
index 198d59d..5da63bc 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of copying of files.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 #include <sys/stat.h>
 
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index a2bb421..e845e11 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of copying of files.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 
 #include "copy-file.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 5757bbd..aec49e1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2008 Free Software Foundation
+ * Copyright (C) 2007-2009 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
 
 #include <limits.h>
 #include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr)                                            \
-  do                                                            \
-    {                                                           \
-      if (!(expr))                                              \
-        {                                                       \
-          fprintf (stderr, "%s:%d: assertion \"%s\" failed\n",  \
-                   __FILE__, __LINE__, #expr);                  \
-          fflush (stderr);                                      \
-          abort ();                                             \
-        }                                                       \
-    }                                                           \
-  while (0)
+#include "macros.h"
 
 #define UINT_BIT (sizeof (unsigned int) * CHAR_BIT)
 #define ULONG_BIT (sizeof (unsigned long int) * CHAR_BIT)
index 9cedc1c..341ece2 100644 (file)
@@ -25,20 +25,9 @@ SIGNATURE_CHECK (dprintf, int, (int, const char *, ...));
 
 #include <stddef.h>
 #include <stdint.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 test_function (int (*my_dprintf) (int, const char *, ...))
index a4aca82..d3751f5 100644 (file)
@@ -25,8 +25,6 @@ SIGNATURE_CHECK (dup2, int, (int, int));
 
 #include <errno.h>
 #include <fcntl.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "binary-io.h"
 #include "cloexec.h"
@@ -37,17 +35,7 @@ SIGNATURE_CHECK (dup2, int, (int, int));
 # include <windows.h>
 #endif
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Return non-zero if FD is open.  */
 static int
index 9133b7b..184d780 100644 (file)
@@ -27,8 +27,6 @@ SIGNATURE_CHECK (dup3, int, (int, int, int));
 #include <errno.h>
 #include <fcntl.h>
 #include <stdbool.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 /* Get declarations of the Win32 API functions.  */
@@ -37,18 +35,7 @@ SIGNATURE_CHECK (dup3, int, (int, int, int));
 #endif
 
 #include "binary-io.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Return true if FD is open.  */
 static bool
index a368c07..e0930d6 100644 (file)
@@ -28,20 +28,9 @@ SIGNATURE_CHECK (duplocale, locale_t, (locale_t));
 #include <langinfo.h>
 #include <monetary.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 struct locale_dependent_values
 {
index 3f83864..5675e44 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of fbufmode() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include "fbufmode.h"
 
 #include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 #define TESTFILE "t-fbufmode.tmp"
 
index 7ec675e..f5cce49 100644 (file)
@@ -25,23 +25,11 @@ SIGNATURE_CHECK (fchdir, int, (int));
 
 #include <errno.h>
 #include <fcntl.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "cloexec.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index c084ddf..a6d177d 100644 (file)
@@ -33,18 +33,7 @@ SIGNATURE_CHECK (fchownat, int, (int, char const *, uid_t, gid_t, int));
 #include "mgetgroups.h"
 #include "openat.h"
 #include "stat-time.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-fchownat.t"
 
index 15f6e2c..c3e77fa 100644 (file)
 #include <errno.h>
 #include <stdbool.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-fcntl-safer.t"
 
index 77ac870..b14e00a 100644 (file)
@@ -28,8 +28,6 @@ SIGNATURE_CHECK (fcntl, int, (int, int, ...));
 #include <errno.h>
 #include <stdarg.h>
 #include <stdbool.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <unistd.h>
 
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
@@ -39,6 +37,7 @@ SIGNATURE_CHECK (fcntl, int, (int, int, ...));
 #endif
 
 #include "binary-io.h"
+#include "macros.h"
 
 /* Use O_CLOEXEC if available, but test works without it.  */
 #ifndef O_CLOEXEC
@@ -50,18 +49,6 @@ SIGNATURE_CHECK (fcntl, int, (int, int, ...));
 static int zero (void) { return 0; }
 #endif
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 /* Return true if FD is open.  */
 static bool
 is_open (int fd)
index f6006d0..943b8d1 100644 (file)
@@ -25,21 +25,9 @@ SIGNATURE_CHECK (fdopendir, DIR *, (int));
 
 #include <errno.h>
 #include <fcntl.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index 00729d8..ad0eca9 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-fdutimensat.t"
 
index da0a760..e2e82b0 100644 (file)
 
 #include <stdio.h>
 
-#include <stdlib.h>
-
 #include "binary-io.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char **argv)
index 3e069ee..4727ed1 100644 (file)
 #include <sys/types.h>
 #include <sys/stat.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 4c29d0c..624794b 100644 (file)
 
 #include "filevercmp.h"
 
-#include <stdio.h>
-#include <stdlib.h>
+#include <stddef.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* set of well sorted examples */
 static const char *const examples[] =
index a8a615e..beae8c8 100644 (file)
 SIGNATURE_CHECK (flock, int, (int, int));
 
 #include <fcntl.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <unistd.h>
 #include <errno.h>
 
-#define ASSERT(expr) \
-  do                                                                    \
-    {                                                                   \
-      if (!(expr))                                                      \
-        {                                                               \
-          fprintf (stderr, "%s:%d: assertion failed, errno = %d\n",     \
-                   __FILE__, __LINE__, errno);                          \
-          fflush (stderr);                                              \
-          abort ();                                                     \
-        }                                                               \
-    }                                                                   \
-  while (0)
+#include "macros.h"
 
 static void
 test_shared (const char *file, int fd)
index e156732..025ea9b 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (floorf, float, (float));
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "isnanf-nolibm.h"
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0f.
    So we use -zero instead.  */
index d668487..d6a22ee 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of rounding towards negative infinity.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <stdbool.h>
 #include <stdint.h>
 #include <stdio.h>
-#include <stdlib.h>
 
 #include "isnanf-nolibm.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 
 /* The reference implementation, taken from lib/floor.c.  */
index a8080e5..cbef77a 100644 (file)
 SIGNATURE_CHECK (floorl, long double, (long double));
 
 #include <float.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "fpucw.h"
 #include "isnanl-nolibm.h"
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
    So we use minus_zero instead.
index f9485af..6cd2d8a 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (fnmatch, int, (char const *, char const *, int));
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr)                                                    \
-  do                                                                    \
-    {                                                                   \
-      if (!(expr))                                                      \
-        {                                                               \
-          fprintf (stderr, "%s:%d: assertion failed\n",                 \
-                   __FILE__, __LINE__);                                 \
-          fflush (stderr);                                              \
-          abort ();                                                     \
-        }                                                               \
-    }                                                                   \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 6ba923b..106f491 100644 (file)
 /* Include <config.h> and a form of <stdio.h> first.  */
 
 #include <errno.h>
-#include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Test fopen.  Assumes BASE is defined.  */
 
index 44b6f66..09b7bfa 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index 21c626e..46e5fd6 100644 (file)
@@ -26,20 +26,9 @@ SIGNATURE_CHECK (fprintf, int, (FILE *, char const *, ...));
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-fprintf-posix.h"
 
index 9bf2378..ad77fa9 100644 (file)
 
 #include <stdio.h>
 
-#include <stdlib.h>
 #include <string.h>
 
+#include "macros.h"
+
 /* None of the files accessed by this test are large, so disable the
    fseek link warning if we are not using the gnulib fseek module.  */
 #if !GNULIB_FSEEK
 # undef fseek
 #endif
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 #define TESTFILE "t-fpurge.tmp"
 
 int
index becad34..0582ffd 100644 (file)
@@ -21,7 +21,8 @@
 #include "freadable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include "macros.h"
 
 /* None of the files accessed by this test are large, so disable the
    fseek link warning if we are not using the gnulib fseek module.  */
 # undef fseek
 #endif
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 #define TESTFILE "t-freadable.tmp"
 
 int
index c216231..bea6eed 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of freadahead() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "freadahead.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char **argv)
index eb5699d..1f9af7f 100644 (file)
@@ -21,7 +21,8 @@
 #include "freading.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include "macros.h"
 
 /* None of the files accessed by this test are large, so disable the
    fseek link warning if we are not using the gnulib fseek module.  */
 # undef fseek
 #endif
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 #define TESTFILE "t-freading.tmp"
 
 int
index 65334b8..df1259c 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of freadptr() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "freadptr.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char **argv)
index e6f5348..0a570ec 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of freadptr() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 freadptrbufsize (FILE *fp)
index 2bd9ab6..ca7aaa4 100644 (file)
 #include <string.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char **argv)
index bdb5de0..4848708 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (freopen, FILE *, (char const *, char const *, FILE *));
 
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 6b285c9..9b6f464 100644 (file)
 SIGNATURE_CHECK (frexp, double, (double, int *));
 
 #include <float.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "isnand-nolibm.h"
 #include "nan.h"
+#include "macros.h"
 
 /* Avoid some warnings from "gcc -Wshadow".
    This file doesn't use the exp() function.  */
 #undef exp
 #define exp exponent
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
    So we use -zero instead.  */
 double zero = 0.0;
index 7b7ec53..f673194 100644 (file)
 SIGNATURE_CHECK (frexpl, long double, (long double, int *));
 
 #include <float.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "fpucw.h"
 #include "isnanl-nolibm.h"
 #include "nan.h"
+#include "macros.h"
 
 /* Avoid some warnings from "gcc -Wshadow".
    This file doesn't use the exp() function.  */
 #undef exp
 #define exp exponent
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 /* On MIPS IRIX machines, LDBL_MIN_EXP is -1021, but the smallest reliable
    exponent for 'long double' is -964.  Similarly, on PowerPC machines,
    LDBL_MIN_EXP is -1021, but the smallest reliable exponent for 'long double'
index 4447a9b..00ded3e 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (fseek, int, (FILE *, long, int));
 
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #ifndef FUNC_UNGETC_BROKEN
 # define FUNC_UNGETC_BROKEN 0
index 0d2f321..6a8a1c0 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (fseeko, int, (FILE *, off_t, int));
 
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #ifndef FUNC_UNGETC_BROKEN
 # define FUNC_UNGETC_BROKEN 0
index 552bf45..e6abe38 100644 (file)
@@ -33,18 +33,7 @@ SIGNATURE_CHECK (fstatat, int, (int, char const *, struct stat *, int));
 #include "openat.h"
 #include "pathmax.h"
 #include "same-inode.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-fstatat.t"
 
index a2d2505..e72fef0 100644 (file)
 #include "fstrcmp.h"
 
 #include <stdbool.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static bool
 check_fstrcmp (const char *string1, const char *string2, double expected)
index bf789a2..12a56b2 100644 (file)
 SIGNATURE_CHECK (fsync, int, (int));
 
 #include <errno.h>
-#include <stdio.h>
 #include <fcntl.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index d9723f5..0f35da4 100644 (file)
@@ -23,9 +23,8 @@
 #include "signature.h"
 SIGNATURE_CHECK (ftell, long, (FILE *));
 
-#include <stdlib.h>
-
 #include "binary-io.h"
+#include "macros.h"
 
 /* None of the files accessed by this test are large, so disable the
    fseek link warning if we are not using the gnulib fseek module.  */
@@ -33,18 +32,6 @@ SIGNATURE_CHECK (ftell, long, (FILE *));
 # undef fseek
 #endif
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 #ifndef FUNC_UNGETC_BROKEN
 # define FUNC_UNGETC_BROKEN 0
 #endif
index 2af43f2..bde4e06 100644 (file)
@@ -23,9 +23,8 @@
 #include "signature.h"
 SIGNATURE_CHECK (ftello, off_t, (FILE *));
 
-#include <stdlib.h>
-
 #include "binary-io.h"
+#include "macros.h"
 
 /* None of the files accessed by this test are large, so disable the
    fseek link warning if we are not using the gnulib fseek module.  */
@@ -33,18 +32,6 @@ SIGNATURE_CHECK (ftello, off_t, (FILE *));
 # undef fseek
 #endif
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 #ifndef FUNC_UNGETC_BROKEN
 # define FUNC_UNGETC_BROKEN 0
 #endif
index 7679ef0..88d5f2c 100644 (file)
 #include <config.h>
 
 #include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr)                                                         \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 int
 main ()
index 5753c6b..0ee1fe0 100644 (file)
@@ -34,18 +34,7 @@ SIGNATURE_CHECK (futimens, int, (int, struct timespec const[2]));
 #include "stat-time.h"
 #include "timespec.h"
 #include "utimecmp.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-futimens.t"
 
index 34f2427..f4c4082 100644 (file)
@@ -21,7 +21,8 @@
 #include "fwritable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include "macros.h"
 
 /* None of the files accessed by this test are large, so disable the
    fseek link warning if we are not using the gnulib fseek module.  */
 # undef fseek
 #endif
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 #define TESTFILE "t-fwritable.tmp"
 
 int
index ee23eec..61c4f80 100644 (file)
@@ -21,7 +21,8 @@
 #include "fwriting.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include "macros.h"
 
 /* None of the files accessed by this test are large, so disable the
    fseek link warning if we are not using the gnulib fseek module.  */
 # undef fseek
 #endif
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 #define TESTFILE "t-fwriting.tmp"
 
 int
index 7570180..1f6306d 100644 (file)
@@ -25,17 +25,7 @@ SIGNATURE_CHECK (getcwd, char *, (char *, size_t));
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char **argv)
index b30ef82..09b1b54 100644 (file)
 #include <string.h>
 
 #include "progname.h"
-
-#define ASSERT(expr)                                                    \
-  do                                                                    \
-    {                                                                   \
-      if (!(expr))                                                      \
-        {                                                               \
-          fprintf (stderr, "%s:%d: assertion failed\n",                 \
-                   __FILE__, __LINE__);                                 \
-          fflush (stderr);                                              \
-          abort ();                                                     \
-        }                                                               \
-    }                                                                   \
-  while (0)
+#include "macros.h"
 
 #ifdef DEBUG
 #define LOG(str, now, res)                                              \
index dc40bdd..dbb44a6 100644 (file)
@@ -27,17 +27,7 @@ SIGNATURE_CHECK (getdelim, ssize_t, (char **, size_t *, int, FILE *));
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index e587aa1..a86ba4b 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (getdtablesize, int, (void));
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 1d3ca98..14f49f7 100644 (file)
@@ -28,17 +28,7 @@ SIGNATURE_CHECK (getgroups, int, (int, gid_t[]));
 #include <stdlib.h>
 #include <stdint.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char **argv _GL_UNUSED)
index 7564ece..bab99b3 100644 (file)
@@ -27,17 +27,7 @@ SIGNATURE_CHECK (getline, ssize_t, (char **, size_t *, FILE *));
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index ff641bd..e276adb 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index d7a17dc..f8d132e 100644 (file)
@@ -25,22 +25,9 @@ SIGNATURE_CHECK (glob, int, (char const *, int, int (*) (char const *, int),
                              glob_t *));
 SIGNATURE_CHECK (globfree, void, (glob_t *));
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr)                                                    \
-  do                                                                    \
-    {                                                                   \
-      if (!(expr))                                                      \
-        {                                                               \
-          fprintf (stderr, "%s:%d: assertion failed\n",                 \
-                   __FILE__, __LINE__);                                 \
-          fflush (stderr);                                              \
-          abort ();                                                     \
-        }                                                               \
-    }                                                                   \
-  while (0)
+#include "macros.h"
 
 #define GL_NO_SUCH_FILE "/gnulib-magic-does-not-exist"
 
index 2e7c550..0ee24ec 100644 (file)
 #include <string.h>
 #include <unistd.h>
 
+#include "macros.h"
+
 #define STREQ(a, b) (strcmp (a, b) == 0)
 #define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 static bool
 hash_compare_strings (void const *x, void const *y)
 {
index d53123e..56c480c 100644 (file)
 
 #include "i-ring.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index 1164774..7f57d91 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of character set conversion.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #endif
 
 #include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 566ddee..66db918 100644 (file)
@@ -34,21 +34,9 @@ SIGNATURE_CHECK (iconv_open, iconv_t, (char const *, char const *));
 #endif
 
 #include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 5dbc8e2..7157ef3 100644 (file)
 #include <string.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 show_uids ()
index 3dc36c9..53c9ac0 100644 (file)
 #include <string.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 show_uids ()
index 8495620..d424b72 100644 (file)
@@ -26,21 +26,9 @@ SIGNATURE_CHECK (inet_ntop, char const *, (int, void const *, char *,
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index b1dbb05..deaf30a 100644 (file)
@@ -25,20 +25,8 @@ SIGNATURE_CHECK (inet_pton, int, (int, const char *, void *));
 
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index d29fc63..be370cb 100644 (file)
@@ -25,19 +25,8 @@ SIGNATURE_CHECK (isblank, int, (int));
 
 #include <limits.h>
 #include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index fc2f23c..de08e30 100644 (file)
 
 #include <float.h>
 #include <limits.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 float zerof = 0.0f;
 double zerod = 0.0;
index d81ee7a..678b0fe 100644 (file)
 
 #include <float.h>
 #include <limits.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 float zerof = 0.0f;
 double zerod = 0.0;
index 74bb9d9..a5787c2 100644 (file)
 
 #include <float.h>
 #include <limits.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0f.
    So we use -zero instead.  */
index 215e18a..c5dc549 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of isnand() substitute.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 /* Written by Bruno Haible <bruno@clisp.org>, 2007.  */
 
 #include <limits.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
    So we use -zero instead.  */
index 2444c6d..b0d99fd 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of isnanf() substitute.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 /* Written by Bruno Haible <bruno@clisp.org>, 2007.  */
 
 #include <limits.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0f.
    So we use -zero instead.  */
index 8638f06..13a92ef 100644 (file)
 
 #include <float.h>
 #include <limits.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
    So we use minus_zero instead.
index b909102..24b7ece 100644 (file)
@@ -32,18 +32,7 @@ SIGNATURE_CHECK (lchown, int, (char const *, uid_t, gid_t));
 
 #include "mgetgroups.h"
 #include "stat-time.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-lchown.t"
 
index 0fe4f86..510841c 100644 (file)
 SIGNATURE_CHECK (ldexpl, long double, (long double, int));
 
 #include <float.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "fpucw.h"
 #include "isnanl-nolibm.h"
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
    So we use minus_zero instead.
index d2ff679..817c464 100644 (file)
@@ -30,17 +30,7 @@ SIGNATURE_CHECK (link, int, (char const *, char const *));
 #include <sys/stat.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-link.t"
 
index c827a27..98165c0 100644 (file)
@@ -34,18 +34,7 @@ SIGNATURE_CHECK (linkat, int, (int, char const *, int, char const *, int));
 #include "filenamecat.h"
 #include "same-inode.h"
 #include "xgetcwd.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-linkat.t"
 
index 5511c89..45b3ae8 100644 (file)
 
 #include "gl_linked_list.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "gl_array_list.h"
 #include "progname.h"
+#include "macros.h"
 
 static const char *objects[15] =
   {
     "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o"
   };
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 #define RANDOM(n) (rand () % (n))
 #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))]
 
index 98913c5..1abd65b 100644 (file)
 #include "gl_linkedhash_list.h"
 
 #include <limits.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "gl_array_list.h"
 #include "progname.h"
+#include "macros.h"
 
 static const char *objects[15] =
   {
@@ -57,18 +57,6 @@ string_hash (const void *x)
   return h;
 }
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 #define RANDOM(n) (rand () % (n))
 #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))]
 
index c7e0673..553cafc 100644 (file)
 #include "localename.h"
 
 #include <locale.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static struct { int cat; int mask; const char *string; } const categories[] =
   {
index a57443d..fa0505d 100644 (file)
 SIGNATURE_CHECK (lseek, off_t, (int, off_t, int));
 
 #include <errno.h>
-#include <stdio.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* ARGC must be 2; *ARGV[1] is '0' if stdin and stdout are files, '1'
    if they are pipes, and '2' if they are closed.  Check for proper
index 74a4fd2..1940a21 100644 (file)
@@ -35,18 +35,7 @@ SIGNATURE_CHECK (lstat, int, (char const *, struct stat *));
 #include <unistd.h>
 
 #include "same-inode.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-lstat.t"
 
index 3fb7e0a..0adf80c 100644 (file)
 
 #include <locale.h>
 #include <stdbool.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-mbmemcasecmp.h"
 
index b127296..fd30df7 100644 (file)
 
 #include <locale.h>
 #include <stdbool.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-mbmemcasecmp.h"
 
index 9164273..d84bafe 100644 (file)
@@ -26,20 +26,9 @@ SIGNATURE_CHECK (mbrtowc, size_t, (wchar_t *, char const *, size_t,
 
 #include <locale.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 6e4757c..17b278e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of case-insensitive string comparison function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 int
 main ()
index b174f15..94b6ade 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of case-insensitive searching in a string.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <string.h>
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index c9b4f98..42f2bfc 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of searching in a string.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
 #include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index a636eba..a1b5d5b 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of case-insensitive searching in a string.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 int
 main ()
index 9763f15..f633763 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of case-insensitive searching in a string.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 2028dec..f087150 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of searching a string for a character.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index f2dae51..d65db4e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of searching a string for a character among a given set of characters.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 2732693..e72086d 100644 (file)
 SIGNATURE_CHECK (mbsinit, int, (const mbstate_t *));
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 2db03ba..3f0d689 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of case-insensitive string comparison function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 int
 main ()
index 471c17b..315b3fa 100644 (file)
@@ -26,20 +26,9 @@ SIGNATURE_CHECK (mbsnrtowcs, size_t, (wchar_t *, char const **, size_t, size_t,
 
 #include <locale.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index c5b386f..5214567 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of searching a string for a character among a given set of characters.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 912eb85..c337c23 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of case-insensitive string comparison function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 int
 main ()
index 160148a..0c435ae 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of searching a string for the last occurrence of a character.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 4a01d4a..4447f2c 100644 (file)
@@ -26,20 +26,9 @@ SIGNATURE_CHECK (mbsrtowcs, size_t, (wchar_t *, char const **, size_t,
 
 #include <locale.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index f8798db..5e27dfc 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of searching a string for a character outside a given set of characters.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 23e1dbe..97ef60d 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of searching in a string.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <string.h>
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 667390f..2e4c538 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of searching in a string.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
 #include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index a948a03..6d0b5d6 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of searching in a string.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <string.h>
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 int
 main ()
index 2ec37b6..5d31e76 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (memchr, void *, (void const *, int, size_t));
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "zerosize-ptr.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Calculating void * + int is not portable, so this wrapper converts
    to char * to make the tests easier to write.  */
index ef0a713..a992fb5 100644 (file)
 
 #include "memchr2.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "zerosize-ptr.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Calculating void * + int is not portable, so this wrapper converts
    to char * to make the tests easier to write.  */
index 463ca0c..48cf40d 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (memcmp, int, (void const *, void const *, size_t));
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "zerosize-ptr.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index 3c71a2e..babf681 100644 (file)
 SIGNATURE_CHECK (memmem, void *, (void const *, size_t, void const *, size_t));
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "zerosize-ptr.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void *
 null_ptr (void)
index d9128e7..e768daf 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (memrchr, void *, (void const *, int, size_t));
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "zerosize-ptr.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Calculating void * + int is not portable, so this wrapper converts
    to char * to make the tests easier to write.  */
index 1531e25..379e90c 100644 (file)
@@ -30,17 +30,7 @@ SIGNATURE_CHECK (mkdir, int, (char const *, mode_t));
 #include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-mkdir.t"
 
index c11b165..d3180e6 100644 (file)
@@ -30,17 +30,7 @@ SIGNATURE_CHECK (mkdirat, int, (int, char const *, mode_t));
 #include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-mkdirat.t"
 
index df002ed..4b4c93b 100644 (file)
@@ -30,17 +30,7 @@ SIGNATURE_CHECK (mkfifo, int, (char const *, mode_t));
 #include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-mkfifo.t"
 
index 1c6656e..ef3e817 100644 (file)
@@ -32,17 +32,7 @@ SIGNATURE_CHECK (mknodat, int, (int, char const *, mode_t, dev_t));
 #include <string.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-mkfifoat.t"
 
index b00cd28..a62df6d 100644 (file)
@@ -30,17 +30,7 @@ SIGNATURE_CHECK (mknod, int, (char const *, mode_t, dev_t));
 #include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-mknod.t"
 
index 797c8be..09aff7a 100644 (file)
@@ -25,23 +25,10 @@ SIGNATURE_CHECK (nanosleep, int, (struct timespec const *, struct timespec *));
 
 #include <errno.h>
 #include <signal.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <unistd.h>
 
 #include "intprops.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #if HAVE_DECL_ALARM
 static void
index a2f5f68..4a79b50 100644 (file)
 SIGNATURE_CHECK (nl_langinfo, char *, (nl_item));
 
 #include <locale.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "c-strcase.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index ca07f47..fe2689c 100644 (file)
@@ -33,18 +33,7 @@ SIGNATURE_CHECK (obstack_vprintf, int, (struct obstack *, char const *,
 #include <string.h>
 
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define obstack_chunk_alloc xmalloc
 #define obstack_chunk_free free
index 4bdf314..a5fb461 100644 (file)
@@ -26,20 +26,9 @@ SIGNATURE_CHECK (open, int, (char const *, int, ...));
 #include <errno.h>
 #include <stdbool.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-open.t"
 
index 5eb9deb..36bbdb5 100644 (file)
@@ -27,20 +27,9 @@ SIGNATURE_CHECK (openat, int, (int, char const *, int, ...));
 #include <stdarg.h>
 #include <stdbool.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-openat.t"
 
index 2284198..1d5aff0 100644 (file)
 
 #include "pipe-filter.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "binary-io.h"
 #include "c-ctype.h"
 #include "read-file.h"
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 
 /* Pipe a text file through 'tr a-z A-Z', which converts ASCII characters from
index 5cf8984..5732445 100644 (file)
 
 #include "full-write.h"
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* 0.1 sec pause */
 static void
index 310a7bb..eb19686 100644 (file)
 
 #include "pipe-filter.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "binary-io.h"
 #include "c-ctype.h"
 #include "read-file.h"
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 
 /* Pipe a text file through 'tr a-z A-Z', which converts ASCII characters from
index 909634f..96d70db 100644 (file)
 
 #include "full-write.h"
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 struct locals
 {
index 5eb5ec3..e1fbe29 100644 (file)
@@ -32,18 +32,7 @@ SIGNATURE_CHECK (pipe2, int, (int[2], int));
 #endif
 
 #include "binary-io.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Return true if FD is open.  */
 static bool
index b0d2e6f..d701182 100644 (file)
 #include <sys/wait.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char **argv)
index e1a87a0..9c94262 100644 (file)
 #include <time.h>
 
 #include "intprops.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 struct posixtm_test
 {
index d5a86ad..b8b133b 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (pread, ssize_t, (int, void *, size_t, off_t));
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <sys/types.h>
 #include <fcntl.h>
 #include <errno.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define N (sizeof buf - 1)
 
index a194132..38cfd2f 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of splitting a double into fraction and mantissa.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include "printf-frexp.h"
 
 #include <float.h>
-#include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static double
 my_ldexp (double x, int d)
index 50f8aaf..7ec6909 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of splitting a 'long double' into fraction and mantissa.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include "printf-frexpl.h"
 
 #include <float.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "fpucw.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* On MIPS IRIX machines, LDBL_MIN_EXP is -1021, but the smallest reliable
    exponent for 'long double' is -964.  Similarly, on PowerPC machines,
index c09b188..cfa502f 100644 (file)
@@ -25,20 +25,9 @@ SIGNATURE_CHECK (printf, int, (char const *, ...));
 
 #include <stddef.h>
 #include <stdint.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-printf-posix.h"
 
index 8b50a7e..9a650ad 100644 (file)
 # include <priv.h>
 #endif
 #include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <errno.h>
 #include <sys/types.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index cb5a73b..1026993 100644 (file)
 #include <locale.h>
 #include <stdbool.h>
 #include <stdint.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "progname.h"
 #include "gettext.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 struct result_strings {
   char const *str1; /* Translation of "".  */
index 391d98c..4c1e242 100644 (file)
@@ -25,20 +25,9 @@ SIGNATURE_CHECK (initstate_r, int, (unsigned int, char *, size_t,
 SIGNATURE_CHECK (setstate_r, int, (char *, struct random_data *));
 SIGNATURE_CHECK (random_r, int, (struct random_data *, int32_t *));
 
-#include <stdio.h>
 #include <time.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index f1eef2c..180c2b0 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (rawmemchr, void *, (void const *, int));
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Calculating void * + int is not portable, so this wrapper converts
    to char * to make the tests easier to write.  */
index 1f91492..ecb647d 100644 (file)
 
 #include "gl_rbtree_list.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "gl_array_list.h"
 #include "progname.h"
+#include "macros.h"
 
 extern void gl_rbtree_list_check_invariants (gl_list_t list);
 
@@ -32,18 +32,6 @@ static const char *objects[15] =
     "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o"
   };
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 #define RANDOM(n) (rand () % (n))
 #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))]
 
index 79bcc89..72f3509 100644 (file)
 
 #include "gl_rbtree_oset.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "gl_array_oset.h"
 #include "progname.h"
+#include "macros.h"
 
 extern void gl_rbtree_oset_check_invariants (gl_oset_t set);
 
@@ -34,18 +34,6 @@ static const char *objects[30] =
     "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "<", ">", "[", "]"
   };
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 #define RANDOM(n) (rand () % (n))
 #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))]
 
index 7ec8f1e..ec67550 100644 (file)
 #include "gl_rbtreehash_list.h"
 
 #include <limits.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "gl_array_list.h"
 #include "progname.h"
+#include "macros.h"
 
 extern void gl_rbtreehash_list_check_invariants (gl_list_t list);
 
@@ -59,18 +59,6 @@ string_hash (const void *x)
   return h;
 }
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
 #define RANDOM(n) (rand () % (n))
 #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))]
 
index 61f8f6b..4ec0fcd 100644 (file)
@@ -31,17 +31,7 @@ SIGNATURE_CHECK (readlink, ssize_t, (char const *, char *, size_t));
 #include <string.h>
 #include <sys/stat.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-readlink.t"
 
index 1a92f6c..4bcc2ec 100644 (file)
@@ -30,17 +30,7 @@ SIGNATURE_CHECK (remove, int, (char const *));
 #include <sys/stat.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-remove.t"
 
index 1cd2e8f..797cc94 100644 (file)
@@ -29,17 +29,7 @@ SIGNATURE_CHECK (rename, int, (char const *, char const *));
 #include <sys/stat.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-rename.t"
 
index 3293d52..de84fa6 100644 (file)
@@ -32,18 +32,7 @@ SIGNATURE_CHECK (renameat, int, (int, char const *, int, char const *));
 
 #include "filenamecat.h"
 #include "xgetcwd.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-renameat.t"
 
index 44f5d72..9ca88e2 100644 (file)
@@ -30,17 +30,7 @@ SIGNATURE_CHECK (rmdir, int, (char const *));
 #include <stdlib.h>
 #include <sys/stat.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-rmdir.t"
 
index 6f2795e..c20059b 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (round, double, (double));
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "isnand-nolibm.h"
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
    So we use -zero instead.  */
index 98edc4a..ce603bb 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (roundf, float, (float));
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "isnanf-nolibm.h"
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0f.
    So we use -zero instead.  */
index 048aa8b..7b3e200 100644 (file)
 SIGNATURE_CHECK (roundl, long double, (long double));
 
 #include <float.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "fpucw.h"
 #include "isnanl-nolibm.h"
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
    So we use minus_zero instead.
index fc68ae7..96a1285 100644 (file)
 
 #include "safe-alloc.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 939b9c1..27df564 100644 (file)
@@ -1,5 +1,5 @@
 /* Test whether two files have the same ACLs.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 #include "progname.h"
 #include "read-file.h"
 #include "xalloc.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 1cc1503..78e837a 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of setting an ACL equivalent to a mode.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 
 #include "acl.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index b23d296..e565851 100644 (file)
 SIGNATURE_CHECK (setenv, int, (char const *, char const *, int));
 
 #include <errno.h>
-#include <stdio.h>
 #include <string.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index 63dfd7a..d219f02 100644 (file)
 SIGNATURE_CHECK (sigaction, int, (int, struct sigaction const *,
                                   struct sigaction *));
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          signal (SIGABRT, SIG_DFL);                                         \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include <stddef.h>
+
+#include "macros.h"
 
 #ifndef SA_NOCLDSTOP
 # define SA_NOCLDSTOP 0
index 4acb045..9add258 100644 (file)
 
 #include <float.h>
 #include <limits.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 float zerof = 0.0f;
 double zerod = 0.0;
index 4abca33..3bb2de6 100644 (file)
 SIGNATURE_CHECK (sleep, unsigned int, (unsigned int));
 
 #include <signal.h>
-#include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #if HAVE_DECL_ALARM
 static void
index dbbef8c..01662a6 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of POSIX compatible snprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-snprintf-posix.h"
 
index 6f1e34c..3780786 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (snprintf, int, (char *, size_t, char const *, ...));
 
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 47bbaa0..854d154 100644 (file)
@@ -29,18 +29,7 @@ SIGNATURE_CHECK (sprintf, int, (char *, char const *, ...));
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-sprintf-posix.h"
 
index 85ada87..6e329c8 100644 (file)
 
 #include <fcntl.h>
 #include <signal.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <sys/stat.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 enum { NFILES = 4 };
 
index 9e52a4a..c9fd327 100644 (file)
@@ -31,23 +31,11 @@ SIGNATURE_CHECK (stat, int, (char const *, struct stat *));
 #include <errno.h>
 #include <stdbool.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <unistd.h>
 
 #include "pathmax.h"
 #include "same-inode.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-stat.t"
 
index 7c2832a..ac68507 100644 (file)
 SIGNATURE_CHECK (strcasestr, char *, (char const *, char const *));
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index f2f341f..329394f 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (strchrnul, char *, (char const *, int));
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                        \
-    {                                                                       \
-      if (!(expr))                                                      \
-        {                                                               \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                              \
-          abort ();                                                     \
-        }                                                               \
-    }                                                                   \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index 986f75a..99c3c5f 100644 (file)
 SIGNATURE_CHECK (strerror, char *, (int));
 
 #include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 int
 main (void)
index 0dc0449..884737b 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of character set conversion.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #endif
 
 #include <errno.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index bd2579e..6ab0218 100644 (file)
 #endif
 
 #include <errno.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Magic number for detecting bounds violations.  */
 #define MAGIC 0x1983EFF1
index 96660b2..b2fd823 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of character set conversion with error handling and autodetection.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #endif
 
 #include <errno.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Magic number for detecting bounds violations.  */
 #define MAGIC 0x1983EFF1
index bf97dc6..e3690d8 100644 (file)
 SIGNATURE_CHECK (strsignal, char *, (int));
 
 #include <signal.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+
+#include "macros.h"
 
 #if HAVE_DECL_SYS_SIGLIST
 # define ASSERT_DESCRIPTION(got, expect)
index 6bffc13..b20d644 100644 (file)
 SIGNATURE_CHECK (strstr, char *, (char const *, char const *));
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "zerosize-ptr.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index affd52c..e0f2eeb 100644 (file)
@@ -25,22 +25,10 @@ SIGNATURE_CHECK (strtod, double, (char const *, char **));
 #include <errno.h>
 #include <float.h>
 #include <math.h>
-#include <stdio.h>
 #include <string.h>
 
 #include "isnand-nolibm.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          /* FIXME abort ();*/status = 1;                               \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Avoid requiring -lm just for fabs.  */
 #define FABS(d) ((d) < 0.0 ? -(d) : (d))
index 72b574d..8e9cc03 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (strverscmp, int, (const char *, const char *));
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index c84e006..c84b2bc 100644 (file)
@@ -30,17 +30,7 @@ SIGNATURE_CHECK (symlink, int, (char const *, char const *));
 #include <stdlib.h>
 #include <sys/stat.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-symlink.t"
 
index 67f0adf..714dd98 100644 (file)
@@ -32,22 +32,12 @@ SIGNATURE_CHECK (readlinkat, ssize_t, (int, char const *, char *, size_t));
 #include <string.h>
 #include <sys/stat.h>
 
+#include "macros.h"
+
 #ifndef HAVE_SYMLINK
 # define HAVE_SYMLINK 0
 #endif
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 #define BASE "test-symlinkat.t"
 
 #include "test-readlink.h"
index 0c92cc6..cd5a57e 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (trunc, double, (double));
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "isnand-nolibm.h"
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
    So we use -zero instead.  */
index f704bcb..d0da551 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of rounding towards zero.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <stdbool.h>
 #include <stdint.h>
 #include <stdio.h>
-#include <stdlib.h>
 
 #include "isnand-nolibm.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 
 /* The reference implementation, taken from lib/trunc.c.  */
index 44fd8c1..dc49645 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (truncf, float, (float));
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "isnanf-nolibm.h"
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0f.
    So we use -zero instead.  */
index 91ebb74..8d02e21 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of rounding towards zero.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <stdbool.h>
 #include <stdint.h>
 #include <stdio.h>
-#include <stdlib.h>
 
 #include "isnanf-nolibm.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 
 /* The reference implementation, taken from lib/trunc.c.  */
index 3b36ea7..4b76cc8 100644 (file)
 SIGNATURE_CHECK (truncl, long double, (long double));
 
 #include <float.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "fpucw.h"
 #include "isnanl-nolibm.h"
 #include "nan.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
    So we use minus_zero instead.
index b37ae9b..2a4fe13 100644 (file)
 SIGNATURE_CHECK (uname, int, (struct utsname *));
 
 #include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 
 /* This program can be called with no arguments, then it performs a unit
index ffc360d..1525802 100644 (file)
@@ -32,18 +32,7 @@ SIGNATURE_CHECK (unlink, int, (char const *));
 #include <sys/stat.h>
 
 #include "unlinkdir.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-unlink.t"
 
index 313cf1e..3d7f118 100644 (file)
@@ -31,18 +31,7 @@ SIGNATURE_CHECK (unlinkat, int, (int, char const *, int));
 #include <sys/stat.h>
 
 #include "unlinkdir.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-unlinkat.t"
 
index 6f80751..a8346be 100644 (file)
 SIGNATURE_CHECK (unsetenv, int, (char const *));
 
 #include <errno.h>
-#include <stdio.h>
 #include <string.h>
 #include <unistd.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (void)
index a792188..c7b6f75 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (usleep, int, (useconds_t));
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <time.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main(void)
index a36f042..618d941 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-utimens.t"
 
index b1dc940..ba4c22d 100644 (file)
@@ -35,18 +35,7 @@ SIGNATURE_CHECK (utimensat, int, (int, char const *, struct timespec const[2],
 #include "stat-time.h"
 #include "timespec.h"
 #include "utimecmp.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__);  \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define BASE "test-utimensat.t"
 
index 0c20a60..df4f377 100644 (file)
 #include <float.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
+#include "macros.h"
 #include "nan.h"
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 /* The SGI MIPS floating-point format does not distinguish 0.0 and -0.0.  */
 static int
 have_minus_zero ()
index c2b5f43..06c3569 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of POSIX compatible vasnprintf() and asnprintf() functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include "vasnprintf.h"
 
 #include <locale.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 280e1f4..2f7f0db 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of vasnprintf() and asnprintf() functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include "vasnprintf.h"
 
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static char *
 my_asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...)
index 9f3c4b5..f834178 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+#include "macros.h"
 #include "nan.h"
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-
 /* The SGI MIPS floating-point format does not distinguish 0.0 and -0.0.  */
 static int
 have_minus_zero ()
index 46483e4..654ddfb 100644 (file)
@@ -28,17 +28,7 @@ SIGNATURE_CHECK (vasprintf, int, (char **, char const *, va_list));
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 my_asprintf (char **result, const char *format, ...)
index 932d289..387a7f4 100644 (file)
@@ -26,20 +26,9 @@ SIGNATURE_CHECK (vdprintf, int, (int, char const *, va_list));
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-fprintf-posix.h"
 
index 94c8cea..bac6aad 100644 (file)
@@ -26,20 +26,9 @@ SIGNATURE_CHECK (vfprintf, int, (FILE *, char const *, va_list));
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-fprintf-posix.h"
 
index ec63684..d08a0e5 100644 (file)
@@ -26,20 +26,9 @@ SIGNATURE_CHECK (vprintf, int, (char const *, va_list));
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-printf-posix.h"
 
index 7e152c2..a409b12 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of POSIX compatible vsnprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-snprintf-posix.h"
 
index baaae6f..717c3e2 100644 (file)
 SIGNATURE_CHECK (vsnprintf, int, (char *, size_t, char const *, va_list));
 
 #include <stdarg.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 my_snprintf (char *buf, int size, const char *format, ...)
index 49a1347..d716cb1 100644 (file)
@@ -30,18 +30,7 @@ SIGNATURE_CHECK (vsprintf, int, (char *, char const *, va_list));
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-sprintf-posix.h"
 
index 3ac33e0..198e09b 100644 (file)
 SIGNATURE_CHECK (wcrtomb, size_t, (char *, wchar_t, mbstate_t *));
 
 #include <locale.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Check the multibyte character s[0..n-1].  */
 static void
index f16dafe..f108c12 100644 (file)
@@ -25,21 +25,10 @@ SIGNATURE_CHECK (wcsnrtombs, size_t, (char *, wchar_t const **, size_t, size_t,
                                       mbstate_t *));
 
 #include <locale.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index 4fad01f..3139d63 100644 (file)
@@ -25,21 +25,10 @@ SIGNATURE_CHECK (wcsrtombs, size_t, (char *, wchar_t const **, size_t,
                                      mbstate_t *));
 
 #include <locale.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index bc28b15..fd801d1 100644 (file)
 
 #include <wctype.h>
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Check that the type wint_t is defined.  */
 wint_t a = 'x';
index f1a89d1..f95c2c7 100644 (file)
 SIGNATURE_CHECK (wcwidth, int, (wchar_t));
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
 #include "localcharset.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index b7adf76..1db113c 100644 (file)
 
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
-#include <stdlib.h>
 #include <string.h>
 
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-fprintf-posix.h"
 
index 2c2e9d2..f78203d 100644 (file)
 
 #include "xmemdup0.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char **argv)
index 501f04a..c8ec895 100644 (file)
 #include "xprintf.h"
 
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
-#include <stdlib.h>
 #include <string.h>
 
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-printf-posix.h"
 
index eb230db..9aff369 100644 (file)
 #include "xvasprintf.h"
 
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "progname.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static char *
 my_xasprintf (const char *format, ...)
index d6a820d..bf6b16d 100644 (file)
 #include "unicase.h"
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main (int argc, char *argv[])
index ce546e0..eb5e1bc 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed for c = 0x%04X\n",       \
-                   __FILE__, __LINE__, c);                                   \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-#define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
+#include "macros.h"
 
 /* Pair of Unicode characters.  */
 typedef struct { ucs4_t ch; ucs4_t value; } pair_t;
index 1be7960..c47dea0 100644 (file)
 
 #include "unicase/caseprop.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed for c = 0x%04X\n",       \
-                   __FILE__, __LINE__, c);                                   \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-#define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
+#include "macros.h"
 
 /* Interval of Unicode characters.  */
 typedef struct { ucs4_t start; ucs4_t end; } interval_t;
index e758b99..804b518 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint16_t
 #include "test-casecmp.h"
index d5691c6..4384c22 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint16_t
 #include "test-casecmp.h"
index d378b56..39a1c85 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint16_t *input, size_t input_length,
index 722765b..8c05033 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint16_t
 #include "test-is-cased.h"
index 77920e9..3380d1b 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint16_t
 #include "test-is-casefolded.h"
index 7d36094..9d7ba40 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint16_t
 #include "test-is-lowercase.h"
index 1612954..69732a8 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint16_t
 #include "test-is-titlecase.h"
index 76dcf6c..d0df074 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint16_t
 #include "test-is-uppercase.h"
index 97dba74..200cf72 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint16_t *input, size_t input_length,
index ae03d3b..628dcd4 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint16_t *input, size_t input_length,
index 0831365..a4dc1fa 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint16_t *input, size_t input_length,
index 4f7204b..941b7bd 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint32_t
 #include "test-casecmp.h"
index 97a4e05..23e4e2f 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint32_t
 #include "test-casecmp.h"
index a1ff4a2..4790579 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint32_t *input, size_t input_length,
index 020a7a2..0a55d61 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint32_t
 #include "test-is-cased.h"
index acfaf25..7544eed 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint32_t
 #include "test-is-casefolded.h"
index ee41ac0..71959ae 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint32_t
 #include "test-is-lowercase.h"
index b564182..3cae147 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint32_t
 #include "test-is-titlecase.h"
index b67703b..f7f9e54 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint32_t
 #include "test-is-uppercase.h"
index cbe1a2b..4db01bb 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint32_t *input, size_t input_length,
index ea7ab9a..6f9bf1b 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint32_t *input, size_t input_length,
index c431b3d..631d4db 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint32_t *input, size_t input_length,
index c1f3746..af15fdd 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint8_t
 #include "test-casecmp.h"
index 5e4d69e..9be6ee6 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint8_t
 #include "test-casecmp.h"
index 5bf87bc..2bffde4 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint8_t *input, size_t input_length,
index 202eeea..ae454fd 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint8_t
 #include "test-is-cased.h"
index a17626c..31006ae 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint8_t
 #include "test-is-casefolded.h"
index 7c3491d..b778d65 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint8_t
 #include "test-is-lowercase.h"
index 05bb644..47467a1 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint8_t
 #include "test-is-titlecase.h"
index 77d3703..094fce7 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT uint8_t
 #include "test-is-uppercase.h"
index bd07ace..21acdae 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint8_t *input, size_t input_length,
index ddf1bea..927897c 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint8_t *input, size_t input_length,
index 605fd73..edf863c 100644 (file)
 
 #include "unicase.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint8_t *input, size_t input_length,
index f1400ef..89427d3 100644 (file)
 #include "unicase.h"
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT char
 #include "test-casecmp.h"
index d669fde..d247fef 100644 (file)
 #include "unicase.h"
 
 #include <locale.h>
-#include <stdio.h>
-#include <stdlib.h>
 
 #include "uninorm.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define UNIT char
 #include "test-casecmp.h"
index e4ec6a6..2791f1c 100644 (file)
 
 #include "uniconv.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Magic number for detecting bounds violations.  */
 #define MAGIC 0x1983EFF1
index 2bdf1b1..03f40e6 100644 (file)
 #include "uniconv.h"
 
 #include <errno.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Magic number for detecting bounds violations.  */
 #define MAGIC 0x1983EFF1
index da2bc87..323f633 100644 (file)
 
 #include "uniconv.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 512b16c..2bc35c0 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of conversion from UTF-16 to legacy encodings.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include "uniconv.h"
 
 #include <errno.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 1b62159..c88789b 100644 (file)
 
 #include "uniconv.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Magic number for detecting bounds violations.  */
 #define MAGIC 0x1983EFF1
index 603d920..ec44225 100644 (file)
 #include "uniconv.h"
 
 #include <errno.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Magic number for detecting bounds violations.  */
 #define MAGIC 0x1983EFF1
index 3203c4f..beb9f82 100644 (file)
 
 #include "uniconv.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index ce4537a..a92679e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of conversion from UTF-32 to legacy encodings.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include "uniconv.h"
 
 #include <errno.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 29722a1..73ac275 100644 (file)
 
 #include "uniconv.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Magic number for detecting bounds violations.  */
 #define MAGIC 0x1983EFF1
index 080896f..3fee61b 100644 (file)
 #include "uniconv.h"
 
 #include <errno.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* Magic number for detecting bounds violations.  */
 #define MAGIC 0x1983EFF1
index 89c48d3..e733f73 100644 (file)
 
 #include "uniconv.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index f19aa4f..0ee4ff2 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of conversion from UTF-8 to legacy encodings.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include "uniconv.h"
 
 #include <errno.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index c3a72d6..9032794 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 300e984..1a4ef0b 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index e06af19..91fda15 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 468a402..c9e7b39 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 3b37ae6..d475546 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 93206bd..230fa87 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index d901ef1..8971a39 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 301daaf..70d28cc 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 4c4990f..72afe83 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 9eceeea..a639f6e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index df088c4..bef6600 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 606b10e..bc0a9a7 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index dc17c52..26d0463 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 5865eb0..7973eb0 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index a1ee7d5..8e52a37 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index fec2a13..d890f1d 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 04064ef..f94605e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-#define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
+#include "macros.h"
 
 static const struct { unsigned int ch; int value; } mapping[] =
   {
index fbcf502..e87f3f7 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-#define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
+#include "macros.h"
 
 static const struct { unsigned int ch; int value; } mapping[] =
   {
index 443ee3e..457c502 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index dfd90be..d602383 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-#define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
+#include "macros.h"
 
 static const struct { unsigned int ch; int numerator; int denominator; }
   mapping[] =
index 056f3e8..aa2676f 100644 (file)
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 424dc1c..6bacc07 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 6278d50..1031856 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed for c = 0x%04X\n",       \
-                   __FILE__, __LINE__, c);                                   \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
-#define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
+#include "macros.h"
 
 /* Interval of Unicode characters.  */
 typedef struct { ucs4_t start; ucs4_t end; } interval_t;
index 5c16cc5..610b473 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 2182b26..026db18 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 214e312..ed9ddeb 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the Unicode character type functions.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "unictype.h"
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index a374d55..5cdee3f 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of line breaking of UTF-16 strings.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 
 #include "unilbrk.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index e55c46a..6deab70 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of line breaking of UTF-16 strings.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 
 #include "unilbrk.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index b9696bb..fb27f08 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of line breaking of UTF-32 strings.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 
 #include "unilbrk.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 5a103cc..57c9696 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of line breaking of UTF-32 strings.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 
 #include "unilbrk.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index c8450f7..7e9daa6 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of line breaking of UTF-8 strings.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 
 #include "unilbrk.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 3502d8c..5ba5eff 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of line breaking of UTF-8 strings.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 
 #include "unilbrk.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 2179a34..52e8da6 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of line breaking of strings.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 
 #include "unilbrk.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 4661978..9ff7147 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of line breaking of strings.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 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
 
 #include "unilbrk.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 5d3db60..af01740 100644 (file)
 
 #include "uninorm.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 766cd40..21bbb68 100644 (file)
 
 #include "uninorm/decompose-internal.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "uninorm.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 5519050..c499f65 100644 (file)
 
 #include "uninorm.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index c9444b7..707462c 100644 (file)
 
 #include "uninorm.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index c7fa6c2..1afc852 100644 (file)
 
 #include "uninorm.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 73523e0..b2a6e77 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint16_t *input, size_t input_length,
index 8d35bac..cfb0dac 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint16_t *input, size_t input_length,
index 362bc5b..37a7cd7 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint16_t *input, size_t input_length,
index 8e38f08..1373e2b 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint16_t *input, size_t input_length,
index 6fa42c3..42a040d 100644 (file)
 
 #include "uninorm.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u16-normcmp.h"
 
index 550e31d..311a094 100644 (file)
 
 #include "uninorm.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u16-normcmp.h"
 int
index eda2202..19b86fd 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint32_t *input, size_t input_length,
index 21776ec..187eac1 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint32_t *input, size_t input_length,
index 6aa68fa..50c634c 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint32_t *input, size_t input_length,
index b932ae2..2150a4e 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint32_t *input, size_t input_length,
index 5cf60a6..831066b 100644 (file)
 
 #include "xalloc.h"
 #include "unistr.h"
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #define ASSERT_WITH_LINE(expr, file, line) \
   do                                                                         \
index 3edeffd..40253d8 100644 (file)
 
 #include "uninorm.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u32-normcmp.h"
 
index 0019770..2efee6c 100644 (file)
 
 #include "uninorm.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u32-normcmp.h"
 int
index 3eb71a4..675730f 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint8_t *input, size_t input_length,
index 93bf297..1ccd668 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint8_t *input, size_t input_length,
index fcc50a3..b93ba7a 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint8_t *input, size_t input_length,
index f1246d8..34c31ea 100644 (file)
 #include "uninorm.h"
 
 #include <signal.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static int
 check (const uint8_t *input, size_t input_length,
index 643dd3e..487442f 100644 (file)
 
 #include "uninorm.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u8-normcmp.h"
 
index 4f90730..c86458a 100644 (file)
 
 #include "uninorm.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u8-normcmp.h"
 int
index 1dd0403..7e68519 100644 (file)
 
 #include "uninorm.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* A stream of Unicode characters that simply accumulates the contents.  */
 
index f2d2f70..e4ead6e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u16_asnprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u16-asnprintf1.h"
 
index 7907168..7d729e8 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u16_vasnprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u16-asnprintf1.h"
 #include "test-u16-printf1.h"
index 8f1d48c..397adbe 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u16_vasnprintf() function in an ISO-8859-1 locale.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <locale.h>
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 test_function (uint16_t * (*my_asnprintf) (uint16_t *, size_t *, const char *, ...))
index b758f73..26f4250 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u16_vasnprintf() function in an UTF-8 locale.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <locale.h>
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 test_function (uint16_t * (*my_asnprintf) (uint16_t *, size_t *, const char *, ...))
index b534dfe..69917ac 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u16_vasprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u16-printf1.h"
 
index 37420f7..cc0b7e1 100644 (file)
@@ -23,7 +23,6 @@
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include "unistr.h"
 #include "xalloc.h"
 #include "progname.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u16-printf1.h"
 
index 179c4a3..fd9e088 100644 (file)
@@ -23,7 +23,6 @@
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include "unistr.h"
 #include "xalloc.h"
 #include "progname.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u16-printf1.h"
 
index a470cbf..957ba19 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u32_asnprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u32-asnprintf1.h"
 
index d068c27..2bca986 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u32_vasnprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u32-asnprintf1.h"
 #include "test-u32-printf1.h"
index ec5b46d..33535a6 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u32_vasnprintf() function in an ISO-8859-1 locale.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <locale.h>
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 test_function (uint32_t * (*my_asnprintf) (uint32_t *, size_t *, const char *, ...))
index 78608ff..dce3d6e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u32_vasnprintf() function in an UTF-8 locale.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <locale.h>
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 test_function (uint32_t * (*my_asnprintf) (uint32_t *, size_t *, const char *, ...))
index 901424c..a33617c 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u32_vasprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u32-printf1.h"
 
index af52a7b..8a25e0e 100644 (file)
@@ -23,7 +23,6 @@
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include "unistr.h"
 #include "xalloc.h"
 #include "progname.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u32-printf1.h"
 
index 6f23d83..0e3188c 100644 (file)
@@ -23,7 +23,6 @@
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include "unistr.h"
 #include "xalloc.h"
 #include "progname.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u32-printf1.h"
 
index 820e5e1..e85dd67 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u8_asnprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u8-asnprintf1.h"
 
index 9e597b8..0a121c6 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u8_vasnprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u8-asnprintf1.h"
 #include "test-u8-printf1.h"
index df59f40..22ae15f 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u8_vasnprintf() function in an ISO-8859-1 locale.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <locale.h>
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 test_function (uint8_t * (*my_asnprintf) (uint8_t *, size_t *, const char *, ...))
index d35d647..8f5d943 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u8_vasnprintf() function in an UTF-8 locale.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <locale.h>
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 test_function (uint8_t * (*my_asnprintf) (uint8_t *, size_t *, const char *, ...))
index dc9afb4..c8aa2f7 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u8_vasprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "unistr.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u8-printf1.h"
 
index c494c6d..1f4f196 100644 (file)
@@ -23,7 +23,6 @@
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include "unistr.h"
 #include "xalloc.h"
 #include "progname.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u8-printf1.h"
 
index a607a7f..7f89366 100644 (file)
@@ -23,7 +23,6 @@
 #include <errno.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include "unistr.h"
 #include "xalloc.h"
 #include "progname.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-u8-printf1.h"
 
index 8ad1906..d700641 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of ulc_asnprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-ulc-asnprintf1.h"
 
index a9af563..a7f1454 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of ulc_vasnprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-ulc-asnprintf1.h"
 #include "test-ulc-printf1.h"
index d1c035e..bc8ccad 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of ulc_vasnprintf() function in an ISO-8859-1 locale.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <locale.h>
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
index b1268c9..a4c1843 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of ulc_vasnprintf() function in an UTF-8 locale.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <locale.h>
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 static void
 test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
index cd18758..4e8d3d3 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of ulc_vasprintf() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-ulc-printf1.h"
 
index 0a2b43f..f3d98be 100644 (file)
 
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "xalloc.h"
 #include "progname.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-ulc-printf1.h"
 
index 2b1586b..662ca0f 100644 (file)
 
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "xalloc.h"
 #include "progname.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 #include "test-ulc-printf1.h"
 
index e3a66c7..d4a9066 100644 (file)
 
 #include "uniwbrk.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 1dbdea5..5f4ce9e 100644 (file)
 
 #include "uniwbrk.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index e7d15d1..fd73981 100644 (file)
 
 #include "uniwbrk.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 1727432..0322b66 100644 (file)
 #include "uniwbrk.h"
 
 #include <locale.h>
-#include <stdio.h>
 #include <stdlib.h>
 
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 9794c3f..749ae0a 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u16_strwidth() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "uniwidth.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 440a4fb..62e7bc2 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u16_width() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "uniwidth.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 77ca68e..2035f4c 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u32_strwidth() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "uniwidth.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index a55c6a8..7d0695b 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u32_width() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "uniwidth.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index b625441..f4dccf9 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u8_strwidth() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "uniwidth.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index b421e45..0d971e8 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of u8_width() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "uniwidth.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 8303c08..f823762 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of uc_width() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 
 #include "uniwidth.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 int
 main ()
index 78f71e0..dc080f0 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of uc_width() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 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
 #include "uniwidth.h"
 
 #include <stdio.h>
-#include <stdlib.h>
 
-#define ASSERT(expr) \
-  do                                                                         \
-    {                                                                        \
-      if (!(expr))                                                           \
-        {                                                                    \
-          fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
-          fflush (stderr);                                                   \
-          abort ();                                                          \
-        }                                                                    \
-    }                                                                        \
-  while (0)
+#include "macros.h"
 
 /* One of 0, '0', '1', 'A', '2'.  */
 static char current_width;