Skip to content

Commit ebff38e

Browse files
author
jan.nijtmans
committed
Merge 8.6
2 parents 4cdb042 + d856649 commit ebff38e

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.travis.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -134,24 +134,24 @@ jobs:
134134
- BUILD_DIR=unix
135135
- CFGOPT="--enable-symbols=mem"
136136
# Testing on Mac, various styles
137-
- name: "macOS/Clang/Xcode 11.5/Shared"
137+
- name: "macOS/Clang/Xcode 11.7/Shared"
138138
os: osx
139-
osx_image: xcode11.5
139+
osx_image: xcode11.7
140140
env:
141141
- BUILD_DIR=macosx
142142
install: []
143143
script: &mactest
144144
- make all
145145
# The styles=develop avoids some weird problems on OSX
146146
- make test styles=develop
147-
- name: "macOS/Clang/Xcode 11.5/Shared/Unix-like"
147+
- name: "macOS/Clang/Xcode 11.7/Shared/Unix-like"
148148
os: osx
149-
osx_image: xcode11.5
149+
osx_image: xcode11.7
150150
env:
151151
- BUILD_DIR=unix
152-
- name: "macOS/Clang/Xcode 11.5/Shared/libtommath"
152+
- name: "macOS/Clang/Xcode 11.7/Shared/libtommath"
153153
os: osx
154-
osx_image: xcode11.5
154+
osx_image: xcode11.7
155155
env:
156156
- BUILD_DIR=macosx
157157
install: []
@@ -160,9 +160,9 @@ jobs:
160160
homebrew:
161161
packages:
162162
- libtommath
163-
- name: "macOS/Clang++/Xcode 11.5/Shared"
163+
- name: "macOS/Clang++/Xcode 11.7/Shared"
164164
os: osx
165-
osx_image: xcode11.5
165+
osx_image: xcode11.7
166166
env:
167167
- BUILD_DIR=unix
168168
- CFGOPT="CC=clang++ --enable-framework CFLAGS=-Dregister=dont+use+register CPPFLAGS=-D__private_extern__=extern"

tests/chanio.test

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ namespace eval ::tcl::test::io {
4343
testConstraint testmainthread [llength [info commands testmainthread]]
4444
testConstraint testservicemode [llength [info commands testservicemode]]
4545
testConstraint knownMsvcBug [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match windows $::env(TRAVIS_OS_NAME)]}]
46+
testConstraint notOSX [expr {$::tcl_platform(os) ne "Darwin"}]
4647

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

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

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

tests/io.test

+3-2
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...
@@ -6087,7 +6088,7 @@ test io-45.3 {DeleteFileEvent, cleanup on close} {fileevent} {
60876088

60886089
# Execute these tests only if the "testfevent" command is present.
60896090

6090-
test io-46.1 {Tcl event loop vs multiple interpreters} {testfevent fileevent} {
6091+
test io-46.1 {Tcl event loop vs multiple interpreters} {testfevent fileevent notOSX} {
60916092
testfevent create
60926093
set script "set f \[[list open $path(foo) r]]\n"
60936094
append script {
@@ -6895,7 +6896,7 @@ test io-50.4 {testing handler deletion vs reentrant calls} -constraints {testcha
68956896
} -cleanup {
68966897
close $f
68976898
} -result {{delrecursive calling recursive} {delrecursive deleting recursive}}
6898-
test io-50.5 {testing handler deletion vs reentrant calls} -constraints {testchannelevent testservicemode} -setup {
6899+
test io-50.5 {testing handler deletion vs reentrant calls} -constraints {testchannelevent testservicemode notOSX} -setup {
68996900
file delete $path(test1)
69006901
} -body {
69016902
set f [open $path(test1) w]

0 commit comments

Comments
 (0)