summaryrefslogtreecommitdiff
path: root/modules/vasprintf-posix-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-10-09 13:11:45 +0200
committerBruno Haible <bruno@clisp.org>2011-10-09 13:11:57 +0200
commit0c8ec5098df2234a11fa90fc6bb1d9a6c6ad29c2 (patch)
tree0cc92512f25a1c4c23911bdc99d7f070ad28a37e /modules/vasprintf-posix-tests
parent74fa641469043b5eafcc038cc6050ec0a332fbf1 (diff)
downloadgnulib-0c8ec5098df2234a11fa90fc6bb1d9a6c6ad29c2.tar.gz
*printf-posix tests: Fix for platforms where 'long double' == 'double'.
* modules/snprintf-posix-tests (configure.ac): Require gl_LONG_DOUBLE_VS_DOUBLE. * modules/sprintf-posix-tests (configure.ac): Likewise. * modules/vasnprintf-posix-tests (configure.ac): Likewise. * modules/vasprintf-posix-tests (configure.ac): Likewise. * modules/vsnprintf-posix-tests (configure.ac): Likewise. * modules/vsprintf-posix-tests (configure.ac): Likewise. * tests/test-snprintf-posix.h (test_function): Avoid 80-bit long double tests on platforms where 'long double' is the same as 'double'. * tests/test-sprintf-posix.h (test_function): Likewise. * tests/test-vasnprintf-posix.c (test_function): Likewise. * tests/test-vasprintf-posix.c (test_function): Likewise.
Diffstat (limited to 'modules/vasprintf-posix-tests')
-rw-r--r--modules/vasprintf-posix-tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/vasprintf-posix-tests b/modules/vasprintf-posix-tests
index cf74d78874..ae486a7672 100644
--- a/modules/vasprintf-posix-tests
+++ b/modules/vasprintf-posix-tests
@@ -10,6 +10,7 @@ stdint
float
configure.ac:
+AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
Makefile.am:
TESTS += test-vasprintf-posix