diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-07-30 10:44:39 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-07-30 10:44:39 (GMT) |
| commit | 44c192fece0b5e7f56962513d750ced7d90037ff (patch) | |
| tree | c9e7c2a58b42357bd755c47a59b7c78488198170 | |
| parent | 7d707a72e60e05ee80fff98c517533908618ac32 (diff) | |
| download | tcl-44c192fece0b5e7f56962513d750ced7d90037ff.zip tcl-44c192fece0b5e7f56962513d750ced7d90037ff.tar.gz tcl-44c192fece0b5e7f56962513d750ced7d90037ff.tar.bz2 | |
Add checks whether we are testing the right dll's
| -rw-r--r-- | tests/registry.test | 3 | ||||
| -rw-r--r-- | tests/winDde.test | 5 |
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] |
