about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--math/Makefile2
-rw-r--r--math/test-snan.c (renamed from sysdeps/powerpc/fpu/test-powerpc-snan.c)0
-rw-r--r--sysdeps/powerpc/fpu/Makefile1
4 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f751d4607..d445e604d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/math/Makefile b/math/Makefile
index 72cf3389f5..e216dfb96a 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -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
diff --git a/sysdeps/powerpc/fpu/test-powerpc-snan.c b/math/test-snan.c
index 6ec9414e79..6ec9414e79 100644
--- a/sysdeps/powerpc/fpu/test-powerpc-snan.c
+++ b/math/test-snan.c
diff --git a/sysdeps/powerpc/fpu/Makefile b/sysdeps/powerpc/fpu/Makefile
index ffacf1a754..fda59f9fa4 100644
--- a/sysdeps/powerpc/fpu/Makefile
+++ b/sysdeps/powerpc/fpu/Makefile
@@ -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