1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

*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.
This commit is contained in:
Bruno Haible
2011-10-09 13:11:45 +02:00
parent 74fa641469
commit 0c8ec5098d
11 changed files with 36 additions and 16 deletions

View File

@@ -12,6 +12,7 @@ stdint
float
configure.ac:
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
Makefile.am:
TESTS += test-sprintf-posix