summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-30 10:44:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-30 10:44:39 (GMT)
commit4409afbad7d1d65061c9ae270c3cd589c7230ebb (patch)
treec9e7c2a58b42357bd755c47a59b7c78488198170
parent578b0e8089d87e37268eaa1f52627d7e51b3ceab (diff)
downloadtcl-4409afbad7d1d65061c9ae270c3cd589c7230ebb.zip
tcl-4409afbad7d1d65061c9ae270c3cd589c7230ebb.tar.gz
tcl-4409afbad7d1d65061c9ae270c3cd589c7230ebb.tar.bz2
Add checks whether we are testing the right dll's
-rw-r--r--tests/registry.test3
-rw-r--r--tests/winDde.test5
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/registry.test b/tests/registry.test
index 71d1fad..7881e82 100644
--- a/tests/registry.test
+++ b/tests/registry.test
@@ -31,6 +31,9 @@ testConstraint english [expr {
&& [string match "English*" [testlocale all ""]]
}]
+test registry-1.0 {check if we are testing the right dll} {win reg} {
+ package versions registry
+} {1.3.0}
test registry-1.1 {argument parsing for registry command} {win reg} {
list [catch {registry} msg] $msg
} {1 {wrong # args: should be "registry ?-32bit|-64bit? option ?arg ...?"}}
diff --git a/tests/winDde.test b/tests/winDde.test
index b73f665..a5b9a9f 100644
--- a/tests/winDde.test
+++ b/tests/winDde.test
@@ -19,7 +19,7 @@ testConstraint dde 0
if {[testConstraint win]} {
if {![catch {
::tcltest::loadTestedCommands
- package require dde 1.4.0b1
+ package require -exact dde 1.4.0b1
set ::ddelib [lindex [package ifneeded dde 1.4.0b1] 1]}]} {
testConstraint dde 1
}
@@ -101,6 +101,9 @@ proc createChildProcess {ddeServerName args} {
}
# -------------------------------------------------------------------------
+test winDde-1.0 {check if we are testing the right dll} {win dde} {
+ package versions dde
+} {1.4.0b1}
test winDde-1.1 {Settings the server's topic name} -constraints dde -body {
list [dde servername foobar] [dde servername] [dde servername self]