on xenial help sign in
Put LC_ALL=C in place for both 'make timeformattertest' and 'make test'
commit9a955f35a0992f110e01fa85efbc216ab789b512 authorMichael Terry <michael.terry@canonical.com> dateFri 19 Sep 2014, 11:09 (12 years ago) parentc712c92
1 file changed+2−2
tests/plugins/Utils/CMakeLists.txt+2−2
tests/plugins/Utils/CMakeLists.txt+2−2
@@ -7,11 +7,11 @@ include_directories(
77macro(run_tests)
88 set(_test_list "")
99 foreach(_test ${ARGN})
10− set(testCommand ${CMAKE_CURRENT_BINARY_DIR}/${_test}Exec
10+ set(testCommand env "LC_ALL=C" ${CMAKE_CURRENT_BINARY_DIR}/${_test}Exec
1111 -o ${CMAKE_BINARY_DIR}/${_test}.xml,xunitxml
1212 -o -,txt)
1313 add_test(NAME ${_test} COMMAND ${testCommand})
14− add_custom_target(${_test} env "LC_ALL=C" ${testCommand})
14+ add_custom_target(${_test} ${testCommand})
1515 add_executable(${_test}Exec ${_test}.cpp modeltest.cpp)
1616 qt5_use_modules(${_test}Exec Test Core Qml)
1717 target_link_libraries(${_test}Exec