Hello,
with the following patch the test suite is almost successfully:

Index: interpreter/runtime/Numerics.cpp
===================================================================
--- interpreter/runtime/Numerics.cpp<-->(revision 3828)
+++ interpreter/runtime/Numerics.cpp<-->(working copy)
@@ -50,6 +50,9 @@
 #include <limits.h>
.
 #ifdef __REXX64__
+#ifndef __INT64_C
+#  define __INT64_C(c)  c ## L
+#endif
 const wholenumber_t Numerics::MAX_WHOLENUMBER =
__INT64_C(999999999999999999);
 const wholenumber_t Numerics::MIN_WHOLENUMBER =
__INT64_C(-999999999999999999);
 const wholenumber_t Numerics::MAX_EXPONENT = __INT64_C(999999999999999999);


configure is called with:

export CC=xlc_r
export CXX=xlC_r
export LDFLAGS="-Wl,-brtl"
export OBJECT_MODE=64
export CFLAGS="-D__WORDSIZE=64"


----------- failures --------------------

Interpreter: REXX-ooRexx_4.0.0(MT) 6.03 30 Dec 2008
ooRexxUnit:  2.0.0_3.2.0        ooTest: 1.0.0_4.0.0

Tests ran:           18777
Assertions:          551047
Failures:            3
Errors:              0
Skipped files:       21

[failure] [20081230 09:33:06.875724]
  svn:    r3371   Change date: 2008-09-21 06:33:29 +0200
  Test:   TESTFLOAT01
  Class:  CONVERSION.testGroup
  File:   /daten/svn/ooRexx/test/trunk/ooRexx/API/oo/CONVERSION.testGroup
  Line:   871
  Failed: assertSame
    Expected: [[3.40282347E+38], identityHash="571635368"]
    Actual:   [[3.4028234663852886E+38], identityHash="592371406"]

[failure] [20081230 09:33:06.993658]
  svn:    r3371   Change date: 2008-09-21 06:33:29 +0200
  Test:   TESTFLOAT01
  Class:  FUNCTION.testGroup
  File:   /daten/svn/ooRexx/test/trunk/ooRexx/API/oo/FUNCTION.testGroup
  Line:   534
  Failed: assertSame
    Expected: [[3.40282347E+38], identityHash="571733066"]
    Actual:   [[3.4028234663852886E+38], identityHash="592579300"]

[failure] [20081230 09:33:07.112455]
  svn:    r3573   Change date: 2008-10-19 00:16:29 +0200
  Test:   TESTFLOAT01
  Class:  METHOD.testGroup
  File:   /daten/svn/ooRexx/test/trunk/ooRexx/API/oo/METHOD.testGroup
  Line:   658
  Failed: assertSame
    Expected: [[3.40282347E+38], identityHash="571618120"]
    Actual:   [[3.4028234663852886E+38], identityHash="592796862"]

File search:        00:00:17.331969
Suite construction: 00:00:06.779225
Test execution:     00:06:15.617452
Total time:         00:06:44.572291

All three failures are caused by a higher precession.

Bye
  Rainer


------------------------------------------------------------------------------
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to