Tcl Source Code

View Ticket
Login
Ticket UUID: 958919
Title: delete "nonPortable" from binary.test
Type: Patch Created on: 2004-05-23 13:56:54
Submitter: aotto1968 Assigned to: dkf
Subsystem: 12. ByteArray Object Severity:
Priority: 5 Medium Last modified: 2004-05-25 15:52:43
Status: Closed Closed by: dkf
Resolution: Wont Fix Closed on: 2004-05-25 08:52:43
Version: None
Description:
Hi, 
 
  binary.test includes a couple of "nonPortable" 
  tests. these tests test only littel/big Endian 
  issues. I add two constraints (big|littel)Endian. 
 
  checked on linux x86 (littelEndian), mac OS X 
  ppc (bigEndian) and Windows SFU 
 
 
mfg 
 
  aotto
User Comments:
aotto1968 added on 2004-05-23 20:56:54:

File Added - 88110: patch

dgp added on 2004-05-24 07:56:34:
Logged In: YES 
user_id=80530

passing to bytearray maintainer.

dkf added on 2004-05-25 15:45:13:
Logged In: YES 
user_id=79902

Already fixed.  The only nonPortable tests (in the HEAD) at
the moment are those relating to NaN which really are
non-portable because NaN handling is inherently (and
annoyingly) non-portable.

I've no intention of back-porting any changes as they are
not leading to test failures.

dkf added on 2004-05-25 15:52:17:
Logged In: YES 
user_id=79902

Correction, I see what you're trying to do with the patch,
but NaN handling is *still* non-portable on other Unixes. 
There are some really horribly awful C libraries out there.
 (I actually suspect that anything involving a float or
double might be non-portable on some of the stranger
(non-IEEE) platforms, but I'm prepared to wait for the bug
reports for those.)

As I said, given that these are not test failures,
backporting is a very low-priority issue.  The HEAD test
suite is correctly constrained according to these principles
(except for the NaN issue, which really needs someone to fix
generally throughout the core.)

Attachments: