aboutsummaryrefslogtreecommitdiff
path: root/tests/ECMPoQmToolsTest/check.cmake.in
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2015-11-03 17:13:00 +0000
committerAlex Merry <alex.merry@kde.org>2015-11-03 17:15:16 +0000
commit0496f8ae020c497b5f65234063150781d023f8ba (patch)
tree454a00231ab2f900da655a8e8d65123febe888e2 /tests/ECMPoQmToolsTest/check.cmake.in
parent634a0a2d3d7ba1bec2bae846acf0faf6184f4c71 (diff)
downloadextra-cmake-modules-0496f8ae020c497b5f65234063150781d023f8ba.tar.gz
extra-cmake-modules-0496f8ae020c497b5f65234063150781d023f8ba.tar.bz2
Change ecm_create_po_loader test language to German.
This is easier to distinguish from "english" in the test output than "british english".
Diffstat (limited to 'tests/ECMPoQmToolsTest/check.cmake.in')
-rw-r--r--tests/ECMPoQmToolsTest/check.cmake.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ECMPoQmToolsTest/check.cmake.in b/tests/ECMPoQmToolsTest/check.cmake.in
index 2f0cc205..8089db6e 100644
--- a/tests/ECMPoQmToolsTest/check.cmake.in
+++ b/tests/ECMPoQmToolsTest/check.cmake.in
@@ -23,7 +23,7 @@ set(exp_files
"share/locale/es/LC_MESSAGES/install-test.qm"
"share/locale/fr/LC_MESSAGES/install-test.qm"
"share/locale/en/LC_MESSAGES/catalog.qm"
- "share/locale/en_GB/LC_MESSAGES/catalog.qm"
+ "share/locale/de/LC_MESSAGES/catalog.qm"
"custom-dir1/es/LC_MESSAGES/custom-dir1-install-test.qm"
"custom-dir1/fr/LC_MESSAGES/custom-dir1-install-test.qm"
"custom-dir2/es/LC_MESSAGES/custom-dir2-install-test.qm"
@@ -55,11 +55,11 @@ endif()
# we know we can modify the executable environment on Linux
if("@CMAKE_SYSTEM_NAME@" STREQUAL "Linux")
set(exp_output_en "english text:english plural form 5")
- set(exp_output_en_GB "british english text:british english plural form 5")
+ set(exp_output_de "german text:german plural form 5")
# no french translation provided -> english fallback
set(exp_output_fr "${exp_output_en}")
foreach(exec TR_TEST TR_THREAD_TEST)
- foreach(lang en en_GB fr)
+ foreach(lang en de fr)
execute_process(
COMMAND "${CMAKE_COMMAND}" -E env "XDG_DATA_DIRS=${ACTUAL_TREE}/share"
LC_ALL=${lang} "${${exec}_EXEC}"