From: John Benediktsson Date: Sun, 31 Jul 2022 03:07:58 +0000 (-0700) Subject: prettyprint: disable NAN unparse on linux/x86-32 X-Git-Tag: 0.99~1315 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=f6131749259f997b222b0cd44bd2b055a71cd39c prettyprint: disable NAN unparse on linux/x86-32 --- diff --git a/basis/prettyprint/prettyprint-tests.factor b/basis/prettyprint/prettyprint-tests.factor index c7a597104c..b7be39eb1a 100644 --- a/basis/prettyprint/prettyprint-tests.factor +++ b/basis/prettyprint/prettyprint-tests.factor @@ -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