chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Re: disable failing test on Windows


From: Felix
Subject: [Chicken-hackers] [PATCH] Re: disable failing test on Windows
Date: Wed, 12 Oct 2011 06:42:56 -0400 (EDT)

From: Felix <address@hidden>
Subject: disable failing test on Windows
Date: Wed, 12 Oct 2011 04:28:37 -0400 (EDT)

> The following patch disables a test in 
> tests/numbers-string-conversion-tests.scm,
> which causes it to fail on Windows (mingw) systems. Apparently the runtime
> library prints floating-point numbers differently.
> 
> There possibly is a better way to fix this.

As Peter reports - there is. Please ignore the previous patch and
use this one.


>From 2f6603aff1d71641f619f4b1d4d6e228c67be425 Mon Sep 17 00:00:00 2001
From: felix <address@hidden>
Date: Wed, 12 Oct 2011 12:41:11 +0200
Subject: [PATCH] add Windows-specific case in
 numbers-string-conversion-test.scm

---
 tests/numbers-string-conversion-tests.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/numbers-string-conversion-tests.scm 
b/tests/numbers-string-conversion-tests.scm
index 0e27466..5f580b0 100644
--- a/tests/numbers-string-conversion-tests.scm
+++ b/tests/numbers-string-conversion-tests.scm
@@ -194,7 +194,7 @@
  ("1/2e2" #f)
  ("1/2e2" #f)
  ("1#/2" 5.0 7.5 "5.0" "5." "7.5")
- ("1/2#" 0.05 "0.05" ".05" "50.0e-3")
+ ("1/2#" 0.05 "0.05" ".05" "50.0e-3" "5.e-002")
  ("1#/#" #f)
  ("1/" #f)
  ("1/+" #f)
-- 
1.7.6.msysgit.0


reply via email to

[Prev in Thread] Current Thread [Next in Thread]