aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2020-03-05 09:08:34 +1000
committerSteve Bennett <steveb@workware.net.au>2020-03-05 22:38:34 +1000
commitbd7037fdd108729999cfb32a1304abd0eec1d1ad (patch)
tree17249b496cbcbe72d6e8238ddca83aed054f0810 /tests
parent2e8d9d5014cac46b9486a88307436f74a7a3784c (diff)
downloadjimtcl-bd7037fdd108729999cfb32a1304abd0eec1d1ad.zip
jimtcl-bd7037fdd108729999cfb32a1304abd0eec1d1ad.tar.gz
jimtcl-bd7037fdd108729999cfb32a1304abd0eec1d1ad.tar.bz2
build: Check for 32-bit time_t at configure time
To warn of Y2038 problems, and suggest use of -D__MINGW_USE_VC2005_COMPAT on mingw32. Do this instead of the previous runtime test. Add -D__MINGW_USE_VC2005_COMPAT to the appveyor build. Fixes msteveb/jimtcl#145 Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests')
-rw-r--r--tests/clock.test5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/clock.test b/tests/clock.test
index 3e9aec3..4e32df4 100644
--- a/tests/clock.test
+++ b/tests/clock.test
@@ -51,9 +51,4 @@ test clock-4.1 {clock scan tests} clockscan {
clock scan {Sun Nov 04 03:02:46 AM 1990} -format {%a %b %d %I:%M:%S %p %Y} -gmt true
} 657687766
-# This will fail on systems that are not Y2038 compliant
-test clock-5.1 {Year 2038 compliance} {
- clock format 2200000000 -format %Y-%m-%dT%H:%M:%S -gmt true
-} 2039-09-18T23:06:40
-
testreport