summaryrefslogtreecommitdiffstats
path: root/tests/msgcat.test
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2012-09-17 06:42:02 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2012-09-17 06:42:02 (GMT)
commit8441410b373ce7cf8bc99b67e26f5409a8b9533d (patch)
treea6050b32995945729be416ce1de4188709a04820 /tests/msgcat.test
parente44afcc1bcc88271f5d95b7c48320455689a3ae3 (diff)
downloadtcl-8441410b373ce7cf8bc99b67e26f5409a8b9533d.zip
tcl-8441410b373ce7cf8bc99b67e26f5409a8b9533d.tar.gz
tcl-8441410b373ce7cf8bc99b67e26f5409a8b9533d.tar.bz2
Correct build version and backported 973091ef75
Diffstat (limited to 'tests/msgcat.test')
-rw-r--r--tests/msgcat.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/msgcat.test b/tests/msgcat.test
index d75bf8e..0edb1d2 100644
--- a/tests/msgcat.test
+++ b/tests/msgcat.test
@@ -56,6 +56,13 @@ namespace eval ::msgcat::test {
set result [string tolower \
[msgcat::ConvertLocale $::tcl::mac::locale]]
} else {
+ if {([info sharedlibextension] == ".dll")
+ && ![catch {package require registry}]} {
+ # Windows and Cygwin have other ways to determine the
+ # locale when the environment variables are missing
+ # and the registry package is present
+ continue
+ }
set result c
}
}