summaryrefslogtreecommitdiffstats
path: root/tests/winDde.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-30 12:51:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-30 12:51:38 (GMT)
commit27673e171bb63ae5c243d55c936522a3913cbcc8 (patch)
tree167c021b91f2a1ee566d8c6e0038fe11576d9a16 /tests/winDde.test
parent6f401c3e624c251bbe6f116a38dc1ac035318c29 (diff)
downloadtcl-27673e171bb63ae5c243d55c936522a3913cbcc8.zip
tcl-27673e171bb63ae5c243d55c936522a3913cbcc8.tar.gz
tcl-27673e171bb63ae5c243d55c936522a3913cbcc8.tar.bz2
Less strictness about exactly which dll versions are tested
Diffstat (limited to 'tests/winDde.test')
-rw-r--r--tests/winDde.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/winDde.test b/tests/winDde.test
index a5b9a9f..9e0b20a 100644
--- a/tests/winDde.test
+++ b/tests/winDde.test
@@ -19,8 +19,8 @@ testConstraint dde 0
if {[testConstraint win]} {
if {![catch {
::tcltest::loadTestedCommands
- package require -exact dde 1.4.0b1
- set ::ddelib [lindex [package ifneeded dde 1.4.0b1] 1]}]} {
+ set ::ddever [package require dde 1.4.0b1]
+ set ::ddelib [lindex [package ifneeded dde $::ddever] 1]}]} {
testConstraint dde 1
}
}
@@ -102,7 +102,7 @@ proc createChildProcess {ddeServerName args} {
# -------------------------------------------------------------------------
test winDde-1.0 {check if we are testing the right dll} {win dde} {
- package versions dde
+ set ::ddever
} {1.4.0b1}
test winDde-1.1 {Settings the server's topic name} -constraints dde -body {