From 3bfb46688df438a9f547a3e56a44639bd66905c2 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Mon, 3 Jul 2023 13:46:54 +0000 Subject: Temporary disable tests io-7.3 and chanio-7.3, which fail in debug mode. Ticket [5be203d6ca] created. --- tests/chanio.test | 5 +++-- tests/io.test | 3 ++- tests/tcltests.tcl | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/chanio.test b/tests/chanio.test index c5d3aca..9dad818 100644 --- a/tests/chanio.test +++ b/tests/chanio.test @@ -1090,9 +1090,10 @@ test chan-io-7.2 {FilterInputBytes: split up character in middle of buffer} -bod } -cleanup { chan close $f } -result {10 1234567890 0} +# This testcase fails in "debug" builds. See: [] test chan-io-7.3 {FilterInputBytes: split up character at EOF} -setup { set x "" -} -constraints {testchannel} -body { +} -constraints {testchannel ndebug} -body { set f [open $path(test1) w] chan configure $f -encoding binary chan puts -nonewline $f "1234567890123\x82\x4F\x82\x50\x82" @@ -1104,7 +1105,7 @@ test chan-io-7.3 {FilterInputBytes: split up character at EOF} -setup { lappend x [chan gets $f line] $line } -cleanup { chan close $f -} -result [list 16 "123456789012301\x82" 18 0 1 -1 ""] +} -result [list 16 "123456789012301\x83" 18 0 1 -1 ""] test chan-io-7.4 {FilterInputBytes: recover from split up character} -setup { variable x "" } -constraints {stdio fileevent} -body { diff --git a/tests/io.test b/tests/io.test index ca636ce..ad68bf1 100644 --- a/tests/io.test +++ b/tests/io.test @@ -1124,7 +1124,8 @@ test io-7.2 {FilterInputBytes: split up character in middle of buffer} { close $f set x } [list 10 "1234567890" 0] -test io-7.3 {FilterInputBytes: split up character at EOF} {testchannel} { +# This testcase fails in "debug" builds. See: [5be203d6ca] +test io-7.3 {FilterInputBytes: split up character at EOF} {testchannel ndebug} { set f [open $path(test1) w] fconfigure $f -encoding binary puts -nonewline $f "1234567890123\x82\x4F\x82\x50\x82" diff --git a/tests/tcltests.tcl b/tests/tcltests.tcl index 61366a4..0cabaaa 100644 --- a/tests/tcltests.tcl +++ b/tests/tcltests.tcl @@ -8,6 +8,7 @@ namespace import ::tcltest::* testConstraint exec [llength [info commands exec]] testConstraint deprecated [expr {![tcl::build-info no-deprecate]}] testConstraint debug [tcl::build-info debug] +testConstraint ndebug [expr {![tcl::build-info debug]}] testConstraint purify [tcl::build-info purify] testConstraint debugpurify [ expr { -- cgit v0.12