Promote a math test for sNaN handling to the top-level.

This commit is contained in:
Thomas Schwinge 2013-02-28 22:38:23 +01:00
parent 777b0332c0
commit 495ded2c8c
4 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,13 @@
2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
* sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
math/test-snan.c.
* math/test-snan.c: Renamed from
sysdeps/powerpc/fpu/test-powerpc-snan.c.
* math/Makefile (tests): Add test-snan.
* sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
test-powerpc-snan.
* math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
SUFFIX. Initialize qNaN_var with __builtin_nan family of
functions.

View File

@ -88,7 +88,7 @@ long-c-yes = $(calls:=l)
tests = test-matherr test-fenv atest-exp atest-sincos atest-exp2 basic-test \
test-misc test-fpucw tst-definitions test-tgmath test-tgmath-ret \
bug-nextafter bug-nexttoward bug-tgmath1 test-tgmath-int \
test-tgmath2 test-powl tst-CMPLX tst-CMPLX2
test-tgmath2 test-powl tst-CMPLX tst-CMPLX2 test-snan
# We do the `long double' tests only if this data type is available and
# distinct from `double'.
test-longdouble-yes = test-ldouble test-ildoubl

View File

@ -1,6 +1,5 @@
ifeq ($(subdir),math)
libm-support += fenv_const fe_nomask fe_mask t_sqrt
libm-tests += test-powerpc-snan
# libm needs ld.so to access dl_hwcap
$(objpfx)libm.so: $(elfobjdir)/ld.so