mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-03 12:11:17 +03:00
Promote a math test for sNaN handling to the top-level.
This commit is contained in:
@@ -1,5 +1,13 @@
|
|||||||
2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
|
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
|
* math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
|
||||||
SUFFIX. Initialize qNaN_var with __builtin_nan family of
|
SUFFIX. Initialize qNaN_var with __builtin_nan family of
|
||||||
functions.
|
functions.
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ long-c-yes = $(calls:=l)
|
|||||||
tests = test-matherr test-fenv atest-exp atest-sincos atest-exp2 basic-test \
|
tests = test-matherr test-fenv atest-exp atest-sincos atest-exp2 basic-test \
|
||||||
test-misc test-fpucw tst-definitions test-tgmath test-tgmath-ret \
|
test-misc test-fpucw tst-definitions test-tgmath test-tgmath-ret \
|
||||||
bug-nextafter bug-nexttoward bug-tgmath1 test-tgmath-int \
|
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
|
# We do the `long double' tests only if this data type is available and
|
||||||
# distinct from `double'.
|
# distinct from `double'.
|
||||||
test-longdouble-yes = test-ldouble test-ildoubl
|
test-longdouble-yes = test-ldouble test-ildoubl
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
ifeq ($(subdir),math)
|
ifeq ($(subdir),math)
|
||||||
libm-support += fenv_const fe_nomask fe_mask t_sqrt
|
libm-support += fenv_const fe_nomask fe_mask t_sqrt
|
||||||
libm-tests += test-powerpc-snan
|
|
||||||
|
|
||||||
# libm needs ld.so to access dl_hwcap
|
# libm needs ld.so to access dl_hwcap
|
||||||
$(objpfx)libm.so: $(elfobjdir)/ld.so
|
$(objpfx)libm.so: $(elfobjdir)/ld.so
|
||||||
|
|||||||
Reference in New Issue
Block a user