summaryrefslogtreecommitdiffstats
path: root/tests/ioCmd.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-29 15:35:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-29 15:35:09 (GMT)
commit4a3d06786b316f740dfdd4a7b41b751e9d155d66 (patch)
treec9eca3b204e5cd970e2d8a645346932594f7c710 /tests/ioCmd.test
parent29b6cb48013e77d8ca911bdbdc7361a1a551f300 (diff)
downloadtcl-4a3d06786b316f740dfdd4a7b41b751e9d155d66.zip
tcl-4a3d06786b316f740dfdd4a7b41b751e9d155d66.tar.gz
tcl-4a3d06786b316f740dfdd4a7b41b751e9d155d66.tar.bz2
Enable testcases on Visual Studio builds. Disable some test-cases on Travis, which are known to fail.
Diffstat (limited to 'tests/ioCmd.test')
-rw-r--r--tests/ioCmd.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ioCmd.test b/tests/ioCmd.test
index 057a869..460299b 100644
--- a/tests/ioCmd.test
+++ b/tests/ioCmd.test
@@ -22,6 +22,7 @@ if {[lsearch [namespace children] ::tcltest] == -1} {
testConstraint fcopy [llength [info commands fcopy]]
testConstraint testchannel [llength [info commands testchannel]]
testConstraint testthread [llength [info commands testthread]]
+testConstraint knownMsvcBug [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match windows $::env(TRAVIS_OS_NAME)]}]
#----------------------------------------------------------------------
@@ -754,7 +755,7 @@ test iocmd-21.19 {chan create, init failure -> no channel, no finalize} -match g
rename foo {}
set res
} -result {{} {initialize rc* {read write}} 1 {*all required methods*} {}}
-test iocmd-21.20 {Bug 88aef05cda} -setup {
+test iocmd-21.20 {Bug 88aef05cda} -constraints knownMsvcBug -setup {
proc foo {method chan args} {
switch -- $method blocking {
chan configure $chan -blocking [lindex $args 0]