From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <632d317ccb3c990217425103bdd2abb6.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199701291048.LAA07934@Magnum.> Date: Wed, 29 Jan 1997 11:48:59 +0100 (MET) From: Hermann Hueni Subject: tcl tests fail partially with Linux on DEC Alpha (fwd) I tried to configure/compile/test TCL 7.6 on a DEC Alpha 2016 machine running Linux version 2.0.18. Configure and compile work fine, but when running ``make test'' it does not work. Has anybody already fixed this? Please reply by EMail to hueni@glue.ch since I have not subscribed to axp-list@redhat.com. Thanks -- Hermann H"uni ________ __ ________________________________________________________ / ____/ / / / / / ____/ GLUE Software Engineering AG / / __/ / / / / / __/ Zieglerstr. 34, CH-3007 Bern, Switzerland / /_/ / /___/ /_/ / /___ Phone: (+41)31-3853011 Fax:(+41)31-3853018 \____/_____/\____/_____/______Email: hueni@glue.ch http://eniac.glue.ch/ ___________________________________________________________________________ ( echo cd ./../tests\; source all ) | ./tcltest append.test assocd.test async.test case.test clock.test cmdAH.test cmdInfo.test concat.test dcall.test dstring.test env.test error.test eval.test event.test ==== event-1.3 Tcl_DeleteFileHandler ==== Contents of test case: testfilehandler close testfilehandler create 2 disabled disabled testfilehandler create 1 readable writable testfilehandler create 0 disabled disabled testfilehandler fillpartial 1 set result "" testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler create 1 off off testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler close set result ==== Result was: {1 0} {2 0} {3 0} {0 0} ---- Result should have been: {0 1} {1 1} {1 2} {0 0} ---- event-1.3 FAILED ==== event-2.1 Tcl_DeleteFileHandler ==== Contents of test case: testfilehandler close testfilehandler create 2 disabled disabled testfilehandler create 1 readable writable testfilehandler fillpartial 1 set result "" testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler create 1 off off testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler close set result ==== Result was: {1 0} {2 0} {3 0} {0 0} ---- Result should have been: {0 1} {1 1} {1 2} {0 0} ---- event-2.1 FAILED ==== event-2.2 Tcl_DeleteFileHandler, fd reused & events still pending ==== Contents of test case: testfilehandler close testfilehandler create 0 readable writable testfilehandler fillpartial 0 set result "" testfilehandler oneevent lappend result [testfilehandler counts 0] testfilehandler close testfilehandler create 0 readable writable testfilehandler oneevent lappend result [testfilehandler counts 0] testfilehandler close set result ==== Result was: {1 0} {0 1} ---- Result should have been: {0 1} {0 0} ---- event-2.2 FAILED ==== event-4.1 FileHandlerEventProc, race between event and disabling ==== Contents of test case: testfilehandler close testfilehandler create 2 disabled disabled testfilehandler create 1 readable writable testfilehandler fillpartial 1 set result "" testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler create 1 disabled disabled testfilehandler oneevent lappend result [testfilehandler counts 1] testfilehandler close set result ==== Result was: {1 0} {2 0} {3 0} {0 0} ---- Result should have been: {0 1} {1 1} {1 2} {0 0} ---- event-4.1 FAILED ==== event-4.2 FileHandlerEventProc, TCL_FILE_EVENTS off ==== Contents of test case: testfilehandler close testfilehandler create 1 readable writable testfilehandler create 2 readable writable testfilehandler fillpartial 1 testfilehandler fillpartial 2 testfilehandler oneevent set result "" lappend result [testfilehandler counts 1] [testfilehandler counts 2] testfilehandler windowevent lappend result [testfilehandler counts 1] [testfilehandler counts 2] testfilehandler close set result ==== Result was: {0 0} {1 0} {0 0} {1 0} ---- Result should have been: {0 0} {0 1} {0 0} {0 1} ---- event-4.2 FAILED exec.test expr.test make: *** [test] Error 136 At this point, tcltest dumps core and gdb tells me this: GDB 4.16 (alpha-unknown-linux), Copyright 1996 Free Software Foundation, Inc... Core was generated by `./tcltest'. Program terminated with signal 8, Floating point exception. #0 0x120051218 in __ieee754_acos () (gdb) where #0 0x120051218 in __ieee754_acos () #1 0x12004e594 in __acos () #2 0x1200236f8 in ExprUnaryFunc () #3 0x120023498 in ExprMathFunc () #4 0x120021d14 in ExprLex () #5 0x120021da4 in ExprGetValue () #6 0x120022c50 in ExprTopLevel () #7 0x120022f94 in Tcl_ExprString () #8 0x120012ba8 in Tcl_ExprCmd () #9 0x120011234 in Tcl_Eval () #10 0x1200125f0 in Tcl_CatchCmd () #11 0x120011234 in Tcl_Eval () #12 0x12003ba18 in TclParseNestedCmd () at ./../generic/tclParse.c:428 #13 0x12003c004 in TclParseWords () at ./../generic/tclParse.c:705 #14 0x120010f5c in Tcl_Eval () #15 0x120040068 in Tcl_UplevelCmd () at ./../generic/tclProc.c:302 #16 0x120011234 in Tcl_Eval () #17 0x1200125f0 in Tcl_CatchCmd () #18 0x120011234 in Tcl_Eval () #19 0x12003ba18 in TclParseNestedCmd () at ./../generic/tclParse.c:428 #20 0x12003c004 in TclParseWords () at ./../generic/tclParse.c:705 #21 0x120010f5c in Tcl_Eval () #22 0x1200403cc in InterpProc () at ./../generic/tclProc.c:494 #23 0x120011234 in Tcl_Eval () #24 0x1200379cc in Tcl_EvalFile () at ./../generic/tclIOUtil.c:411 #25 0x12001a060 in Tcl_SourceCmd () #26 0x120011234 in Tcl_Eval () #27 0x1200125f0 in Tcl_CatchCmd () #28 0x120011234 in Tcl_Eval () #29 0x12003ba18 in TclParseNestedCmd () at ./../generic/tclParse.c:428 #30 0x12003c004 in TclParseWords () at ./../generic/tclParse.c:705 #31 0x120010f5c in Tcl_Eval () #32 0x1200148c4 in Tcl_ForeachCmd () #33 0x120011234 in Tcl_Eval () #34 0x1200379cc in Tcl_EvalFile () at ./../generic/tclIOUtil.c:411 #35 0x12001a060 in Tcl_SourceCmd () #36 0x120011234 in Tcl_Eval () #37 0x1200292a0 in Tcl_RecordAndEval () #38 0x12003ac68 in Tcl_Main () #39 0x12000b11c in main () at ./tclAppInit.c:52 (gdb) -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com