[Gmp-commit] /var/hg/gmp: Disable test for mingw.

mercurial at gmplib.org mercurial at gmplib.org
Tue Jul 5 09:51:29 CEST 2011


details:   /var/hg/gmp/rev/3015db141bb1
changeset: 14211:3015db141bb1
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Jul 05 09:49:46 2011 +0200
description:
Disable test for mingw.

diffstat:

 tests/misc/t-locale.c |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 71098e4b9171 -r 3015db141bb1 tests/misc/t-locale.c
--- a/tests/misc/t-locale.c	Mon Jul 04 00:21:26 2011 +0200
+++ b/tests/misc/t-locale.c	Tue Jul 05 09:49:46 2011 +0200
@@ -1,6 +1,6 @@
 /* Test locale support, or attempt to do so.
 
-Copyright 2001, 2002 Free Software Foundation, Inc.
+Copyright 2001, 2002, 2011 Free Software Foundation, Inc.
 
 This file is part of the GNU MP Library.
 
@@ -41,6 +41,13 @@
 #include "gmp-impl.h"
 #include "tests.h"
 
+#ifdef __MINGW32__
+int
+main (void)
+{
+  exit (0);
+}
+#else
 
 const char *decimal_point;
 
@@ -191,3 +198,4 @@
   tests_memory_end ();
   exit (0);
 }
+#endif


More information about the gmp-commit mailing list