]> git.lyx.org Git - lyx.git/commitdiff
cmake tests: Try to use valid locales for testing
authorKornel Benko <kornel@lyx.org>
Mon, 2 Oct 2017 08:35:57 +0000 (10:35 +0200)
committerKornel Benko <kornel@lyx.org>
Tue, 3 Oct 2017 20:09:06 +0000 (22:09 +0200)
development/autotests/export.cmake

index 7a954aca6d019214a4c89ba322a0700d1afdd158..fc63cd47c8d7f9b1865b69368bd0ef8203142f1b 100755 (executable)
@@ -91,8 +91,8 @@ function(get_md5sum msource mresult mreserr)
 endfunction()
 
 set(ENV{${LYX_USERDIR_VER}} "${LYX_TESTS_USERDIR}")
-set(ENV{LANG} "en") # to get all error-messages in english
-set(ENV{LC_ALL} "C")
+set(ENV{LANG} "en_US.UTF-8") # to get all error-messages in english
+#set(ENV{LC_ALL} "C")
 if (extension MATCHES "\\.lyx$")
   include(${TOP_SRC_DIR}/development/autotests/CheckLoadErrors.cmake)
   get_md5sum(LYX_SOURCE source_md5sum _err)