Tcl Source Code

Artifact [c7f56af252]
Login

Artifact c7f56af2522a50540e80c7378afb59207a33b5d8:

Attachment "tcl_test_irix.out" to ticket [2352003fff] added by jasp1 2008-11-27 02:45:48.
LD_LIBRARY_PATH="`pwd`:${LD_LIBRARY_PATH}"; export LD_LIBRARY_PATH; \
	TCL_LIBRARY="/appl/local_sde_dev/src/TclTk/TclTk-2008-11-26/mips-IRIX64-6.5/tcl8.5.5/library"; export TCL_LIBRARY; \
	./tcltest /appl/local_sde_dev/src/TclTk/TclTk-2008-11-26/mips-IRIX64-6.5/tcl8.5.5/unix/../tests/all.tcl 
Tests running in interp:  /appl/local_sde_dev/src/TclTk/TclTk-2008-11-26/mips-IRIX64-6.5/tcl8.5.5/unix/tcltest
Tests located in:  /appl/local_sde_dev/src/TclTk/TclTk-2008-11-26/mips-IRIX64-6.5/tcl8.5.5/tests
Tests running in:  /appl/local_sde_dev/src/TclTk/TclTk-2008-11-26/mips-IRIX64-6.5/tcl8.5.5/unix
Temporary files stored in /appl/local_sde_dev/src/TclTk/TclTk-2008-11-26/mips-IRIX64-6.5/tcl8.5.5/unix
Test files run in separate interpreters
Running tests that match:  *
Skipping test files that match:  l.*.test
Only running test files that match:  *.test
Tests began at Wed Nov 26 12:04:21 MST 2008
append.test
appendComp.test
apply.test
assocd.test
async.test
autoMkindex.test
basic.test
binary.test


==== binary-40.3 ScanNumber: NaN FAILED
==== Contents of test case:

	catch {unset arg1}
	list [binary scan \xff\xff\xff\xff f1 arg1] $arg1
    
---- Result was:
1 NaN(7ffffffffffff)
---- Result should have been (glob matching):
1 -NaN*
==== binary-40.3 FAILED

case.test
chan.test
chanio.test
clock.test


==== clock-40.1 regression - bad month with -timezone :localtime FAILED
==== Contents of test case:

	clock scan 2000-01-01T00:00:00 -timezone :localtime  -format %Y-%m-%dT%H:%M:%S
    
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: time value too large/small to represent
    while executing
"::tcl::clock::ConvertLocalToUTC $date[set date {}]  $TZData($timeZone)  $changeover"
    (procedure "::tcl::clock::scanproc'%Y-%m-%dT%H:%M:%S'c" line 32)
    invoked from within
"$scanner $string $base $timezone"
    (procedure "::tcl::clock::scan" line 82)
    invoked from within
"clock scan 2000-01-01T00:00:00 -timezone :localtime  -format %Y-%m-%dT%H:%M:%S"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== clock-40.1 FAILED

cmdAH.test
cmdIL.test
cmdInfo.test
cmdMZ.test
compExpr-old.test
compExpr.test
compile.test
concat.test
config.test
dcall.test
dict.test
dstring.test
encoding.test
env.test
error.test
eval.test
event.test
exec.test
execute.test
expr-old.test
expr.test


==== expr-27.1 expr - correct ordering - not compiled FAILED
==== Contents of test case:

    set problems {}
    # Ordering should be: -Infinity < -Normal < Subnormal < -0
    #                     < +0 < +Subnormal < +Normal < +Infinity
    # with equality within each class.
    set names {
	-Infinity -Normal -Subnormal -0 +0 +Subnormal +Normal +Infinity
    }
    set weights {
	-3 -2 -1 0 0 1 2 3
    }
    foreach name1 $names weight1 $weights {
	foreach name2 $names weight2 $weights {
	    foreach op {< <= == != >= >} {
		set shouldBe [expr "$weight1 $op $weight2"]
		set is [expr "\$ieeeValues($name1) $op \$ieeeValues($name2)"]
		if { $is != $shouldBe } {
		    append problems $name1 { } $op { } $name2  ":result is " $is ", should be $shouldBe" \n
		}
	    }
	}
    }
    set problems

