diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-28 23:22:36 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-28 23:22:36 (GMT) |
commit | 3f9c403daa87772cfc14b14c526209bf611553f4 (patch) | |
tree | 4b28336c18397a0d59174b25eae6e7bec8051c40 /tests/clock.test | |
parent | 4562f64b892a515fb81ace2907ceea4f4185ef32 (diff) | |
parent | a8b104c3b5ef5cf3721b20a37d48360b90f77a10 (diff) | |
download | tcl-3f9c403daa87772cfc14b14c526209bf611553f4.zip tcl-3f9c403daa87772cfc14b14c526209bf611553f4.tar.gz tcl-3f9c403daa87772cfc14b14c526209bf611553f4.tar.bz2 |
[Bug 3549770] Multiple test failures running tcltest outside build tree
Diffstat (limited to 'tests/clock.test')
-rw-r--r-- | tests/clock.test | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/clock.test b/tests/clock.test index fd74512..0202fc7 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -17,11 +17,9 @@ if {[lsearch [namespace children] ::tcltest] == -1} { } if {[testConstraint win]} { - if {[catch {package require registry 1.1}] - && [catch {load {} Registry}] - && [catch { + if {[catch { ::tcltest::loadTestedCommands - load $::reglib Registry + package require registry }]} { namespace eval ::tcl::clock {variable NoRegistry {}} } |