]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
avoid the floating point test.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 5 Apr 2012 15:33:01 +0000 (17:33 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 5 Apr 2012 15:33:01 +0000 (17:33 +0200)
gl/override/tests/test-float.c.diff [new file with mode: 0644]

diff --git a/gl/override/tests/test-float.c.diff b/gl/override/tests/test-float.c.diff
new file mode 100644 (file)
index 0000000..c2e3d6b
--- /dev/null
@@ -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;
+ }