---- Result was:
-Subnormal < -0:result is 0, should be 1
-Subnormal == -0:result is 1, should be 0
-Subnormal != -0:result is 0, should be 1
-Subnormal >= -0:result is 1, should be 0
-Subnormal < +0:result is 0, should be 1
-Subnormal == +0:result is 1, should be 0
-Subnormal != +0:result is 0, should be 1
-Subnormal >= +0:result is 1, should be 0
-Subnormal < +Subnormal:result is 0, should be 1
-Subnormal == +Subnormal:result is 1, should be 0
-Subnormal != +Subnormal:result is 0, should be 1
-Subnormal >= +Subnormal:result is 1, should be 0
-0 <= -Subnormal:result is 1, should be 0
-0 == -Subnormal:result is 1, should be 0
-0 != -Subnormal:result is 0, should be 1
-0 > -Subnormal:result is 0, should be 1
-0 < +Subnormal:result is 0, should be 1
-0 == +Subnormal:result is 1, should be 0
-0 != +Subnormal:result is 0, should be 1
-0 >= +Subnormal:result is 1, should be 0
+0 <= -Subnormal:result is 1, should be 0
+0 == -Subnormal:result is 1, should be 0
+0 != -Subnormal:result is 0, should be 1
+0 > -Subnormal:result is 0, should be 1
+0 < +Subnormal:result is 0, should be 1
+0 == +Subnormal:result is 1, should be 0
+0 != +Subnormal:result is 0, should be 1
+0 >= +Subnormal:result is 1, should be 0
+Subnormal <= -Subnormal:result is 1, should be 0
+Subnormal == -Subnormal:result is 1, should be 0
+Subnormal != -Subnormal:result is 0, should be 1
+Subnormal > -Subnormal:result is 0, should be 1
+Subnormal <= -0:result is 1, should be 0
+Subnormal == -0:result is 1, should be 0
+Subnormal != -0:result is 0, should be 1
+Subnormal > -0:result is 0, should be 1
+Subnormal <= +0:result is 1, should be 0
+Subnormal == +0:result is 1, should be 0
+Subnormal != +0:result is 0, should be 1
+Subnormal > +0:result is 0, should be 1

---- Result should have been (exact matching):

==== expr-27.1 FAILED



==== expr-27.2 expr - correct ordering - compiled FAILED
==== Contents of test case:

    set problems {}
    # Ordering should be: -Infinity < -Normal < Subnormal < -0
    #                     < +0 < +Subnormal < +Normal < +Infinity
    # with equality within each class.
    set names {
	-Infinity -Normal -Subnormal -0 +0 +Subnormal +Normal +Infinity
    }
    set weights {
	-3 -2 -1 0 0 1 2 3
    }
    foreach name1 $names weight1 $weights {
	foreach name2 $names weight2 $weights {
	    foreach op {< <= == != >= >} {
		set shouldBe [expr "$weight1 $op $weight2"]
		set is [test$op $ieeeValues($name1) $ieeeValues($name2)]
		if { $is != $shouldBe } {
		    append problems $name1 { } $op { } $name2  ":result is " $is ", should be $shouldBe" \n
		}
	    }
	}
    }
    set problems

---- Result was:
-Subnormal < -0:result is 0, should be 1
-Subnormal == -0:result is 1, should be 0
-Subnormal != -0:result is 0, should be 1
-Subnormal >= -0:result is 1, should be 0
-Subnormal < +0:result is 0, should be 1
-Subnormal == +0:result is 1, should be 0
-Subnormal != +0:result is 0, should be 1
-Subnormal >= +0:result is 1, should be 0
-Subnormal < +Subnormal:result is 0, should be 1
-Subnormal == +Subnormal:result is 1, should be 0
-Subnormal != +Subnormal:result is 0, should be 1
-Subnormal >= +Subnormal:result is 1, should be 0
-0 <= -Subnormal:result is 1, should be 0
-0 == -Subnormal:result is 1, should be 0
-0 != -Subnormal:result is 0, should be 1
-0 > -Subnormal:result is 0, should be 1
-0 < +Subnormal:result is 0, should be 1
-0 == +Subnormal:result is 1, should be 0
-0 != +Subnormal:result is 0, should be 1
-0 >= +Subnormal:result is 1, should be 0
+0 <= -Subnormal:result is 1, should be 0
+0 == -Subnormal:result is 1, should be 0
+0 != -Subnormal:result is 0, should be 1
+0 > -Subnormal:result is 0, should be 1
+0 < +Subnormal:result is 0, should be 1
+0 == +Subnormal:result is 1, should be 0
+0 != +Subnormal:result is 0, should be 1
+0 >= +Subnormal:result is 1, should be 0
+Subnormal <= -Subnormal:result is 1, should be 0
+Subnormal == -Subnormal:result is 1, should be 0
+Subnormal != -Subnormal:result is 0, should be 1
+Subnormal > -Subnormal:result is 0, should be 1
+Subnormal <= -0:result is 1, should be 0
+Subnormal == -0:result is 1, should be 0
+Subnormal != -0:result is 0, should be 1
+Subnormal > -0:result is 0, should be 1
+Subnormal <= +0:result is 1, should be 0
+Subnormal == +0:result is 1, should be 0
+Subnormal != +0:result is 0, should be 1
+Subnormal > +0:result is 0, should be 1

