about summary refs log tree commit diff
path: root/math/test-double.c
diff options
context:
space:
mode:
authorAndrew Senkevich <andrew.n.senkevich@gmail.com>2015-05-14 17:11:50 +0300
committerAndrew Senkevich <andrew.n.senkevich@gmail.com>2015-05-14 18:07:06 +0300
commita6cdcd75dca8d57aaf1d7f8952bac374da7adc91 (patch)
tree5a0dfd8afec3a274d559b54a10c16b2dfd646bc3 /math/test-double.c
parentee9716019d04ad3f3024670a48cddf4e807ced34 (diff)
downloadglibc-a6cdcd75dca8d57aaf1d7f8952bac374da7adc91.tar.gz
glibc-a6cdcd75dca8d57aaf1d7f8952bac374da7adc91.tar.xz
glibc-a6cdcd75dca8d57aaf1d7f8952bac374da7adc91.zip
Refactoring of START for conditions in individual tests
and addition of macros used for runtime architecture check.

2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>

    * math/libm-test.inc: START refactored.
    * math/test-double.c (TEST_MATHVEC): Add define.
    * math/test-float.c: Likewise.
    * math/test-idouble.c: Likewise.
    * math/test-ifloat.c: Likewise.
    * math/test-ildoubl.c: Likewise.
    * math/test-ldouble.c: Likewise.
    * sysdeps/generic/math-tests-arch.h (INIT_ARCH_EXT, CHECK_ARCH_EXT):
    New helper macros for runtime architecture check.
Diffstat (limited to 'math/test-double.c')
-rw-r--r--math/test-double.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/test-double.c b/math/test-double.c
index cbb81f980c..6c1c11c923 100644
--- a/math/test-double.c
+++ b/math/test-double.c
@@ -26,6 +26,7 @@
 #define PRINTF_XEXPR "a"
 #define PRINTF_NEXPR "f"
 #define TEST_DOUBLE 1
+#define TEST_MATHVEC 0
 
 #ifndef __NO_MATH_INLINES
 # define __NO_MATH_INLINES