]> 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:38:53 +0000 (20:38 +0000)
development/autotests/keytest.py

index 95e996b96392ed93d7f24e32e05eec63a1c59472..76492a3544aa5945cd3cb581d7f8407a49e63983 100755 (executable)
@@ -402,6 +402,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]