aboutsummaryrefslogtreecommitdiff
path: root/cmake/RunTests.cmake
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-07-29 14:25:57 +0200
committerGitHub <noreply@github.com>2017-07-29 14:25:57 +0200
commit8ae16aa92c2b583fa390bc00f6987a9e5ef45a41 (patch)
tree91cac7f1e0be4b721da02ebfe0d5aff3634fffb2 /cmake/RunTests.cmake
parent5acda12419858da202ce7ea962fae75102a75b2b (diff)
parent5c08c8c00969b8945f1351f49b0afb7e3e8842fe (diff)
downloadrneovim-8ae16aa92c2b583fa390bc00f6987a9e5ef45a41.tar.gz
rneovim-8ae16aa92c2b583fa390bc00f6987a9e5ef45a41.tar.bz2
rneovim-8ae16aa92c2b583fa390bc00f6987a9e5ef45a41.zip
Merge #7087 from justinmk/test-locale
test: force LC_ALL=en_US.UTF-8
Diffstat (limited to 'cmake/RunTests.cmake')
-rw-r--r--cmake/RunTests.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake
index 5f818cc9ad..95c06aeb94 100644
--- a/cmake/RunTests.cmake
+++ b/cmake/RunTests.cmake
@@ -1,3 +1,6 @@
+# Set LC_ALL to meet expectations of some locale-sensitive tests.
+set(ENV{LC_ALL} "en_US.UTF-8")
+
set(ENV{VIMRUNTIME} ${WORKING_DIR}/runtime)
set(ENV{NVIM_RPLUGIN_MANIFEST} ${WORKING_DIR}/Xtest_rplugin_manifest)
set(ENV{XDG_CONFIG_HOME} ${WORKING_DIR}/Xtest_xdg/config)