]> gitweb.factorcode.org Git - factor.git/commitdiff
prettyprint: disable NAN unparse on linux/x86-32
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 31 Jul 2022 03:07:58 +0000 (20:07 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 31 Jul 2022 03:08:21 +0000 (20:08 -0700)
basis/prettyprint/prettyprint-tests.factor

index c7a597104cc13aa0a15edab6f349a9bafd8b7337..b7be39eb1a96555b5e73d4534cb460f9cc810ecd 100644 (file)
@@ -4,7 +4,7 @@ eval generic generic.standard hashtables io io.streams.duplex
 io.streams.string kernel listener make math namespaces parser
 prettyprint prettyprint.backend prettyprint.config prettyprint.private
 prettyprint.sections see sequences splitting
-strings tools.continuations tools.continuations.private
+strings system tools.continuations tools.continuations.private
 tools.test vectors vocabs.parser words ;
 IN: prettyprint.tests
 
@@ -23,7 +23,11 @@ IN: prettyprint.tests
 { "-1/0." } [ -1/0. unparse ] unit-test
 { "0/0." } [ 0/0. unparse ] unit-test
 { "-0/0." } [ -0/0. unparse ] unit-test
-{ "NAN: 123" } [ NAN: 123 unparse ] unit-test
+
+! XXX: disabling on linux/x86.32
+os linux? cpu x86.32? and [
+    { "NAN: 123" } [ NAN: 123 unparse ] unit-test
+] unless
 { "NAN: -123" } [ NAN: -123 unparse ] unit-test
 
 { "+" } [ \ + unparse ] unit-test