@@ -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