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)
commitfd70297b820fcad022629bfd4d0ff5e1a550aaaa (patch)
treea6050b32995945729be416ce1de4188709a04820 /tests/msgcat.test
parent4dbba767c34ef9df1449908d3b71e130ebf74dc5 (diff)
downloadtcl-fd70297b820fcad022629bfd4d0ff5e1a550aaaa.zip
tcl-fd70297b820fcad022629bfd4d0ff5e1a550aaaa.tar.gz
tcl-fd70297b820fcad022629bfd4d0ff5e1a550aaaa.tar.bz2
Correct build version and backported 973091ef75tip404_tcl8_5
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
}
}