summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-02 12:51:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-02 12:51:01 (GMT)
commitd85664964af316638cdc58447d33bc4b0ecd2366 (patch)
treebee6822314d0004e0705806e3385e0cc1afdca98 /tests/io.test
parent724de352e37dd0fe795024353378cd662593b4a6 (diff)
parent264c84606b485bb031fbd8ac6b3eba23938b0d7f (diff)
downloadtcl-d85664964af316638cdc58447d33bc4b0ecd2366.zip
tcl-d85664964af316638cdc58447d33bc4b0ecd2366.tar.gz
tcl-d85664964af316638cdc58447d33bc4b0ecd2366.tar.bz2
Merge 8.5
Mark io-46.1 and io-50.5 as "notOSX", since they sometimes fail in Travis
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/io.test b/tests/io.test
index 2dc1715..1df017a 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -44,6 +44,7 @@ testConstraint testmainthread [llength [info commands testmainthread]]
testConstraint testobj [llength [info commands testobj]]
testConstraint testservicemode [llength [info commands testservicemode]]
testConstraint knownMsvcBug [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match windows $::env(TRAVIS_OS_NAME)]}]
+testConstraint notOSX [expr {$::tcl_platform(os) ne "Darwin"}]
# You need a *very* special environment to do some tests. In
# particular, many file systems do not support large-files...
@@ -6023,7 +6024,7 @@ test io-45.3 {DeleteFileEvent, cleanup on close} {fileevent} {
# Execute these tests only if the "testfevent" command is present.
-test io-46.1 {Tcl event loop vs multiple interpreters} {testfevent fileevent} {
+test io-46.1 {Tcl event loop vs multiple interpreters} {testfevent fileevent notOSX} {
testfevent create
set script "set f \[[list open $path(foo) r]]\n"
append script {
@@ -6831,7 +6832,7 @@ test io-50.4 {testing handler deletion vs reentrant calls} -constraints {testcha
} -cleanup {
close $f
} -result {{delrecursive calling recursive} {delrecursive deleting recursive}}
-test io-50.5 {testing handler deletion vs reentrant calls} -constraints {testchannelevent testservicemode} -setup {
+test io-50.5 {testing handler deletion vs reentrant calls} -constraints {testchannelevent testservicemode notOSX} -setup {
file delete $path(test1)
} -body {
set f [open $path(test1) w]