---- Result should have been (exact matching):

==== expr-27.2 FAILED



==== expr-28.72 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN -5547 E-311 x -13f190452a29f4_000000000000000001& E-1021
    convertToDouble -5547E-311

---- Result was:
0x8023f190452a29f3
---- Result should have been (exact matching):
0x8023f190452a29f4
==== expr-28.72 FAILED



==== expr-28.126 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN +87575437 E-310 x 1805c19e680456_0000000000000000000000000000000000001& E-1004
    convertToDouble +87575437E-310

---- Result was:
0x013805c19e680455
---- Result should have been (exact matching):
0x013805c19e680456
==== expr-28.126 FAILED



==== expr-28.139 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN -175150874 E-310 x -1805c19e680456_0000000000000000000000000000000000001& E-1003
    convertToDouble -175150874E-310

---- Result was:
0x814805c19e680455
---- Result should have been (exact matching):
0x814805c19e680456
==== expr-28.139 FAILED



==== expr-28.140 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN +350301748 E-310 x 1805c19e680456_0000000000000000000000000000000000001& E-1002
    convertToDouble +350301748E-310

---- Result was:
0x015805c19e680455
---- Result should have been (exact matching):
0x015805c19e680456
==== expr-28.140 FAILED



==== expr-28.141 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN -437877185 E-311 x -1805c19e680456_0000000000000000000000000000000000001& E-1005
    convertToDouble -437877185E-311

---- Result was:
0x812805c19e680455
---- Result should have been (exact matching):
0x812805c19e680456
==== expr-28.141 FAILED



==== expr-28.163 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN +23792120709 E-315 x 10b517dc5d3212_00000000000000000000000000000000000000001& E-1012
    convertToDouble +23792120709E-315

---- Result was:
0x00b0b517dc5d3211
---- Result should have been (exact matching):
0x00b0b517dc5d3212
==== expr-28.163 FAILED



==== expr-28.187 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN -7247563029154 E-319 x -10493f056e9ef3_0000000000000000000000000000000000000000000000001& E-1017
    convertToDouble -7247563029154E-319

---- Result was:
0x8060493f056e9ef2
---- Result should have been (exact matching):
0x8060493f056e9ef3
==== expr-28.187 FAILED



==== expr-28.188 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN +3623781514577 E-319 x 10493f056e9ef3_0000000000000000000000000000000000000000000000001& E-1018
    convertToDouble +3623781514577E-319

---- Result was:
0x0050493f056e9ef2
---- Result should have been (exact matching):
0x0050493f056e9ef3
==== expr-28.188 FAILED



==== expr-28.286 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN +36992084760177624177 E-318 x 18c5f9551c2f99_111111111111111111111111111111111111111111111111111111111111111111111110& E-992
    convertToDouble +36992084760177624177E-318

---- Result was:
0x01f8c5f9551c2f97
---- Result should have been (exact matching):
0x01f8c5f9551c2f9a
==== expr-28.286 FAILED



==== expr-28.287 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN -73984169520355248354 E-318 x -18c5f9551c2f99_111111111111111111111111111111111111111111111111111111111111111111111110& E-991
    convertToDouble -73984169520355248354E-318

---- Result was:
0x8208c5f9551c2f97
---- Result should have been (exact matching):
0x8208c5f9551c2f9a
==== expr-28.287 FAILED



==== expr-28.313 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN -21 E-303 x -1ccd59caa6a750_10000000001& E-1003
    convertToDouble -21E-303

---- Result was:
0x814ccd59caa6a750
---- Result should have been (exact matching):
0x814ccd59caa6a751
==== expr-28.313 FAILED



==== expr-28.392 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN -78493654 E-301 x -140d76077b648e_10000000000000000000000000000001& E-974
    convertToDouble -78493654E-301

---- Result was:
0x83140d76077b648e
---- Result should have been (exact matching):
0x83140d76077b648f
==== expr-28.392 FAILED



==== expr-28.404 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN +525452622 E-310 x 12045136ce0340_1000000000000000000000000000000000001& E-1001
    convertToDouble +525452622E-310

---- Result was:
0x0162045136ce0340
---- Result should have been (exact matching):
0x0162045136ce0341
==== expr-28.404 FAILED



==== expr-28.407 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN -262726311 E-310 x -12045136ce0340_1000000000000000000000000000000000001& E-1002
    convertToDouble -262726311E-310

---- Result was:
0x8152045136ce0340
---- Result should have been (exact matching):
0x8152045136ce0341
==== expr-28.407 FAILED



