diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2020-11-14 12:25:38 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2020-11-14 12:25:38 (GMT) |
commit | b3e4fc2a04cb66d7fb0e7e2acd6c078f7489364b (patch) | |
tree | 9d6f0a23786de578cd397e4e595b3544ccba6263 /tests/exec.test | |
parent | a22953bb77fe0c1b7c1ecaa9397dfc12cf5d0a54 (diff) | |
download | tcl-b3e4fc2a04cb66d7fb0e7e2acd6c078f7489364b.zip tcl-b3e4fc2a04cb66d7fb0e7e2acd6c078f7489364b.tar.gz tcl-b3e4fc2a04cb66d7fb0e7e2acd6c078f7489364b.tar.bz2 |
Fixed some tests, added trial macOS build
Diffstat (limited to 'tests/exec.test')
-rw-r--r-- | tests/exec.test | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/exec.test b/tests/exec.test index b07099b..af7aae5 100644 --- a/tests/exec.test +++ b/tests/exec.test @@ -24,7 +24,8 @@ package require tcltests # All tests require the "exec" command. # Skip them if exec is not defined. testConstraint exec [llength [info commands exec]] -testConstraint noosx [expr {![info exists ::env(TRAVIS_OSX_IMAGE)] || ![string match xcode* $::env(TRAVIS_OSX_IMAGE)]}] +# Some skips when running in a macOS CI environment +testConstraint noosxCI [expr {![info exists ::env(MAC_CI)]}] unset -nocomplain path @@ -671,7 +672,9 @@ test exec-18.2 {exec cat deals with weird file names} -body { # Note that this test cannot be adapted to work on Windows; that platform has # no kernel support for an analog of O_APPEND. OTOH, that means we can assume # that there is a POSIX shell... -test exec-19.1 {exec >> uses O_APPEND} -constraints {exec unix notValgrind noosx} -setup { +# +# This test also fails in some cases when building with macOS +test exec-19.1 {exec >> uses O_APPEND} -constraints {exec unix notValgrind noosxCI} -setup { set tmpfile [makeFile {0} tmpfile.exec-19.1] } -body { # Note that we have to allow for the current contents of the temporary |