1. 01 Jan, 2014 1 commit
  2. 01 Jan, 2013 1 commit
  3. 10 Feb, 2012 1 commit
    • Paul Eggert's avatar
      maint: replace FSF snail-mail addresses with URLs · 341111f6
      Paul Eggert authored
      * config/argz.mk, lib/accept4.c, lib/alignof.h, lib/alloca.in.h:
      * lib/alphasort.c, lib/arcfour.c, lib/arcfour.h, lib/arctwo.c:
      * lib/arctwo.h, lib/argz.c, lib/arpa_inet.in.h, lib/asnprintf.c:
      * lib/asprintf.c, lib/assert.in.h, lib/base32.c, lib/base32.h:
      * lib/base64.c, lib/base64.h, lib/c-ctype.c, lib/c-ctype.h:
      * lib/c-strcase.h, lib/c-strcasecmp.c, lib/c-strncasecmp.c:
      * lib/check-version.c, lib/check-version.h, lib/config.charset:
      * lib/ctype.in.h, lib/des.c, lib/des.h, lib/dup3.c, lib/errno.in.h:
      * lib/float+.h, lib/fnmatch.c, lib/fnmatch.in.h, lib/fnmatch_loop.c:
      * lib/fseeko.c, lib/gai_strerror.c, lib/gc-gnulib.c:
      * lib/gc-libgcrypt.c, lib/gc-pbkdf2-sha1.c, lib/gc.h:
      * lib/getaddrinfo.c, lib/getdelim.c, lib/getfilecon.c, lib/getline.c:
      * lib/getlogin_r.c, lib/getpass.c, lib/getpass.h, lib/gettext.h:
      * lib/gettimeofday.c, lib/glob.in.h, lib/glthread/cond.c:
      * lib/glthread/cond.h, lib/glthread/lock.c, lib/glthread/lock.h:
      * lib/glthread/thread.c, lib/glthread/thread.h:
      * lib/glthread/threadlib.c, lib/glthread/yield.h, lib/hmac-md5.c:
      * lib/hmac-sha1.c, lib/hmac.h, lib/iconv.c, lib/iconv.in.h:
      * lib/iconv_close.c, lib/iconv_open.c, lib/inet_ntop.c, lib/isfinite.c:
      * lib/isinf.c, lib/iswblank.c, lib/langinfo.in.h, lib/link.c:
      * lib/localcharset.c, lib/localcharset.h, lib/lseek.c, lib/malloc.c:
      * lib/malloca.c, lib/malloca.h, lib/md2.c, lib/md2.h, lib/md4.c:
      * lib/md4.h, lib/md5.c, lib/md5.h, lib/memmem.c, lib/mempcpy.c:
      * lib/memset.c, lib/memxor.c, lib/memxor.h, lib/minmax.h, lib/mktime.c:
      * lib/msvc-inval.c, lib/msvc-inval.h, lib/msvc-nothrow.c:
      * lib/msvc-nothrow.h, lib/netdb.in.h, lib/netinet_in.in.h, lib/nproc.c:
      * lib/nproc.h, lib/obstack_printf.c, lib/pathmax.h, lib/pipe.c:
      * lib/pipe2.c, lib/poll.c, lib/poll.in.h, lib/printf-args.c:
      * lib/printf-args.h, lib/printf-parse.c, lib/printf-parse.h:
      * lib/pselect.c, lib/pthread.in.h, lib/pty-private.h, lib/pty.in.h:
      * lib/read-file.c, lib/read-file.h, lib/ref-add.sin, lib/ref-del.sin:
      * lib/regcomp.c, lib/regex.c, lib/regex.h, lib/regex_internal.c:
      * lib/regex_internal.h, lib/regexec.c, lib/rijndael-alg-fst.c:
      * lib/rijndael-alg-fst.h, lib/rijndael-api-fst.c:
      * lib/rijndael-api-fst.h, lib/rint.c, lib/rintf.c, lib/rintl.c:
      * lib/round.c, lib/roundf.c, lib/roundl.c, lib/scandir.c, lib/select.c:
      * lib/sha1.c, lib/sha1.h, lib/size_max.h, lib/snprintf.c:
      * lib/stdalign.in.h, lib/stdarg.in.h, lib/stdbool.in.h:
      * lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/str-kmp.h:
      * lib/str-two-way.h, lib/strcasecmp.c, lib/strcasestr.c, lib/strdup.c:
      * lib/striconv.c, lib/striconv.h, lib/string.in.h, lib/strings.in.h:
      * lib/strncasecmp.c, lib/strndup.c, lib/strnlen.c, lib/strpbrk.c:
      * lib/strptime.c, lib/strsep.c, lib/strstr.c, lib/strverscmp.c:
      * lib/sys_file.in.h, lib/sys_ioctl.in.h, lib/sys_select.in.h:
      * lib/sys_socket.in.h, lib/sys_stat.in.h, lib/sys_time.in.h:
      * lib/sys_times.in.h, lib/sys_types.in.h, lib/sys_uio.in.h:
      * lib/sys_utsname.in.h, lib/sys_wait.in.h, lib/tcgetsid.c:
      * lib/termios.in.h, lib/time.in.h, lib/time_r.c, lib/timegm.c:
      * lib/times.c, lib/unictype/3level.h, lib/unictype/3levelbit.h:
      * lib/unistd.in.h, lib/vasnprintf.c, lib/vasnprintf.h, lib/vasprintf.c:
      * lib/vsnprintf.c, lib/waitpid.c, lib/wchar.in.h, lib/wctype.in.h:
      * lib/xsize.h, tests/test-closein.c, tests/test-des.c:
      * tests/test-fclose.c, tests/test-fgetc.c, tests/test-filevercmp.c:
      * tests/test-fputc.c, tests/test-fread.c, tests/test-fwrite.c:
      * tests/test-gc-arcfour.c, tests/test-gc-arctwo.c, tests/test-gc-des.c:
      * tests/test-gc-hmac-md5.c, tests/test-gc-hmac-sha1.c:
      * tests/test-gc-md2.c, tests/test-gc-md4.c, tests/test-gc-md5.c:
      * tests/test-gc-pbkdf2-sha1.c, tests/test-gc-rijndael.c:
      * tests/test-gc-sha1.c, tests/test-gc.c, tests/test-getdelim.c:
      * tests/test-getline.c, tests/test-getndelim2.c, tests/test-md2.c:
      * tests/test-md4.c, tests/test-parse-datetime.c, tests/test-perror.c:
      * tests/test-perror2.c, tests/test-pipe.c, tests/test-pipe2.c:
      * tests/test-poll.c, tests/test-quotearg-simple.c:
      * tests/test-quotearg.c, tests/test-quotearg.h:
      * tests/test-round-ieee.c, tests/test-round1.c:
      * tests/test-roundf-ieee.c, tests/test-roundf1.c:
      * tests/test-roundl-ieee.c, tests/test-roundl.c:
      * tests/test-safe-alloc.c, tests/test-sigpipe.c:
      * tests/test-spawn-pipe-child.c, tests/test-spawn-pipe-main.c:
      * tests/test-strerror.c, tests/test-strerror_r.c:
      * tests/test-strsignal.c, tests/test-strverscmp.c:
      * tests/test-xmemdup0.c:
      Replace FSF snail mail addresses with URLs, as per GNU coding
      standards.  See glibc bug
      <http://sourceware.org/bugzilla/show_bug.cgi?id=13673>.
      341111f6
  4. 01 Jan, 2012 1 commit
  5. 11 Sep, 2011 1 commit
    • Bruno Haible's avatar
      Support for MSVC compiler: Avoid division by a literal 0. · cf00d491
      Bruno Haible authored
      * lib/math.in.h (NAN): Define through a function call also on MSVC.
      * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Divide by 'zero' instead of 0.0.
      * m4/printf.m4 (gl_PRINTF_INFINITE, gl_PRINTF_DIRECTIVE_A,
      gl_PRINTF_DIRECTIVE_F, gl_PRINTF_FLAG_ZERO): Likewise.
      (gl_PRINTF_INFINITE_LONG_DOUBLE): Divide by 'zeroL' instead of 0.0L.
      * tests/infinity.h: New file.
      * tests/nan.h (NaNf, NaNd, NaNl): Define through a function call also
      on MSVC.
      * tests/test-ceilf1.c: Include infinity.h.
      (main): Use Infinityf.
      * tests/test-ceil1.c: Include infinity.h.
      (main): Use Infinityd.
      * tests/test-ceill.c: Include infinity.h.
      (main): Use Infinityl.
      * tests/test-dprintf-posix.c: Include infinity.h.
      (test_function): Use Infinityd.
      * tests/test-floorf1.c: Include infinity.h.
      (main): Use Infinityf.
      * tests/test-floor1.c: Include infinity.h.
      (main): Use Infinityd.
      * tests/test-floorl.c: Include infinity.h.
      (main): Use Infinityl.
      * tests/test-fprintf-posix.c: Include infinity.h.
      (test_function): Use Infinityd.
      * tests/test-frexp.c: Include infinity.h.
      (main): Use Infinityd.
      * tests/test-frexpl.c: Include infinity.h.
      (main): Use Infinityl.
      * tests/test-isfinite.c: Include infinity.h.
      (test_isfinitef): Use Infinityf.
      (test_isfinited): Use Infinityd.
      (test_isfinitel): Use Infinityl.
      * tests/test-isinf.c: Include infinity.h.
      (test_isinff): Use Infinityf.
      (test_isinfd): Use Infinityd.
      (test_isinfl): Use Infinityl.
      * tests/test-isnan.c: Include infinity.h.
      (test_float): Use Infinityf.
      (test_double): Use Infinityd.
      (test_long_double): Use Infinityl.
      * tests/test-isnanf.h: Include infinity.h.
      (main): Use Infinityf.
      * tests/test-isnand.h: Include infinity.h.
      (main): Use Infinityd.
      * tests/test-isnanl.h: Include infinity.h.
      (main): Use Infinityl.
      * tests/test-ldexpl.c: Include infinity.h.
      (main): Use Infinityl.
      * tests/test-printf-posix.h: Include infinity.h.
      (test_function): Use Infinityd.
      * tests/test-roundf1.c: Include infinity.h.
      (main): Use Infinityf.
      * tests/test-round1.c: Include infinity.h.
      (main): Use Infinityd.
      * tests/test-roundl.c: Include infinity.h.
      (main): Use Infinityl.
      * tests/test-signbit.c: Include infinity.h.
      (test_signbitf): Use Infinityf.
      (test_signbitd): Use Infinityd.
      (test_signbitl): Use Infinityl.
      * tests/test-snprintf-posix.h: Include infinity.h.
      (test_function): Use Infinityd, Infinityl.
      * tests/test-sprintf-posix.h: Include infinity.h.
      (test_function): Use Infinityd, Infinityl.
      * tests/test-truncf1.c: Include infinity.h.
      (main): Use Infinityf.
      * tests/test-trunc1.c: Include infinity.h.
      (main): Use Infinityd.
      * tests/test-truncl.c: Include infinity.h.
      (main): Use Infinityl.
      * tests/test-vasnprintf-posix.c: Include infinity.h.
      (test_function): Use Infinityd, Infinityl.
      * tests/test-vasprintf-posix.c: Include infinity.h.
      (test_function): Use Infinityd, Infinityl.
      * modules/ceilf-tests (Files): Add tests/infinity.h.
      * modules/ceil-tests (Files): Likewise.
      * modules/ceill-tests (Files): Likewise.
      * modules/dprintf-posix-tests (Files): Likewise.
      * modules/floorf-tests (Files): Likewise.
      * modules/floor-tests (Files): Likewise.
      * modules/floorl-tests (Files): Likewise.
      * modules/fprintf-posix-tests (Files): Likewise.
      * modules/frexp-tests (Files): Likewise.
      * modules/frexp-nolibm-tests (Files): Likewise.
      * modules/frexpl-tests (Files): Likewise.
      * modules/frexpl-nolibm-tests (Files): Likewise.
      * modules/isfinite-tests (Files): Likewise.
      * modules/isinf-tests (Files): Likewise.
      * modules/isnan-tests (Files): Likewise.
      * modules/isnanf-tests (Files): Likewise.
      * modules/isnanf-nolibm-tests (Files): Likewise.
      * modules/isnand-tests (Files): Likewise.
      * modules/isnand-nolibm-tests (Files): Likewise.
      * modules/isnanl-tests (Files): Likewise.
      * modules/isnanl-nolibm-tests (Files): Likewise.
      * modules/ldexpl-tests (Files): Likewise.
      * modules/printf-posix-tests (Files): Likewise.
      * modules/roundf-tests (Files): Likewise.
      * modules/round-tests (Files): Likewise.
      * modules/roundl-tests (Files): Likewise.
      * modules/signbit-tests (Files): Likewise.
      * modules/snprintf-posix-tests (Files): Likewise.
      * modules/sprintf-posix-tests (Files): Likewise.
      * modules/truncf-tests (Files): Likewise.
      * modules/trunc-tests (Files): Likewise.
      * modules/truncl-tests (Files): Likewise.
      * modules/vasnprintf-posix-tests (Files): Likewise.
      * modules/vasprintf-posix-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/vsprintf-posix-tests (Files): Likewise.
      * modules/xprintf-posix-tests (Files): Likewise.
      cf00d491
  6. 01 Jan, 2011 1 commit
  7. 21 Dec, 2010 1 commit
    • Bruno Haible's avatar
      New module 'roundl-ieee'. · 0f2428a8
      Bruno Haible authored
      * modules/roundl-ieee: New file.
      * m4/roundl.m4 (gl_FUNC_ROUNDL): If gl_FUNC_ROUNDL_IEEE is also used,
      test whether roundl works according to ISO C 99 with IEC 60559.
      * m4/roundl-ieee.m4: New file.
      * modules/roundl-ieee-tests: New file.
      * tests/test-roundl-ieee.c: New file, based on tests/test-roundl.c.
      * tests/test-roundl.c (main): Remove signbit tests.
      * modules/roundl-tests (Depends-on): Remove signbit.
      * doc/posix-functions/roundl.texi: Mention the new module.
      0f2428a8
  8. 05 Nov, 2010 1 commit
    • Eric Blake's avatar
      ceil, floor, round, trunc: enhance tests of -0 · 5dad7705
      Eric Blake authored
      * tests/test-ceilf1.c (main): Ensure correct sign of result.
      * tests/test-ceill.c (main): Likewise.
      * tests/test-floorf1.c (main): Likewise.
      * tests/test-floorl.c (main): Likewise.
      * tests/test-round1.c (main): Likewise.
      * tests/test-roundf1.c (main): Likewise.
      * tests/test-roundl.c (main): Likewise.
      * tests/test-trunc1.c (main): Likewise.
      * tests/test-truncf1.c (main): Likewise.
      * tests/test-truncl.c (main): Likewise.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      5dad7705
  9. 04 Nov, 2010 1 commit
    • Eric Blake's avatar
      frexp, tests: work around ICC bug with -zero · 74f73e82
      Eric Blake authored
      * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Compute -0.0 in a way that
      works with more compilers.
      * tests/minus-zero.h: New file.
      * modules/ceilf-tests (Files): Include it.
      * modules/ceill-tests (Files): Likewise.
      * modules/floorf-tests (Files): Likewise.
      * modules/floorl-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/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/round-tests (Files): Likewise.
      * modules/roundf-tests (Files): Likewise.
      * modules/roundl-tests (Files): Likewise.
      * modules/ldexpl-tests (Files): Likewise.
      * modules/signbit-tests (Files): Likewise.
      * modules/snprintf-posix-tests (Files): Likewise.
      * modules/sprintf-posix-tests (Files): Likewise.
      * modules/strtod-tests (Files): Likewise.
      * modules/trunc-tests (Files): Likewise.
      * modules/truncf-tests (Files): Likewise.
      * modules/truncl-tests (Files): Likewise.
      * modules/vsnprintf-posix-tests (Files): Likewise.
      * modules/vsprintf-posix-tests (Files): Likewise.
      * modules/vasnprintf-posix-tests (Files): Likewise.
      * modules/vasprintf-posix-tests (Files): Likewise.
      * tests/test-ceilf1.c (main): Use it.
      * tests/test-ceill.c (main): Likewise.
      * tests/test-floorf1.c (main): Likewise.
      * tests/test-floorl.c (main): Likewise.
      * tests/test-frexp.c (main): Likewise.
      * tests/test-frexpl.c (main): Likewise.
      * tests/test-isnan.c (main): Likewise.
      * tests/test-isnand.h (main): Likewise.
      * tests/test-isnanf.h (main): Likewise.
      * tests/test-isnanl.h (main): Likewise.
      * tests/test-ldexpl.c (main): Likewise.
      * tests/test-round.c (main): Likewise.
      * tests/test-roundf.c (main): Likewise.
      * tests/test-roundl.c (main): Likewise.
      * tests/test-signbit.c (test_signbitf, test_signbitd)
      (test_signbitl): Likewise.
      * tests/test-snprintf-posix.h (test_function): Likewise.
      * tests/test-sprintf-posix.h (test_function): Likewise.
      * tests/test-strtod.c (main): Likewise.
      * tests/test-trunc1.c (main): Likewise.
      * tests/test-truncf1.c (main): Likewise.
      * tests/test-truncl.c (main): Likewise.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      74f73e82
  10. 01 Jan, 2010 1 commit
  11. 24 Dec, 2009 2 commits
    • Bruno Haible's avatar
      Refactor common macros used in tests. · 987e5651
      Bruno Haible authored
      987e5651
    • Eric Blake's avatar
      tests: add signature checks · 89ae4589
      Eric Blake authored
      These tests will help catch problems similar to the one recently
      fixed for cygwin declaring getsubopt and symlinkat in the wrong header.
      
      * tests/signature.h (SIGNATURE_CHECK): New file.
      * modules/atexit-tests (Files): Use it.
      * modules/btowc-tests (Files): Likewise.
      * modules/canonicalize-lgpl-tests (Files): Likewise.
      * modules/ceilf-tests (Files): Likewise.
      * modules/ceill-tests (Files): Likewise.
      * modules/chown-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/fchdir-tests (Files): Likewise.
      * modules/fcntl-tests (Files): Likewise.
      * modules/fdopendir-tests (Files): Likewise.
      * modules/fflush-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-tests (Files): Likewise.
      * modules/fprintf-posix-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/fsync-tests (Files): Likewise.
      * modules/ftell-tests (Files): Likewise.
      * modules/ftello-tests (Files): Likewise.
      * modules/futimens-tests (Files): Likewise.
      * modules/getaddrinfo-tests (Files): Likewise.
      * modules/getcwd-tests (Files): Likewise.
      * modules/getdelim-tests (Files): Likewise.
      * modules/getdtablesize-tests (Files): Likewise.
      * modules/getgroups-tests (Files): Likewise.
      * modules/gethostname-tests (Files): Likewise.
      * modules/getline-tests (Files): Likewise.
      * modules/getopt-posix-tests (Files): Likewise.
      * modules/gettimeofday-tests (Files): Likewise.
      * modules/glob-tests (Files): Likewise.
      * modules/iconv-tests (Files): Likewise.
      * modules/inet_ntop-tests (Files): Likewise.
      * modules/inet_pton-tests (Files): Likewise.
      * modules/isblank-tests (Files): Likewise.
      * modules/lchown-tests (Files): Likewise.
      * modules/ldexpl-tests (Files): Likewise.
      * modules/link-tests (Files): Likewise.
      * modules/linkat-tests (Files): Likewise.
      * modules/lseek-tests (Files): Likewise.
      * modules/lstat-tests (Files): Likewise.
      * modules/mbrtowc-tests (Files): Likewise.
      * modules/mbsinit-tests (Files): Likewise.
      * modules/mbsnrtowcs-tests (Files): Likewise.
      * modules/mbsrtowcs-tests (Files): Likewise.
      * modules/memchr-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/perror-tests (Files): Likewise.
      * modules/pipe2-tests (Files): Likewise.
      * modules/poll-tests (Files): Likewise.
      * modules/popen-tests (Files): Likewise.
      * modules/posix_spawn-tests (Files): Likewise.
      * modules/posix_spawnp-tests (Files): Likewise.
      * modules/pread-tests (Files): Likewise.
      * modules/printf-posix-tests (Files): Likewise.
      * modules/pty-tests (Files): Likewise.
      * modules/random_r-tests (Files): Likewise.
      * modules/rawmemchr-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/select-tests (Files): Likewise.
      * modules/setenv-tests (Files): Likewise.
      * modules/sigaction-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/strcasestr-tests (Files): Likewise.
      * modules/strchrnul-tests (Files): Likewise.
      * modules/strerror-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/times-tests (Files): Likewise.
      * modules/trunc-tests (Files): Likewise.
      * modules/truncf-tests (Files): Likewise.
      * modules/truncl-tests (Files): Likewise.
      * modules/tsearch-tests (Files): Likewise.
      * modules/uname-tests (Files): Likewise.
      * modules/unlink-tests (Files): Likewise.
      * modules/unsetenv-tests (Files): Likewise.
      * modules/usleep-tests (Files): Likewise.
      * modules/utimensat-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/wcwidth-tests (Files): Likewise.
      * tests/test-isfinite.c (isfinite): Ensure macro declaration.
      * tests/test-isinf.c (isinf): Likewise.
      * tests/test-isnan.c (isnan): Likewise.
      * tests/test-signbit.c (signbit): Likewise.
      * tests/test-select.c (FD_CLR, FD_ISSET, FD_SET, FD_ZERO): Ensure
      declaration, either as macro or with correct signature.
      (select): Ensure function under test is declared with correct
      signature in correct header.
      * tests/test-atexit.c (atexit): Likewise.
      * tests/test-btowc.c (btowc): Likewise.
      * tests/test-canonicalize-lgpl.c (realpath)
      (canonicalize_file_name): Likewise.
      * tests/test-ceilf1.c (ceilf): Likewise.
      * tests/test-ceill.c (ceill): Likewise.
      * tests/test-chown.c (chown): Likewise.
      * tests/test-dprintf-posix.c (dprintf): Likewise.
      * tests/test-dup2.c (dup2): Likewise.
      * tests/test-dup3.c (dup3): Likewise.
      * tests/test-duplocale.c (duplocale): Likewise.
      * tests/test-fchdir.c (fchdir): Likewise.
      * tests/test-fchownat.c (fchownat): Likewise.
      * tests/test-fcntl.c (fcntl): Likewise.
      * tests/test-fdopendir.c (fdopendir): Likewise.
      * tests/test-fflush.c (fflush): Likewise.
      * tests/test-flock.c (flock): Likewise.
      * tests/test-floorf1.c (floorf): Likewise.
      * tests/test-floorl.c (floorl): Likewise.
      * tests/test-fnmatch.c (fnmatch): Likewise.
      * tests/test-fopen.c (fopen): Likewise.
      * tests/test-fprintf-posix.c (fprintf): Likewise.
      * tests/test-freopen.c (freopen): Likewise.
      * tests/test-frexp.c (frexp): Likewise.
      * tests/test-frexpl.c (frexpl): Likewise.
      * tests/test-fseek.c (fseek): Likewise.
      * tests/test-fseeko.c (fseeko): Likewise.
      * tests/test-fstatat.c (fstatat): Likewise.
      * tests/test-fsync.c (fsync): Likewise.
      * tests/test-ftell.c (ftell): Likewise.
      * tests/test-ftello.c (ftello): Likewise.
      * tests/test-futimens.c (futimens): Likewise.
      * tests/test-getaddrinfo.c (getaddrinfo, freeaddrinfo)
      (gai_strerror): Likewise.
      * tests/test-getcwd.c (getcwd): Likewise.
      * tests/test-getdelim.c (getdelim): Likewise.
      * tests/test-getdtablesize.c (getdtablesize): Likewise.
      * tests/test-getgroups.c (getgroups): Likewise.
      * tests/test-gethostname.c (gethostname): Likewise.
      * tests/test-getline.c (getline): Likewise.
      * tests/test-getopt.c (getopt, getopt_long, getopt_long_only):
      Likewise.
      * tests/test-gettimeofday.c (gettimeofday): Likewise.
      * tests/test-glob.c (glob, globfree): Likewise.
      * tests/test-iconv.c (iconv, iconv_open, iconv_close): Likewise.
      * tests/test-inet_ntop.c (inet_ntop): Likewise.
      * tests/test-inet_pton.c (inet_pton): Likewise.
      * tests/test-isblank.c (isblank): Likewise.
      * tests/test-lchown.c (lchown): Likewise.
      * tests/test-ldexpl.c (ldexpl): Likewise.
      * tests/test-link.c (link): Likewise.
      * tests/test-linkat.c (linkat): Likewise.
      * tests/test-lseek.c (lseek): Likewise.
      * tests/test-lstat.c (lstat): Likewise.
      * tests/test-mbrtowc.c (mbrtowc): Likewise.
      * tests/test-mbsinit.c (mbsinit): Likewise.
      * tests/test-mbsnrtowcs.c (mbsnrtowcs): Likewise.
      * tests/test-mbsrtowcs.c (mbsrtowcs): Likewise.
      * tests/test-memchr.c (memchr): Likewise.
      * tests/test-memcmp.c (memcmp): Likewise.
      * tests/test-memmem.c (memmem): Likewise.
      * tests/test-memrchr.c (memrchr): Likewise.
      * tests/test-mkdir.c (mkdir): Likewise.
      * tests/test-mkdirat.c (mkdirat): Likewise.
      * tests/test-mkfifo.c (mkfifo): Likewise.
      * tests/test-mkfifoat.c (mkfifoat, mknodat): Likewise.
      * tests/test-mknod.c (mknod): Likewise.
      * tests/test-nanosleep.c (nanosleep): Likewise.
      * tests/test-nl_langinfo.c (nl_langinfo): Likewise.
      * tests/test-obstack-printf.c (obstack_printf, obstack_vprintf):
      Likewise.
      * tests/test-open.c (open): Likewise.
      * tests/test-openat.c (openat): Likewise.
      * tests/test-perror.c (perror): Likewise.
      * tests/test-pipe2.c (pipe2): Likewise.
      * tests/test-poll.c (poll): Likewise.
      * tests/test-popen.c (popen, pclose): Likewise.
      * tests/test-posix_spawn1.c (posix_spawnp, posix_spawnattr_init)
      (posix_spawnattr_destroy, posix_spawnattr_setsigmask)
      (posix_spawnattr_setflags, posix_spawn_file_actions_init)
      (posix_spawn_file_actions_destroy)
      (posix_spawn_file_actions_addclose)
      (posix_spawn_file_actions_addopen)
      (posix_spawn_file_actions_adddup2): Likewise.
      * tests/test-posix_spawn3.c (posix_spawn): Likewise.
      * tests/test-pread.c (pread): Likewise.
      * tests/test-printf-posix.c (printf): Likewise.
      * tests/test-pty.c (openpty, forkpty): Likewise.
      * tests/test-random_r.c (srandom_r, initstate_r, setstate_r)
      (random_r): Likewise.
      * tests/test-rawmemchr.c (rawmemchr): Likewise.
      * tests/test-readlink.c (readlink): Likewise.
      * tests/test-remove.c (remove): Likewise.
      * tests/test-rename.c (rename): Likewise.
      * tests/test-renameat.c (renameat): Likewise.
      * tests/test-rmdir.c (rmdir): Likewise.
      * tests/test-round1.c (round): Likewise.
      * tests/test-roundf1.c (roundf): Likewise.
      * tests/test-roundl.c (roundl): Likewise.
      * tests/test-setenv.c (setenv): Likewise.
      * tests/test-sigaction.c (sigaction): Likewise.
      * tests/test-sleep.c (sleep): Likewise.
      * tests/test-snprintf.c (snprintf): Likewise.
      * tests/test-sprintf-posix.c (sprintf): Likewise.
      * tests/test-stat.c (stat): Likewise.
      * tests/test-stpncpy.c (stpncpy): Likewise.
      * tests/test-strcasestr.c (strcasestr): Likewise.
      * tests/test-strchrnul.c (strchrnul): Likewise.
      * tests/test-strerror.c (strerror): Likewise.
      * tests/test-strsignal.c (strsignal): Likewise.
      * tests/test-strstr.c (strstr): Likewise.
      * tests/test-strtod.c (strtod): Likewise.
      * tests/test-strverscmp.c (strverscmp): Likewise.
      * tests/test-symlink.c (symlink): Likewise.
      * tests/test-symlinkat.c (symlinkat, readlinkat): Likewise.
      * tests/test-times.c (times): Likewise.
      * tests/test-trunc1.c (trunc): Likewise.
      * tests/test-truncf1.c (truncf): Likewise.
      * tests/test-truncl.c (truncl): Likewise.
      * tests/test-tsearch.c (tdelete, tfind, tsearch, twalk):
      Likewise.
      * tests/test-uname.c (uname): Likewise.
      * tests/test-unlink.c (unlink): Likewise.
      * tests/test-unlinkat.c (unlinkat): Likewise.
      * tests/test-unsetenv.c (unsetenv): Likewise.
      * tests/test-usleep.c (usleep): Likewise.
      * tests/test-utimensat.c (utimensat): Likewise.
      * tests/test-vasprintf.c (asprintf, vasprintf): Likewise.
      * tests/test-vdprintf-posix.c (vdprintf): Likewise.
      * tests/test-vfprintf-posix.c (vfprintf): Likewise.
      * tests/test-vprintf-posix.c (vprintf): Likewise.
      * tests/test-vsnprintf.c (vsnprintf): Likewise.
      * tests/test-vsprintf-posix.c (vsprintf): Likewise.
      * tests/test-wcrtomb.c (wcrtomb): Likewise.
      * tests/test-wcsnrtombs.c (wcsnrtombs): Likewise.
      * tests/test-wcsrtombs.c (wcsrtombs): Likewise.
      * tests/test-wcwidth.c (wcwidth): Likewise.
      Signed-off-by: default avatarEric Blake <ebb9@byu.net>
      89ae4589
  12. 10 Dec, 2009 1 commit
  13. 27 Feb, 2009 1 commit
    • Eric Blake's avatar
      avoid gcc 3.4.3 bug on long double NaN on Irix 6.5 · ecab4471
      Eric Blake authored
      * tests/nan.h (NaNl): Rewrite as function on Irix, to avoid
      compilation bug by using runtime conversion.
      * m4/isfinite.m4 (gl_ISFINITE): Likewise.
      * m4/isnanl.m4 (gl_FUNC_ISNANL): Likewise.
      * modules/ceill-tests (Files): Use nan.h.
      * modules/floorl-tests (Files): Likewise.
      * modules/frexpl-tests (Files): Likewise.
      * modules/isnanl-tests (Files): Likewise.
      * modules/ldexpl-tests (Files): Likewise.
      * modules/roundl-tests (Files): Likewise.
      * modules/truncl-tests (Files): Likewise.
      * tests/test-ceill.c (main): Use a working NaN.
      * tests/test-floorl.c (main): Likewise.
      * tests/test-frexpl.c (main): Likewise.
      * tests/test-isnan.c (test_long_double): Likewise.
      * tests/test-isnanl.h (main): Likewise.
      * tests/test-ldexpl.h (main): Likewise.
      * tests/test-roundl.h (main): Likewise.
      * tests/test-truncl.h (main): Likewise.
      See http://lists.gnu.org/archive/html/bug-gnulib/2009-02/msg00190.html.
      Signed-off-by: default avatarEric Blake <ebb9@byu.net>
      ecab4471
  14. 12 Jan, 2009 1 commit
    • Eric Blake's avatar
      tests: IRIX 6.2 cc can't compile -0.0 into .data · b7cb23a6
      Eric Blake authored
      * tests/test-ceill.c (minus_zero): Compute -0.0L at runtime,
      rather than at compile-time.
      * tests/test-floorl.c (minus_zero): Likewise.
      * tests/test-frexpl.c (minus_zero): Likewise.
      * tests/test-isnan.c (minus_zerol): Likewise.
      * tests/test-isnanl.h (minus_zero): Likewise.
      * tests/test-ldexpl.c (minus_zero): Likewise.
      * tests/test-roundl.c (minus_zero): Likewise.
      * tests/test-signbit.c (minus_zerol): Likewise.
      * tests/test-snprintf-posix.h (minus_zerol): Likewise.
      * tests/test-sprintf-posix.h (minus_zerol): Likewise.
      * tests/test-truncl.c (minus_zero): Likewise.
      * tests/test-vasnprintf-posix.c (minus_zerol): Likewise.
      * tests/test-vasprintf-posix.c (minus_zerol): Likewise.
      Reported by Tom G. Christensen and Nelson H. F. Beebe.
      Signed-off-by: default avatarEric Blake <ebb9@byu.net>
      b7cb23a6
  15. 18 Oct, 2008 1 commit
  16. 08 Oct, 2008 1 commit
  17. 01 Aug, 2008 1 commit
  18. 11 Apr, 2008 1 commit
  19. 20 Oct, 2007 1 commit