]> git.lyx.org Git - features.git/commitdiff
Fixing behavior of Lang directive in test cases, by setting LANGUAGE variable, in...
authorTommaso Cucinotta <tommaso@lyx.org>
Sun, 9 Dec 2012 20:20:05 +0000 (20:20 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Sun, 9 Dec 2012 20:20:05 +0000 (20:20 +0000)
development/autotests/keytest.py

index 1753f1460b16b3bda05ab7d231dc3edceb65b8d5..a72ea112bb7ff048203b29f382f5500349a00ae2 100755 (executable)
@@ -401,6 +401,10 @@ while not failed:
             ccode = lang[0:idx]
         else:
             ccode = lang
+
+        print "Setting LANGUAGE=" + ccode + "\n"
+        os.environ['LANGUAGE'] = ccode
+
         idx = lang.find("_")
         if idx != -1:
             short_code = lang[0:idx]