[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] disable failing test on Windows
From: |
Felix |
Subject: |
[Chicken-hackers] 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.
cheers,
felix
>From 49c4bafe8d2f8fa089ec0245e3e14b9d70e8a551 Mon Sep 17 00:00:00 2001
From: felix <address@hidden>
Date: Wed, 12 Oct 2011 10:01:18 +0200
Subject: [PATCH 1/4] disable test which fails on Windows due to different
floating-point output format.
---
tests/numbers-string-conversion-tests.scm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tests/numbers-string-conversion-tests.scm
b/tests/numbers-string-conversion-tests.scm
index 0e27466..a8a057f 100644
--- a/tests/numbers-string-conversion-tests.scm
+++ b/tests/numbers-string-conversion-tests.scm
@@ -194,7 +194,8 @@
("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")
+; XXX Disabled, because it fails on Windows
+; ("1/2#" 0.05 "0.05" ".05" "50.0e-3")
("1#/#" #f)
("1/" #f)
("1/+" #f)
--
1.7.6.msysgit.0
- [Chicken-hackers] disable failing test on Windows,
Felix <=