summaryrefslogtreecommitdiffstats
path: root/tests/chanio.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-11 22:01:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-11 22:01:41 (GMT)
commit2160b3cc72a88c261c5428c041546cd131e5993c (patch)
tree8992f5592a505a6497e208f74c5758bb90734170 /tests/chanio.test
parent1d102e2c6a536d86052bc37328897b26bd488858 (diff)
downloadtcl-2160b3cc72a88c261c5428c041546cd131e5993c.zip
tcl-2160b3cc72a88c261c5428c041546cd131e5993c.tar.gz
tcl-2160b3cc72a88c261c5428c041546cd131e5993c.tar.bz2
Mark 3 testcases as knownMsvcBug. See: [e484a8407cb9ec45]: pipe: time-related sporadic hangs in io/chan-io tests
Diffstat (limited to 'tests/chanio.test')
-rw-r--r--tests/chanio.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/chanio.test b/tests/chanio.test
index 230d37c..43da3f3 100644
--- a/tests/chanio.test
+++ b/tests/chanio.test
@@ -43,6 +43,7 @@ namespace eval ::tcl::test::io {
testConstraint testfevent [llength [info commands testfevent]]
testConstraint testchannelevent [llength [info commands testchannelevent]]
testConstraint testmainthread [llength [info commands testmainthread]]
+ testConstraint knownMsvcBug [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match windows $::env(TRAVIS_OS_NAME)]}]
# You need a *very* special environment to do some tests. In particular,
# many file systems do not support large-files...
@@ -2790,7 +2791,7 @@ test chan-io-29.34 {Tcl_Chan Close, async flush on chan close, using sockets} -s
chan puts $s $l
}
}
-} -constraints {socket tempNotMac fileevent} -body {
+} -constraints {socket tempNotMac fileevent knownMsvcBug} -body {
proc accept {s a p} {
variable x
chan event $s readable [namespace code [list readit $s]]