diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-09-13 13:09:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-09-13 13:09:17 (GMT) |
commit | 5b68c7d62cf67a00bd6c5e97f1da7d7fd194ef00 (patch) | |
tree | f65a60f84405550827659ce94dd04cea28fee548 /tests/msgcat.test | |
parent | 98237732ef4cd07a63f32adcdbcdb4d0b9099773 (diff) | |
download | tcl-5b68c7d62cf67a00bd6c5e97f1da7d7fd194ef00.zip tcl-5b68c7d62cf67a00bd6c5e97f1da7d7fd194ef00.tar.gz tcl-5b68c7d62cf67a00bd6c5e97f1da7d7fd194ef00.tar.bz2 |
Fix msgcat-0.7 when running tests outside of the build tree (part of Bug #3549770)
Diffstat (limited to 'tests/msgcat.test')
-rw-r--r-- | tests/msgcat.test | 7 |
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 } } |