==== expr-28.429 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN -47584241418 E-314 x -14e25dd3747e96_10000000000000000000000000000000000000001& E-1008
    convertToDouble -47584241418E-314

---- Result was:
0x80f4e25dd3747e96
---- Result should have been (exact matching):
0x80f4e25dd3747e97
==== expr-28.429 FAILED



==== expr-28.520 input floating-point conversion FAILED
==== Contents of test case:

    # Ad2b d UN +647761278967534239 E-312 x 1a7a2476ec0b3e_10000000000000000000000000000000000000000000000000000000000000001& E-978
    convertToDouble +647761278967534239E-312

---- Result was:
0x02da7a2476ec0b3c
---- Result should have been (exact matching):
0x02da7a2476ec0b3f
==== expr-28.520 FAILED



==== expr-29.1 smallest representible number FAILED
==== Contents of test case:

    list [catch {convertToDouble 4.9406564584124654e-324} result]  $result  [catch {convertToDouble 2.4703282292062327e-324} result]  $result  [catch {convertToDouble 2.47032822920623e-324} result]  $result

---- Result was:
0 0x0000000000000000 0 0x0000000000000000 0 0x0000000000000000
---- Result should have been (exact matching):
0 0x0000000000000001 0 0x0000000000000001 0 0x0000000000000000
==== expr-29.1 FAILED



==== expr-29.2 smallest representible number FAILED
==== Contents of test case:

    list [catch {convertToDouble -4.9406564584124654e-324} result]  $result  [catch {convertToDouble -2.4703282292062327e-324} result]  $result  [catch {convertToDouble -2.47032822920623e-324} result]  $result

---- Result was:
0 0x8000000000000000 0 0x8000000000000000 0 0x8000000000000000
---- Result should have been (exact matching):
0 0x8000000000000001 0 0x8000000000000001 0 0x8000000000000000
==== expr-29.2 FAILED



==== expr-42.1 denormals FAILED
==== Contents of test case:

    expr 7e-324

---- Result was:
0.0
---- Result should have been (exact matching):
5e-324
==== expr-42.1 FAILED

fCmd.test
fileName.test
fileSystem.test
for-old.test
for.test
foreach.test
format.test
get.test
history.test
http.test
httpold.test
if-old.test
if.test
incr-old.test
incr.test
indexObj.test
info.test
init.test
:	Total	25	Passed	25	Skipped	0	Failed	0
interp.test
io.test
ioCmd.test
ioUtil.test
iogt.test
join.test
lindex.test
link.test
linsert.test
list.test
listObj.test
llength.test
load.test
lrange.test
lrepeat.test
lreplace.test
lsearch.test
lset.test
lsetComp.test
macOSXFCmd.test
macOSXLoad.test
main.test
mathop.test
misc.test
msgcat.test
namespace-old.test
namespace.test
notify.test
obj.test
opt.test
package.test
parse.test
parseExpr.test
parseOld.test
pid.test
pkg.test
:	Total	384	Passed	384	Skipped	0	Failed	0
pkgMkIndex.test
platform.test
proc-old.test
proc.test
pwd.test
reg.test
regexp.test
regexpComp.test
registry.test
rename.test
result.test
safe.test
scan.test
security.test
set-old.test
set.test
socket.test
source.test
split.test
stack.test
string.test
stringComp.test
stringObj.test
subst.test
switch.test
tcltest.test
thread.test
timer.test
tm.test
trace.test
unixFCmd.test
unixFile.test
unixInit.test
unixNotfy.test
unknown.test
unload.test
uplevel.test
upvar.test
utf.test
util.test
var.test
while-old.test
while.test
winConsole.test
winDde.test
winFCmd.test
winFile.test
winNotify.test
winPipe.test
winTime.test

Tests ended at Wed Nov 26 12:09:06 MST 2008
all.tcl:	Total	24296	Passed	23171	Skipped	1102	Failed	23
Sourced 137 Test Files.
Files with failing tests: binary.test clock.test expr.test
Number of tests skipped for each constraint:
	9	!ieeeFloatingPoint
	2	95or98
	3	asyncPipeChan
	4	dontCopyLinks
	61	emptyTest
	2	hasIsoLocale
	1	impossible
	29	knownBug
	2	largefileSupport
	77	littleEndian
	100	localeRegexp
	12	longIs64bit
	14	macosxFileAttr
	16	memory
	42	nonPortable
	5	notNetworkFilesystem
	8	nt
	4	readonlyAttr
	1	testWinCPUID
	7	testaccessproc
	1	testexprparser && !ieeeFloatingPoint
	8	testopenfilechannelproc
	7	teststatproc
	124	testthread
	1	testwinclock
	21	testwordend
	3	threaded
	3	unknownFailure
	524	win