Skip to content

Commit d856649

Browse files
author
jan.nijtmans
committed
Merge 8.5
Mark io-46.1 and io-50.5 as "notOSX", since they sometimes fail in Travis
2 parents 724de35 + 264c846 commit d856649

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,19 +119,19 @@ jobs:
119119
- BUILD_DIR=unix
120120
- CFGOPT="--enable-symbols=mem"
121121
# Testing on Mac, various styles
122-
- name: "macOS/Xcode 11.5/Shared"
122+
- name: "macOS/Xcode 11.7/Shared"
123123
os: osx
124-
osx_image: xcode11.5
124+
osx_image: xcode11.7
125125
env:
126126
- BUILD_DIR=macosx
127127
install: []
128128
script: &mactest
129129
- make all
130130
# The styles=develop avoids some weird problems on OSX
131131
- make test styles=develop
132-
- name: "macOS/Xcode 11.5/Shared/Unix-like"
132+
- name: "macOS/Xcode 11.7/Shared/Unix-like"
133133
os: osx
134-
osx_image: xcode11.5
134+
osx_image: xcode11.7
135135
env:
136136
- BUILD_DIR=unix
137137
# Older MacOS versions

tests/chanio.test

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ namespace eval ::tcl::test::io {
4444
testConstraint testmainthread [llength [info commands testmainthread]]
4545
testConstraint testservicemode [llength [info commands testservicemode]]
4646
testConstraint knownMsvcBug [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match windows $::env(TRAVIS_OS_NAME)]}]
47+
testConstraint notOSX [expr {$::tcl_platform(os) ne "Darwin"}]
4748

4849
# You need a *very* special environment to do some tests. In particular,
4950
# many file systems do not support large-files...
@@ -5721,7 +5722,7 @@ test chan-io-45.3 {DeleteFileEvent, cleanup on chan close} {fileevent} {
57215722

57225723
# Execute these tests only if the "testfevent" command is present.
57235724

5724-
test chan-io-46.1 {Tcl event loop vs multiple interpreters} {testfevent fileevent} {
5725+
test chan-io-46.1 {Tcl event loop vs multiple interpreters} {testfevent fileevent notOSX} {
57255726
testfevent create
57265727
set script "set f \[[list open $path(foo) r]]\n"
57275728
append script {
@@ -6479,7 +6480,7 @@ test chan-io-50.5 {testing handler deletion vs reentrant calls} -setup {
64796480
set f [open $path(test1) w]
64806481
chan close $f
64816482
update
6482-
} -constraints {testchannelevent testservicemode} -body {
6483+
} -constraints {testchannelevent testservicemode notOSX} -body {
64836484
proc notcalled {f} {
64846485
variable z
64856486
lappend z "notcalled was called!! $f"

tests/io.test

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ testConstraint testmainthread [llength [info commands testmainthread]]
4444
testConstraint testobj [llength [info commands testobj]]
4545
testConstraint testservicemode [llength [info commands testservicemode]]
4646
testConstraint knownMsvcBug [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match windows $::env(TRAVIS_OS_NAME)]}]
47+
testConstraint notOSX [expr {$::tcl_platform(os) ne "Darwin"}]
4748

4849
# You need a *very* special environment to do some tests. In
4950
# particular, many file systems do not support large-files...
@@ -6023,7 +6024,7 @@ test io-45.3 {DeleteFileEvent, cleanup on close} {fileevent} {
60236024

60246025
# Execute these tests only if the "testfevent" command is present.
60256026

6026-
test io-46.1 {Tcl event loop vs multiple interpreters} {testfevent fileevent} {
6027+
test io-46.1 {Tcl event loop vs multiple interpreters} {testfevent fileevent notOSX} {
60276028
testfevent create
60286029
set script "set f \[[list open $path(foo) r]]\n"
60296030
append script {
@@ -6831,7 +6832,7 @@ test io-50.4 {testing handler deletion vs reentrant calls} -constraints {testcha
68316832
} -cleanup {
68326833
close $f
68336834
} -result {{delrecursive calling recursive} {delrecursive deleting recursive}}
6834-
test io-50.5 {testing handler deletion vs reentrant calls} -constraints {testchannelevent testservicemode} -setup {
6835+
test io-50.5 {testing handler deletion vs reentrant calls} -constraints {testchannelevent testservicemode notOSX} -setup {
68356836
file delete $path(test1)
68366837
} -body {
68376838
set f [open $path(test1) w]

0 commit comments

Comments
 (0)