[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5486] Conditionally enable a test that had been suppresse
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5486] Conditionally enable a test that had been suppressed |
Date: |
Sun, 03 Jun 2012 20:25:51 +0000 |
Revision: 5486
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5486
Author: chicares
Date: 2012-06-03 20:25:51 +0000 (Sun, 03 Jun 2012)
Log Message:
-----------
Conditionally enable a test that had been suppressed
Modified Paths:
--------------
lmi/trunk/numeric_io_test.cpp
Modified: lmi/trunk/numeric_io_test.cpp
===================================================================
--- lmi/trunk/numeric_io_test.cpp 2012-06-03 20:20:49 UTC (rev 5485)
+++ lmi/trunk/numeric_io_test.cpp 2012-06-03 20:25:51 UTC (rev 5486)
@@ -260,15 +260,12 @@
test_interconvertibility( double(2.0 / 3.0), "0.666666666666667" ,
__FILE__, __LINE__);
test_interconvertibility( 0.666666666666667, "0.666666666666667" ,
__FILE__, __LINE__);
-#if 0
-// COMPILER !! MinGW gcc-3.2.3 doesn't support long double conversions
-// because it uses the ms C runtime library; como with MinGW gcc as
-// its underlying C compiler has the same problem.
-//
+#if !defined LMI_MSVCRT
+// COMPILER !! This C runtime doesn't support long double conversions.
test_interconvertibility((long double)( 0.0L), "0", __FILE__, __LINE__);
test_interconvertibility((long double)( 1.5L), "1.5", __FILE__, __LINE__);
test_interconvertibility((long double)(-2.5L), "-2.5", __FILE__, __LINE__);
-#endif // 0
+#endif // !defined LMI_MSVCRT
test_interconvertibility(std::string(" as df "), " as df ",
__FILE__, __LINE__);
// The converse
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5486] Conditionally enable a test that had been suppressed,
Greg Chicares <=