view modules/acl-tests @ 16498:e04c5a489c44

remainderf-ieee: Work around test failure on OSF/1. * m4/remainderf-ieee.m4: New file. * m4/remainderf.m4 (gl_FUNC_REMAINDERF): If gl_FUNC_REMAINDERF_IEEE is present, test whether remainderf works with a zero second argument. Replace it if not. * lib/math.in.h (remainderf): Override if REPLACE_REMAINDERF is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDERF. * modules/math (Makefile.am): Substitute REPLACE_REMAINDERF. * modules/remainderf (configure.ac): Consider REPLACE_REMAINDERF. (Depends-on): Update conditions. * modules/remainderf-ieee (Files): Add m4/remainderf-ieee.m4. (Depends-on): Add remainder-ieee. (configure.ac): Invoke gl_FUNC_REMAINDERF_IEEE. * doc/posix-functions/remainderf.texi: Mention the remainderf-ieee module.
author Bruno Haible <bruno@clisp.org>
date Mon, 27 Feb 2012 19:33:31 +0100
parents 3acf9fb3aa69
children
line wrap: on
line source

Files:
tests/test-file-has-acl.sh
tests/test-file-has-acl-1.sh
tests/test-file-has-acl-2.sh
tests/test-set-mode-acl.sh
tests/test-set-mode-acl-1.sh
tests/test-set-mode-acl-2.sh
tests/test-copy-acl.sh
tests/test-copy-acl-1.sh
tests/test-copy-acl-2.sh
tests/test-file-has-acl.c
tests/test-set-mode-acl.c
tests/test-copy-acl.c
tests/test-sameacls.c
tests/macros.h

Depends-on:
progname
read-file
unistd
xalloc

configure.ac:
AC_CHECK_DECLS_ONCE([alarm])

Makefile.am:
TESTS += \
  test-file-has-acl.sh test-file-has-acl-1.sh test-file-has-acl-2.sh \
  test-set-mode-acl.sh test-set-mode-acl-1.sh test-set-mode-acl-2.sh \
  test-copy-acl.sh test-copy-acl-1.sh test-copy-acl-2.sh
TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
check_PROGRAMS += test-file-has-acl test-set-mode-acl test-copy-acl test-sameacls
test_file_has_acl_LDADD = $(LDADD) $(LIB_ACL)
test_set_mode_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
test_copy_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
test_sameacls_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@