+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
tests/test-set-mode-acl.c
tests/test-copy-acl.c
tests/test-sameacls.c
+tests/macros.h
Depends-on:
progname
Files:
tests/test-areadlink.h
tests/test-areadlink.c
+tests/macros.h
Depends-on:
stdbool
Files:
tests/test-areadlink.h
tests/test-areadlink-with-size.c
+tests/macros.h
Depends-on:
stdbool
Files:
tests/test-areadlink.h
tests/test-areadlinkat.c
+tests/macros.h
Depends-on:
stdbool
Files:
tests/test-areadlink.h
tests/test-areadlinkat-with-size.c
+tests/macros.h
Depends-on:
stdbool
Files:
tests/test-argmatch.c
+tests/macros.h
Depends-on:
progname
Files:
tests/test-argv-iter.c
+tests/macros.h
Depends-on:
Files:
tests/test-array_list.c
+tests/macros.h
Depends-on:
progname
Files:
tests/test-array-mergesort.c
+tests/macros.h
Depends-on:
Files:
tests/test-array_oset.c
+tests/macros.h
Depends-on:
xlist
Files:
tests/test-avltree_list.c
+tests/macros.h
Depends-on:
array-list
Files:
tests/test-avltree_oset.c
+tests/macros.h
Depends-on:
array-oset
Files:
tests/test-avltreehash_list.c
+tests/macros.h
Depends-on:
array-list
Files:
tests/test-base64.c
+tests/macros.h
Depends-on:
Files:
tests/test-binary-io.sh
tests/test-binary-io.c
+tests/macros.h
Depends-on:
Files:
tests/test-bitrotate.c
+tests/macros.h
Depends-on:
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
Files:
tests/test-byteswap.c
+tests/macros.h
Depends-on:
Files:
tests/test-c-ctype.c
+tests/macros.h
Depends-on:
tests/test-c-stack.c
tests/test-c-stack.sh
tests/test-c-stack2.sh
+tests/macros.h
Depends-on:
exitfail
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
Files:
tests/test-c-strcasestr.c
+tests/macros.h
Depends-on:
Files:
tests/test-c-strstr.c
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-canonicalize-lgpl.c
+tests/signature.h
+tests/macros.h
Depends-on:
same-inode
Files:
tests/test-canonicalize.c
+tests/macros.h
Depends-on:
progname
Files:
tests/test-carray_list.c
+tests/macros.h
Depends-on:
array-list
Files:
-tests/signature.h
tests/test-ceilf1.c
tests/test-ceilf2.c
tests/nan.h
+tests/signature.h
+tests/macros.h
Depends-on:
float
Files:
-tests/signature.h
tests/test-ceill.c
tests/nan.h
+tests/signature.h
+tests/macros.h
Depends-on:
fpucw
Files:
-tests/signature.h
tests/nap.h
tests/test-chown.h
tests/test-chown.c
+tests/signature.h
+tests/macros.h
Depends-on:
lstat
Files:
tests/test-cloexec.c
+tests/macros.h
Depends-on:
binary-io
Files:
tests/test-copy-file.sh
tests/test-copy-file.c
+tests/macros.h
Depends-on:
acl
Files:
tests/test-count-one-bits.c
+tests/macros.h
Depends-on:
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
Files:
-tests/signature.h
tests/test-dup2.c
+tests/signature.h
+tests/macros.h
Depends-on:
binary-io
Files:
-tests/signature.h
tests/test-dup3.c
+tests/signature.h
+tests/macros.h
Depends-on:
open
Files:
-tests/signature.h
tests/test-duplocale.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
tests/test-fbufmode.c
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-fchdir.c
+tests/signature.h
+tests/macros.h
Depends-on:
getcwd
Files:
tests/test-open.h
tests/test-fcntl-safer.c
+tests/macros.h
Depends-on:
stdbool
Files:
-tests/signature.h
tests/test-fcntl.c
+tests/signature.h
+tests/macros.h
Depends-on:
binary-io
Files:
-tests/signature.h
tests/test-fdopendir.c
+tests/signature.h
+tests/macros.h
Depends-on:
open
tests/test-utimens.h
tests/test-utimens-common.h
tests/test-fdutimensat.c
+tests/macros.h
Depends-on:
progname
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
Files:
tests/test-filevercmp.c
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-flock.c
+tests/signature.h
+tests/macros.h
Depends-on:
unistd
Files:
-tests/signature.h
tests/test-floorf1.c
tests/test-floorf2.c
tests/nan.h
+tests/signature.h
+tests/macros.h
Depends-on:
float
Files:
-tests/signature.h
tests/test-floorl.c
tests/nan.h
+tests/signature.h
+tests/macros.h
Depends-on:
fpucw
Files:
-tests/signature.h
tests/test-fnmatch.c
+tests/signature.h
+tests/macros.h
Makefile.am:
TESTS += test-fnmatch
Files:
tests/test-fopen.h
tests/test-fopen-safer.c
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-fopen.h
tests/test-fopen.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
tests/test-fpending.c
tests/test-fpending.sh
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-fprintf-posix.sh
tests/test-fprintf-posix.c
tests/test-fprintf-posix.h
tests/test-fprintf-posix2.c
tests/test-fprintf-posix3.sh
tests/test-fprintf-posix3.c
+tests/signature.h
+tests/macros.h
Depends-on:
stdint
Files:
tests/test-fpurge.c
+tests/macros.h
Depends-on:
fflush
Files:
tests/test-freadable.c
+tests/macros.h
Depends-on:
fflush
Files:
tests/test-freadahead.c
tests/test-freadahead.sh
+tests/macros.h
Depends-on:
lseek
Files:
tests/test-freading.c
+tests/macros.h
Depends-on:
fflush
tests/test-freadptr.sh
tests/test-freadptr2.c
tests/test-freadptr2.sh
+tests/macros.h
Depends-on:
lseek
Files:
tests/test-freadseek.c
tests/test-freadseek.sh
+tests/macros.h
Depends-on:
unistd
Files:
-tests/signature.h
tests/test-freopen.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-frexp.c
+tests/signature.h
+tests/macros.h
Depends-on:
isnand-nolibm
Files:
-tests/signature.h
tests/test-frexp.c
tests/nan.h
+tests/signature.h
+tests/macros.h
Depends-on:
isnand-nolibm
Files:
-tests/signature.h
tests/test-frexpl.c
+tests/signature.h
+tests/macros.h
Depends-on:
fpucw
Files:
-tests/signature.h
tests/test-frexpl.c
tests/nan.h
+tests/signature.h
+tests/macros.h
Depends-on:
fpucw
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:
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:
Files:
tests/test-fstrcmp.c
+tests/macros.h
Depends-on:
stdbool
Files:
-tests/signature.h
tests/test-fsync.c
+tests/signature.h
+tests/macros.h
Depends-on:
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:
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:
Files:
tests/test-func.c
+tests/macros.h
configure.ac:
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
Files:
tests/test-fwritable.c
+tests/macros.h
Depends-on:
fflush
Files:
tests/test-fwriting.c
+tests/macros.h
Depends-on:
fflush
Files:
-tests/signature.h
tests/test-getcwd.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
tests/test-getdate.c
+tests/macros.h
Depends-on:
progname
Files:
-tests/signature.h
tests/test-getdelim.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-getdtablesize.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-getgroups.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-getline.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
tests/test-getndelim2.c
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-glob.c
+tests/signature.h
+tests/macros.h
Makefile.am:
TESTS += test-glob
Files:
tests/test-hash.c
+tests/macros.h
Depends-on:
hash-pjw
Files:
tests/test-i-ring.c
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-iconv.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
tests/test-iconv-utf.c
+tests/macros.h
Depends-on:
tests/test-idpriv-drop.sh
tests/test-idpriv-drop.su.sh
tests/test-idpriv-drop.c
+tests/macros.h
Depends-on:
stdbool
tests/test-idpriv-droptemp.sh
tests/test-idpriv-droptemp.su.sh
tests/test-idpriv-droptemp.c
+tests/macros.h
Depends-on:
stdbool
Files:
-tests/signature.h
tests/test-inet_ntop.c
+tests/signature.h
+tests/macros.h
Depends-on:
netinet_in
Files:
-tests/signature.h
tests/test-inet_pton.c
+tests/signature.h
+tests/macros.h
Depends-on:
netinet_in
Files:
-tests/signature.h
tests/test-isblank.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
tests/test-isfinite.c
+tests/macros.h
Depends-on:
float
m4/exponentd.m4
m4/exponentl.m4
tests/test-isinf.c
+tests/macros.h
Depends-on:
float
Files:
tests/test-isnan.c
tests/nan.h
+tests/macros.h
Depends-on:
float
tests/test-isnand-nolibm.c
tests/test-isnand.h
tests/nan.h
+tests/macros.h
Depends-on:
tests/test-isnand.c
tests/test-isnand.h
tests/nan.h
+tests/macros.h
Depends-on:
tests/test-isnanf-nolibm.c
tests/test-isnanf.h
tests/nan.h
+tests/macros.h
Depends-on:
tests/test-isnanf.c
tests/test-isnanf.h
tests/nan.h
+tests/macros.h
Depends-on:
tests/test-isnanl-nolibm.c
tests/test-isnanl.h
tests/nan.h
+tests/macros.h
Depends-on:
float
tests/test-isnanl.c
tests/test-isnanl.h
tests/nan.h
+tests/macros.h
Depends-on:
float
Files:
-tests/signature.h
tests/nap.h
tests/test-lchown.h
tests/test-lchown.c
+tests/signature.h
+tests/macros.h
Depends-on:
mgetgroups
Files:
-tests/signature.h
tests/test-ldexpl.c
tests/nan.h
+tests/signature.h
+tests/macros.h
Depends-on:
fpucw
Files:
-tests/signature.h
tests/test-link.h
tests/test-link.c
+tests/signature.h
+tests/macros.h
Depends-on:
errno
Files:
-tests/signature.h
tests/test-link.h
tests/test-linkat.c
+tests/signature.h
+tests/macros.h
Depends-on:
areadlink-with-size
Files:
tests/test-linked_list.c
+tests/macros.h
Depends-on:
array-list
Files:
tests/test-linkedhash_list.c
+tests/macros.h
Depends-on:
array-list
Files:
tests/test-localename.c
+tests/macros.h
Depends-on:
locale
Files:
-tests/signature.h
tests/test-lseek.c
tests/test-lseek.sh
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-lstat.h
tests/test-lstat.c
+tests/signature.h
+tests/macros.h
Depends-on:
errno
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
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
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
Files:
tests/test-mbscasecmp.sh
tests/test-mbscasecmp.c
+tests/macros.h
m4/locale-tr.m4
m4/codeset.m4
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
Files:
tests/test-mbschr.sh
tests/test-mbschr.c
+tests/macros.h
m4/locale-zh.m4
m4/codeset.m4
Files:
tests/test-mbscspn.sh
tests/test-mbscspn.c
+tests/macros.h
m4/locale-fr.m4
m4/codeset.m4
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
Files:
tests/test-mbsncasecmp.sh
tests/test-mbsncasecmp.c
+tests/macros.h
m4/locale-tr.m4
m4/codeset.m4
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
Files:
tests/test-mbspbrk.sh
tests/test-mbspbrk.c
+tests/macros.h
m4/locale-fr.m4
m4/codeset.m4
Files:
tests/test-mbspcasecmp.sh
tests/test-mbspcasecmp.c
+tests/macros.h
m4/locale-tr.m4
m4/codeset.m4
Files:
tests/test-mbsrchr.sh
tests/test-mbsrchr.c
+tests/macros.h
m4/locale-zh.m4
m4/codeset.m4
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
Files:
tests/test-mbsspn.sh
tests/test-mbsspn.c
+tests/macros.h
m4/locale-fr.m4
m4/codeset.m4
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
Files:
-tests/signature.h
tests/test-memchr.c
tests/zerosize-ptr.h
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
tests/test-memchr2.c
tests/zerosize-ptr.h
+tests/macros.h
m4/mmap-anon.m4
Depends-on:
Files:
-tests/signature.h
tests/test-memcmp.c
tests/zerosize-ptr.h
+tests/signature.h
+tests/macros.h
m4/mmap-anon.m4
Depends-on:
Files:
-tests/signature.h
tests/test-memmem.c
tests/zerosize-ptr.h
+tests/signature.h
+tests/macros.h
m4/mmap-anon.m4
Depends-on:
Files:
-tests/signature.h
tests/test-memrchr.c
tests/zerosize-ptr.h
+tests/signature.h
+tests/macros.h
m4/mmap-anon.m4
Depends-on:
Files:
-tests/signature.h
tests/test-mkdir.h
tests/test-mkdir.c
+tests/signature.h
+tests/macros.h
Depends-on:
stdbool
Files:
-tests/signature.h
tests/test-mkfifo.h
tests/test-mkfifo.c
+tests/signature.h
+tests/macros.h
Depends-on:
stdbool
Files:
-tests/signature.h
tests/test-mkfifo.h
tests/test-mkfifoat.c
+tests/signature.h
+tests/macros.h
Depends-on:
symlink
Files:
-tests/signature.h
tests/test-mkfifo.h
tests/test-mknod.c
+tests/signature.h
+tests/macros.h
Depends-on:
stdbool
Files:
-tests/signature.h
tests/test-nanosleep.c
+tests/signature.h
+tests/macros.h
Depends-on:
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:
Files:
-tests/signature.h
tests/test-obstack-printf.c
+tests/signature.h
+tests/macros.h
Depends-on:
progname
Files:
-tests/signature.h
tests/test-open.h
tests/test-open.c
+tests/signature.h
+tests/macros.h
Depends-on:
stdbool
Files:
-tests/signature.h
tests/nap.h
tests/test-chown.h
tests/test-lchown.h
tests/test-mkdirat.c
tests/test-openat.c
tests/test-unlinkat.c
+tests/signature.h
+tests/macros.h
Depends-on:
mgetgroups
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
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
Files:
-tests/signature.h
tests/test-pipe2.c
+tests/signature.h
+tests/macros.h
Depends-on:
stdbool
tests/test-popen.h
tests/test-popen-safer.c
tests/test-popen-safer2.c
+tests/macros.h
Depends-on:
dup2
Files:
-tests/signature.h
tests/test-popen.h
tests/test-popen.c
+tests/signature.h
+tests/macros.h
Depends-on:
dup2
Files:
tests/test-posixtm.c
+tests/macros.h
Depends-on:
intprops
Files:
-tests/signature.h
tests/test-pread.c
tests/test-pread.sh
tests/init.sh
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
tests/test-printf-frexp.c
+tests/macros.h
Depends-on:
Files:
tests/test-printf-frexpl.c
+tests/macros.h
Depends-on:
fpucw
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
Files:
tests/test-priv-set.c
+tests/macros.h
Depends-on:
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
Files:
-tests/signature.h
tests/test-random_r.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-rawmemchr.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
tests/test-rbtree_list.c
+tests/macros.h
Depends-on:
array-list
Files:
tests/test-rbtree_oset.c
+tests/macros.h
Depends-on:
array-oset
Files:
tests/test-rbtreehash_list.c
+tests/macros.h
Depends-on:
array-list
Files:
-tests/signature.h
tests/test-readlink.h
tests/test-readlink.c
+tests/signature.h
+tests/macros.h
Depends-on:
stdbool
Files:
-tests/signature.h
tests/test-remove.c
+tests/signature.h
+tests/macros.h
Depends-on:
symlink
Files:
-tests/signature.h
tests/test-rename.h
tests/test-rename.c
+tests/signature.h
+tests/macros.h
Depends-on:
errno
Files:
-tests/signature.h
tests/test-rename.h
tests/test-renameat.c
+tests/signature.h
+tests/macros.h
Depends-on:
filenamecat
Files:
-tests/signature.h
tests/test-rmdir.h
tests/test-rmdir.c
+tests/signature.h
+tests/macros.h
Depends-on:
stdbool
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
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
Files:
-tests/signature.h
tests/test-roundl.c
tests/nan.h
+tests/signature.h
+tests/macros.h
Depends-on:
fpucw
Files:
tests/test-safe-alloc.c
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-setenv.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-sigaction.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
tests/test-signbit.c
+tests/macros.h
m4/exponentf.m4
m4/exponentd.m4
m4/exponentl.m4
Files:
-tests/signature.h
tests/test-sleep.c
+tests/signature.h
+tests/macros.h
Depends-on:
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
Files:
-tests/signature.h
tests/test-snprintf.c
+tests/signature.h
+tests/macros.h
Depends-on:
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
Files:
-tests/signature.h
tests/test-stat.h
tests/test-stat.c
+tests/signature.h
+tests/macros.h
Depends-on:
pathmax
Files:
tests/test-stat-time.c
+tests/macros.h
Depends-on:
time
Files:
-tests/signature.h
tests/test-strcasestr.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-strchrnul.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-strerror.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
tests/test-striconv.c
+tests/macros.h
Depends-on:
Files:
tests/test-striconveh.c
+tests/macros.h
Depends-on:
Files:
tests/test-striconveha.c
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-strsignal.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-strstr.c
tests/zerosize-ptr.h
+tests/signature.h
+tests/macros.h
m4/mmap-anon.m4
Depends-on:
Files:
-tests/signature.h
tests/test-strtod.c
+tests/signature.h
+tests/macros.h
Depends-on:
float
Files:
-tests/signature.h
tests/test-strverscmp.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-symlink.h
tests/test-symlink.c
+tests/signature.h
+tests/macros.h
Depends-on:
stdbool
Files:
-tests/signature.h
tests/test-readlink.h
tests/test-symlink.h
tests/test-symlinkat.c
+tests/signature.h
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-trunc1.c
tests/test-trunc2.c
tests/nan.h
+tests/signature.h
+tests/macros.h
Depends-on:
float
Files:
-tests/signature.h
tests/test-truncf1.c
tests/test-truncf2.c
tests/nan.h
+tests/signature.h
+tests/macros.h
Depends-on:
float
Files:
-tests/signature.h
tests/test-truncl.c
tests/nan.h
+tests/signature.h
+tests/macros.h
Depends-on:
fpucw
Files:
-tests/signature.h
tests/test-uname.c
+tests/signature.h
+tests/macros.h
Depends-on:
tests/unicase/test-cased.c
tests/unicase/test-predicate-part1.h
tests/unicase/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unicase/test-ignorable.c
tests/unicase/test-predicate-part1.h
tests/unicase/test-predicate-part2.h
+tests/macros.h
Depends-on:
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
tests/unicase/test-uc_tolower.c
tests/unicase/test-mapping-part1.h
tests/unicase/test-mapping-part2.h
+tests/macros.h
Depends-on:
tests/unicase/test-uc_totitle.c
tests/unicase/test-mapping-part1.h
tests/unicase/test-mapping-part2.h
+tests/macros.h
Depends-on:
tests/unicase/test-uc_toupper.c
tests/unicase/test-mapping-part1.h
tests/unicase/test-mapping-part2.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u16-casecmp.c
tests/unicase/test-casecmp.h
+tests/macros.h
Depends-on:
uninorm/nfd
Files:
tests/unicase/test-u16-casecoll.c
tests/unicase/test-casecmp.h
+tests/macros.h
Depends-on:
uninorm/nfc
Files:
tests/unicase/test-u16-casefold.c
+tests/macros.h
Depends-on:
unistr/u16-cmp
Files:
tests/unicase/test-u16-is-cased.c
tests/unicase/test-is-cased.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u16-is-casefolded.c
tests/unicase/test-is-casefolded.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u16-is-lowercase.c
tests/unicase/test-is-lowercase.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u16-is-titlecase.c
tests/unicase/test-is-titlecase.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u16-is-uppercase.c
tests/unicase/test-is-uppercase.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u16-tolower.c
+tests/macros.h
Depends-on:
unistr/u16-cmp
Files:
tests/unicase/test-u16-totitle.c
+tests/macros.h
Depends-on:
unistr/u16-cmp
Files:
tests/unicase/test-u16-toupper.c
+tests/macros.h
Depends-on:
unistr/u16-cmp
Files:
tests/unicase/test-u32-casecmp.c
tests/unicase/test-casecmp.h
+tests/macros.h
Depends-on:
uninorm/nfd
Files:
tests/unicase/test-u32-casecoll.c
tests/unicase/test-casecmp.h
+tests/macros.h
Depends-on:
uninorm/nfc
Files:
tests/unicase/test-u32-casefold.c
+tests/macros.h
Depends-on:
unistr/u32-cmp
Files:
tests/unicase/test-u32-is-cased.c
tests/unicase/test-is-cased.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u32-is-casefolded.c
tests/unicase/test-is-casefolded.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u32-is-lowercase.c
tests/unicase/test-is-lowercase.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u32-is-titlecase.c
tests/unicase/test-is-titlecase.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u32-is-uppercase.c
tests/unicase/test-is-uppercase.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u32-tolower.c
+tests/macros.h
Depends-on:
unistr/u32-cmp
Files:
tests/unicase/test-u32-totitle.c
+tests/macros.h
Depends-on:
unistr/u32-cmp
Files:
tests/unicase/test-u32-toupper.c
+tests/macros.h
Depends-on:
unistr/u32-cmp
Files:
tests/unicase/test-u8-casecmp.c
tests/unicase/test-casecmp.h
+tests/macros.h
Depends-on:
uninorm/nfd
Files:
tests/unicase/test-u8-casecoll.c
tests/unicase/test-casecmp.h
+tests/macros.h
Depends-on:
uninorm/nfc
Files:
tests/unicase/test-u8-casefold.c
+tests/macros.h
Depends-on:
unistr/u8-cmp
Files:
tests/unicase/test-u8-is-cased.c
tests/unicase/test-is-cased.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u8-is-casefolded.c
tests/unicase/test-is-casefolded.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u8-is-lowercase.c
tests/unicase/test-is-lowercase.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u8-is-titlecase.c
tests/unicase/test-is-titlecase.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u8-is-uppercase.c
tests/unicase/test-is-uppercase.h
+tests/macros.h
Depends-on:
Files:
tests/unicase/test-u8-tolower.c
+tests/macros.h
Depends-on:
unistr/u8-cmp
Files:
tests/unicase/test-u8-totitle.c
+tests/macros.h
Depends-on:
unistr/u8-cmp
Files:
tests/unicase/test-u8-toupper.c
+tests/macros.h
Depends-on:
unistr/u8-cmp
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
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
Files:
tests/uniconv/test-u16-conv-from-enc.c
+tests/macros.h
Depends-on:
unistr/u16-cmp
Files:
tests/uniconv/test-u16-conv-to-enc.c
+tests/macros.h
Depends-on:
Files:
tests/uniconv/test-u16-strconv-from-enc.c
+tests/macros.h
Depends-on:
unistr/u16-strcmp
Files:
tests/uniconv/test-u16-strconv-to-enc.c
+tests/macros.h
Depends-on:
unistr/u16-strcmp
Files:
tests/uniconv/test-u32-conv-from-enc.c
+tests/macros.h
Depends-on:
unistr/u32-cmp
Files:
tests/uniconv/test-u32-conv-to-enc.c
+tests/macros.h
Depends-on:
Files:
tests/uniconv/test-u32-strconv-from-enc.c
+tests/macros.h
Depends-on:
unistr/u32-strcmp
Files:
tests/uniconv/test-u32-strconv-to-enc.c
+tests/macros.h
Depends-on:
unistr/u32-strcmp
Files:
tests/uniconv/test-u8-conv-from-enc.c
+tests/macros.h
Depends-on:
unistr/u8-strlen
Files:
tests/uniconv/test-u8-conv-to-enc.c
+tests/macros.h
Depends-on:
unistr/u8-strlen
Files:
tests/uniconv/test-u8-strconv-from-enc.c
+tests/macros.h
Depends-on:
unistr/u8-strcmp
Files:
tests/uniconv/test-u8-strconv-to-enc.c
+tests/macros.h
Depends-on:
unistr/u8-strcmp
Files:
tests/unictype/test-bidi_byname.c
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-bidi_name.c
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-bidi_of.c
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-bidi_test.c
+tests/macros.h
Depends-on:
unictype/bidicategory-of
Files:
tests/unictype/test-block_list.c
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-block_of.c
+tests/macros.h
Depends-on:
unictype/block-list
Files:
tests/unictype/test-block_test.c
+tests/macros.h
Depends-on:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Files:
tests/unictype/test-categ_and_not.c
+tests/macros.h
Depends-on:
unictype/category-or
Files:
tests/unictype/test-categ_and.c
+tests/macros.h
Depends-on:
unictype/category-or
Files:
tests/unictype/test-categ_byname.c
+tests/macros.h
Depends-on:
unictype/category-test
Files:
tests/unictype/test-categ_name.c
+tests/macros.h
Depends-on:
unictype/category-or
Files:
tests/unictype/test-categ_none.c
+tests/macros.h
Depends-on:
unictype/category-test
Files:
tests/unictype/test-categ_of.c
+tests/macros.h
Depends-on:
unictype/category-test
Files:
tests/unictype/test-categ_or.c
+tests/macros.h
Depends-on:
unictype/category-test
Files:
tests/unictype/test-categ_test_withtable.c
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-combining.c
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_alnum.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_alpha.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_blank.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_cntrl.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_digit.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_graph.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_lower.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_print.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_punct.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_space.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_upper.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-ctype_xdigit.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-decdigit.c
tests/unictype/test-decdigit.h
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-digit.c
tests/unictype/test-digit.h
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-mirror.c
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-numeric.c
tests/unictype/test-numeric.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_alphabetic.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
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:
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:
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:
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:
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:
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:
tests/unictype/test-pr_bidi_control.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
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:
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:
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:
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:
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:
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:
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:
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:
tests/unictype/test-pr_bidi_pdf.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
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:
tests/unictype/test-pr_bidi_whitespace.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-pr_byname.c
+tests/macros.h
Depends-on:
unictype/property-test
tests/unictype/test-pr_combining.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_composite.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_currency_symbol.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_dash.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_decimal_digit.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
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:
tests/unictype/test-pr_deprecated.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_diacritic.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_extender.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_format_control.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_grapheme_base.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_grapheme_extend.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_grapheme_link.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_hex_digit.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_hyphen.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_id_continue.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_id_start.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_ideographic.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
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:
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:
tests/unictype/test-pr_ignorable_control.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_iso_control.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_join_control.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
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:
tests/unictype/test-pr_line_separator.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
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:
tests/unictype/test-pr_lowercase.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_math.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_non_break.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
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:
tests/unictype/test-pr_numeric.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_other_alphabetic.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
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:
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:
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:
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:
tests/unictype/test-pr_other_lowercase.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_other_math.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_other_uppercase.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_paired_punctuation.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_paragraph_separator.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_pattern_syntax.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
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:
tests/unictype/test-pr_private_use.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_punctuation.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_quotation_mark.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_radical.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_sentence_terminal.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_soft_dotted.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_space.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_terminal_punctuation.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-pr_test.c
+tests/macros.h
Depends-on:
unictype/property-composite
tests/unictype/test-pr_titlecase.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
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:
tests/unictype/test-pr_unified_ideograph.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_uppercase.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_variation_selector.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_white_space.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_xid_continue.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_xid_start.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
tests/unictype/test-pr_zero_width.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-scripts.c
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-sy_c_ident.c
+tests/macros.h
Depends-on:
tests/unictype/test-sy_c_whitespace.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
Files:
tests/unictype/test-sy_java_ident.c
+tests/macros.h
Depends-on:
tests/unictype/test-sy_java_whitespace.c
tests/unictype/test-predicate-part1.h
tests/unictype/test-predicate-part2.h
+tests/macros.h
Depends-on:
Files:
tests/unilbrk/test-u16-possible-linebreaks.c
+tests/macros.h
Depends-on:
Files:
tests/unilbrk/test-u16-width-linebreaks.c
+tests/macros.h
Depends-on:
Files:
tests/unilbrk/test-u32-possible-linebreaks.c
+tests/macros.h
Depends-on:
Files:
tests/unilbrk/test-u32-width-linebreaks.c
+tests/macros.h
Depends-on:
Files:
tests/unilbrk/test-u8-possible-linebreaks.c
+tests/macros.h
Depends-on:
Files:
tests/unilbrk/test-u8-width-linebreaks.c
+tests/macros.h
Depends-on:
Files:
tests/unilbrk/test-ulc-possible-linebreaks.c
+tests/macros.h
Depends-on:
Files:
tests/unilbrk/test-ulc-width-linebreaks.c
+tests/macros.h
Depends-on:
Files:
tests/uninorm/test-canonical-decomposition.c
+tests/macros.h
Depends-on:
Files:
tests/uninorm/test-compat-decomposition.c
+tests/macros.h
Depends-on:
Files:
tests/uninorm/test-composition.c
+tests/macros.h
Depends-on:
Files:
tests/uninorm/test-decomposing-form.c
+tests/macros.h
Depends-on:
uninorm/nfc
Files:
tests/uninorm/test-decomposition.c
+tests/macros.h
Depends-on:
Files:
tests/uninorm/test-uninorm-filter-nfc.c
+tests/macros.h
Depends-on:
unistr/u32-cmp
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
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
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
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
Files:
tests/uninorm/test-u16-normcmp.c
tests/uninorm/test-u16-normcmp.h
+tests/macros.h
Depends-on:
uninorm/nfd
Files:
tests/uninorm/test-u16-normcoll.c
tests/uninorm/test-u16-normcmp.h
+tests/macros.h
Depends-on:
uninorm/nfc
Files:
tests/uninorm/test-u32-normcmp.c
tests/uninorm/test-u32-normcmp.h
+tests/macros.h
Depends-on:
uninorm/nfd
Files:
tests/uninorm/test-u32-normcoll.c
tests/uninorm/test-u32-normcmp.h
+tests/macros.h
Depends-on:
uninorm/nfc
Files:
tests/uninorm/test-u8-normcmp.c
tests/uninorm/test-u8-normcmp.h
+tests/macros.h
Depends-on:
uninorm/nfd
Files:
tests/uninorm/test-u8-normcoll.c
tests/uninorm/test-u8-normcmp.h
+tests/macros.h
Depends-on:
uninorm/nfc
tests/unistdio/test-u16-asnprintf1.c
tests/unistdio/test-u16-asnprintf1.h
tests/unistdio/test-u16-printf1.h
+tests/macros.h
Depends-on:
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
Files:
tests/unistdio/test-u16-vasprintf1.c
tests/unistdio/test-u16-printf1.h
+tests/macros.h
Depends-on:
Files:
tests/unistdio/test-u16-vsnprintf1.c
tests/unistdio/test-u16-printf1.h
+tests/macros.h
Depends-on:
xalloc
Files:
tests/unistdio/test-u16-vsprintf1.c
tests/unistdio/test-u16-printf1.h
+tests/macros.h
Depends-on:
xalloc
tests/unistdio/test-u32-asnprintf1.c
tests/unistdio/test-u32-asnprintf1.h
tests/unistdio/test-u32-printf1.h
+tests/macros.h
Depends-on:
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
Files:
tests/unistdio/test-u32-vasprintf1.c
tests/unistdio/test-u32-printf1.h
+tests/macros.h
Depends-on:
Files:
tests/unistdio/test-u32-vsnprintf1.c
tests/unistdio/test-u32-printf1.h
+tests/macros.h
Depends-on:
xalloc
Files:
tests/unistdio/test-u32-vsprintf1.c
tests/unistdio/test-u32-printf1.h
+tests/macros.h
Depends-on:
xalloc
tests/unistdio/test-u8-asnprintf1.c
tests/unistdio/test-u8-asnprintf1.h
tests/unistdio/test-u8-printf1.h
+tests/macros.h
Depends-on:
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
Files:
tests/unistdio/test-u8-vasprintf1.c
tests/unistdio/test-u8-printf1.h
+tests/macros.h
Depends-on:
Files:
tests/unistdio/test-u8-vsnprintf1.c
tests/unistdio/test-u8-printf1.h
+tests/macros.h
Depends-on:
xalloc
Files:
tests/unistdio/test-u8-vsprintf1.c
tests/unistdio/test-u8-printf1.h
+tests/macros.h
Depends-on:
xalloc
tests/unistdio/test-ulc-asnprintf1.c
tests/unistdio/test-ulc-asnprintf1.h
tests/unistdio/test-ulc-printf1.h
+tests/macros.h
Depends-on:
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
Files:
tests/unistdio/test-ulc-vasprintf1.c
tests/unistdio/test-ulc-printf1.h
+tests/macros.h
Depends-on:
Files:
tests/unistdio/test-ulc-vsnprintf1.c
tests/unistdio/test-ulc-printf1.h
+tests/macros.h
Depends-on:
xalloc
Files:
tests/unistdio/test-ulc-vsprintf1.c
tests/unistdio/test-ulc-printf1.h
+tests/macros.h
Depends-on:
xalloc
Files:
tests/uniwbrk/test-u16-wordbreaks.c
+tests/macros.h
Depends-on:
Files:
tests/uniwbrk/test-u32-wordbreaks.c
+tests/macros.h
Depends-on:
Files:
tests/uniwbrk/test-u8-wordbreaks.c
+tests/macros.h
Depends-on:
Files:
tests/uniwbrk/test-ulc-wordbreaks.sh
tests/uniwbrk/test-ulc-wordbreaks.c
+tests/macros.h
m4/locale-fr.m4
m4/codeset.m4
Files:
tests/uniwidth/test-u16-strwidth.c
+tests/macros.h
Depends-on:
Files:
tests/uniwidth/test-u16-width.c
+tests/macros.h
Depends-on:
Files:
tests/uniwidth/test-u32-strwidth.c
+tests/macros.h
Depends-on:
Files:
tests/uniwidth/test-u32-width.c
+tests/macros.h
Depends-on:
Files:
tests/uniwidth/test-u8-strwidth.c
+tests/macros.h
Depends-on:
Files:
tests/uniwidth/test-u8-width.c
+tests/macros.h
Depends-on:
tests/uniwidth/test-uc_width.c
tests/uniwidth/test-uc_width2.c
tests/uniwidth/test-uc_width2.sh
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-unlink.h
tests/test-unlink.c
+tests/signature.h
+tests/macros.h
Depends-on:
stdbool
Files:
-tests/signature.h
tests/test-unsetenv.c
+tests/signature.h
+tests/macros.h
Depends-on:
putenv
Files:
-tests/signature.h
tests/test-usleep.c
+tests/signature.h
+tests/macros.h
Depends-on:
time
tests/test-utimens.h
tests/test-utimens-common.h
tests/test-utimens.c
+tests/macros.h
Depends-on:
symlink
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
tests/test-vasnprintf-posix2.sh
tests/test-vasnprintf-posix2.c
tests/nan.h
+tests/macros.h
m4/locale-fr.m4
m4/codeset.m4
Files:
tests/test-vasnprintf.c
+tests/macros.h
Depends-on:
Files:
tests/test-vasprintf-posix.c
tests/nan.h
+tests/macros.h
Depends-on:
stdint
Files:
-tests/signature.h
tests/test-vasprintf.c
+tests/signature.h
+tests/macros.h
Depends-on:
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
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
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
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
Files:
-tests/signature.h
tests/test-vsnprintf.c
+tests/signature.h
+tests/macros.h
Depends-on:
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
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
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
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
Files:
tests/test-wctype.c
+tests/macros.h
Depends-on:
Files:
-tests/signature.h
tests/test-wcwidth.c
+tests/signature.h
+tests/macros.h
Depends-on:
localcharset
Files:
tests/test-xmemdup0.c
+tests/macros.h
Depends-on:
progname
tests/test-fprintf-posix.h
tests/test-printf-posix.h
tests/test-printf-posix.output
+tests/macros.h
Depends-on:
stdint
Files:
tests/test-xvasprintf.c
+tests/macros.h
Depends-on:
progname
--- /dev/null
+/* 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]))
#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"
#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"
#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"
#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"
/* 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. */
#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)
#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] =
#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))]
#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] =
{
"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))]
#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);
"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))]
#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);
"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))]
#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);
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))]
#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)
/* 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 ()
#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)
#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[])
/* 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 ()
/* 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)
/* 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
#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;
/* 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[])
/* 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 ()
/* 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[])
/* 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 ()
#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"
#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"
#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))]
#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. */
/* 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. */
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.
#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"
#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
/* 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[])
/* 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[])
/*
- * 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)
#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 *, ...))
#include <errno.h>
#include <fcntl.h>
-#include <stdio.h>
-#include <stdlib.h>
#include "binary-io.h"
#include "cloexec.h"
# 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
#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. */
#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
#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
{
/* 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"
#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)
#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"
#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"
#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__
#endif
#include "binary-io.h"
+#include "macros.h"
/* Use O_CLOEXEC if available, but test works without it. */
#ifndef O_CLOEXEC
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)
#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)
#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"
#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)
#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[])
#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[] =
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)
#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. */
/* 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. */
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.
#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 ()
/* 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. */
#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)
#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"
#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
#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
/* 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)
#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
/* 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)
/* 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)
#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)
#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 ()
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;
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'
#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
#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
#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"
#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)
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)
#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. */
# 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
#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. */
# 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
#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 ()
#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"
#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
#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
#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)
#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) \
#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)
#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[])
#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)
#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)
#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)
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"
#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)
{
#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)
/* 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 ()
#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 ()
#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 ()
#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 ()
#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)
#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)
#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[])
#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;
#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;
#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. */
/* 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. */
/* 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. */
#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.
#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"
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.
#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"
#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"
#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))]
#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] =
{
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))]
#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[] =
{
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
#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"
#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"
#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"
#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[])
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
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[])
/* 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 ()
#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[])
/* 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 ()
/* 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 ()
/* 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 ()
#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[])
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
#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. */
#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. */
#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)
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)
#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. */
#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"
#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"
#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"
#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"
#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"
#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
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[])
#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
#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"
#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"
#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
#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
#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
#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
{
#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
#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)
#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
{
#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)
/* 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)
/* 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,
#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"
# 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)
#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 "". */
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 ()
#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. */
#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);
"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))]
#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);
"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))]
#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);
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))]
#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"
#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"
#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"
#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"
#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"
#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. */
#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. */
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.
#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 ()
/* 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[])
/* 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[])
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)
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
#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;
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
/* 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"
#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[])
#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"
#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 };
#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"
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 ()
#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)
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)
/* 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 ()
#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
/* 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
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)
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[])
#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))
#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)
#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"
#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"
#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. */
/* 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. */
#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. */
/* 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. */
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.
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
#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"
#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"
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)
#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)
#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"
#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"
#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 ()
/* 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[])
/* 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, ...)
#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 ()
#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, ...)
#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"
#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"
#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"
/* 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"
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, ...)
#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"
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
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[])
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[])
#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';
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 ()
#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"
#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)
#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"
#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, ...)
#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[])
#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;
#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;
#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"
#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"
#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,
#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"
#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"
#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"
#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"
#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"
#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,
#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,
#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,
#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"
#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"
#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,
#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"
#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"
#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"
#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"
#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"
#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,
#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,
#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,
#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"
#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"
#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,
#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"
#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"
#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"
#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"
#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"
#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,
#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,
#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,
#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"
#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"
#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
#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
#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 ()
/* 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 ()
#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
#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
#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 ()
/* 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 ()
#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
#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
#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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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[] =
{
/* 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[] =
{
/* 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 ()
/* 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[] =
#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 ()
/* 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 ()
/* 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;
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
#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 ()
#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 ()
#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 ()
#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 ()
#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 ()
#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,
#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,
#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,
#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,
#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"
#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
#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,
#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,
#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,
#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,
#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 \
#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"
#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
#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,
#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,
#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,
#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,
#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"
#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
#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. */
/* 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"
/* 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"
/* 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 *, ...))
/* 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 *, ...))
/* 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"
#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"
#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"
/* 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"
/* 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"
/* 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 *, ...))
/* 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 *, ...))
/* 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"
#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"
#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"
/* 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"
/* 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"
/* 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 *, ...))
/* 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 *, ...))
/* 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"
#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"
#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"
/* 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"
/* 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"
/* 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 *, ...))
/* 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 *, ...))
/* 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"
#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"
#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"
#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 ()
#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 ()
#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 ()
#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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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 ()
/* 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;