summaryrefslogtreecommitdiffstats
path: root/tests/winTime.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2020-11-14 12:25:38 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2020-11-14 12:25:38 (GMT)
commitb3e4fc2a04cb66d7fb0e7e2acd6c078f7489364b (patch)
tree9d6f0a23786de578cd397e4e595b3544ccba6263 /tests/winTime.test
parenta22953bb77fe0c1b7c1ecaa9397dfc12cf5d0a54 (diff)
downloadtcl-b3e4fc2a04cb66d7fb0e7e2acd6c078f7489364b.zip
tcl-b3e4fc2a04cb66d7fb0e7e2acd6c078f7489364b.tar.gz
tcl-b3e4fc2a04cb66d7fb0e7e2acd6c078f7489364b.tar.bz2
Fixed some tests, added trial macOS build
Diffstat (limited to 'tests/winTime.test')
-rw-r--r--tests/winTime.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/winTime.test b/tests/winTime.test
index 19e4c58..68be966 100644
--- a/tests/winTime.test
+++ b/tests/winTime.test
@@ -19,7 +19,9 @@ if {"::tcltest" ni [namespace children]} {
catch [list package require -exact Tcltest [info patchlevel]]
testConstraint testwinclock [llength [info commands testwinclock]]
-testConstraint knownMsvcBug [expr {![info exists ::env(TRAVIS_OS_NAME)] || ![string match windows $::env(TRAVIS_OS_NAME)]}]
+# Some things fail under all Continuous Integration systems for subtle reasons
+# such as CI often running with elevated privileges in a container.
+testConstraint notInCIenv [expr {![info exists ::env(CI)]}]
# The next two tests will crash on Windows if the check for negative
# clock values is not done properly.
@@ -41,7 +43,7 @@ test winTime-1.2 {TclpGetDate} {win} {
# with the Windows clock. 30 sec really isn't enough,
# but how much time does a tester have patience for?
-test winTime-2.1 {Synchronization of Tcl and Windows clocks} {testwinclock knownMsvcBug} {
+test winTime-2.1 {Synchronization of Tcl and Windows clocks} {testwinclock notInCIenv} {
# May fail due to OS/hardware discrepancies. See:
# http://support.microsoft.com/default.aspx?scid=kb;en-us;274323
set failed {}