diff options
author | mdejong <mdejong> | 2001-07-03 20:48:38 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2001-07-03 20:48:38 (GMT) |
commit | 641831c0fb26c35ba210e62750003b03ec1106b8 (patch) | |
tree | 56fb644e8a726ad93eb53ec097f1ec0b7d142e22 | |
parent | 04333eb265924d49091056337ff98317d9fe7b7a (diff) | |
download | tcl-641831c0fb26c35ba210e62750003b03ec1106b8.zip tcl-641831c0fb26c35ba210e62750003b03ec1106b8.tar.gz tcl-641831c0fb26c35ba210e62750003b03ec1106b8.tar.bz2 |
* tests/clock.test (clock-2.5): Adjust test so that it passes
when the time slice is 60 msecs, now passes under Windows 98.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/clock.test | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,5 +1,10 @@ 2001-07-03 Mo DeJong <mdejong@redhat.com> + * tests/clock.test (clock-2.5): Adjust test so that it passes + when the time slice is 60 msecs, now passes under Windows 98. + +2001-07-03 Mo DeJong <mdejong@redhat.com> + * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't pass the v flag to ${AR} when using gcc, verbose output is not needed. diff --git a/tests/clock.test b/tests/clock.test index ea7325e..776586b 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: clock.test,v 1.15 2000/10/31 00:30:35 hobbs Exp $ +# RCS: @(#) $Id: clock.test,v 1.16 2001/07/03 20:48:38 mdejong Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -46,8 +46,8 @@ test clock-2.5 {clock clicks tests, millisecond timing test} { set start [clock clicks -milli] after 10 set end [clock clicks -milli] - # assume, even with slow interp'ing, the diff is less than 60 msecs - expr {($end > $start) && (($end - $start) < 60)} + # 60 msecs seems to be the max time slice under Windows 95/98 + expr {($end > $start) && (($end - $start) <= 60)} } {1} # clock format |