summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-04-05 17:33:01 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-04-05 17:33:01 +0200
commitbe9dba69580d8349e4e35cafe5cce309b14611a3 (patch)
tree9fec3329fcb52c4ae150fb668caea7b88a1ae16a /gl
parent61ff9fe785d106f13351964b9453a1cf5a62bdb8 (diff)
downloadgnutls-be9dba69580d8349e4e35cafe5cce309b14611a3.tar.gz
avoid the floating point test.
Diffstat (limited to 'gl')
-rw-r--r--gl/override/tests/test-float.c.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/gl/override/tests/test-float.c.diff b/gl/override/tests/test-float.c.diff
new file mode 100644
index 0000000000..c2e3d6ba1a
--- /dev/null
+++ b/gl/override/tests/test-float.c.diff
@@ -0,0 +1,24 @@
+--- gl/tests/test-float.c.orig
++++ gl/tests/test-float.c
+@@ -23,11 +23,11 @@
+ #include "fpucw.h"
+ #include "macros.h"
+
++#if 0
++
+ /* Check that FLT_RADIX is a constant expression. */
+ int a[] = { FLT_RADIX };
+
+-#if FLT_RADIX == 2
+-
+ /* Return 2^n. */
+ static float
+ pow2f (int n)
+@@ -377,7 +377,6 @@ main ()
+ int
+ main ()
+ {
+- fprintf (stderr, "Skipping test: FLT_RADIX is not 2.\n");
+ return 77;
+ }
+