cmake tests: Try to use valid locales for testing

This commit is contained in:
Kornel Benko 2017-10-02 10:35:57 +02:00
parent b0379b7a68
commit 9f5f4e2aa0

View File

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