on xenial help sign in
Move ScopeStyle test under qmluitests, fails to create context otherwise.
commit1f6d9abb17c973e4ebf11c9337acaf5ad999974a authorMichał Sawicz <michal.sawicz@canonical.com> dateTue 8 Jul 2014, 10:35 (12 years ago) parent5dd8bb2
1 file changed+2−4
tests/plugins/Dash/CMakeLists.txt+2−4
tests/plugins/Dash/CMakeLists.txt+2−4
@@ -73,11 +73,9 @@ qt5_use_modules(CardCreatorTestExec Test Core Qml)
7373target_link_libraries(CardCreatorTestExec ${Qt5Gui_LIBRARIES} ${Qt5Quick_LIBRARIES})
7474add_binary_qml_test(CardCreator "" "Dash-qml")
7575
76−# qml unit test
77−set(qmltest_DEFAULT_TARGETS qmltests)
78−add_qml_test(. ScopeStyle IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins)
79−
8076# plain qml test
8177set(qmltest_DEFAULT_TARGETS qmluitests)
8278set(qmltest_DEFAULT_NO_ADD_TEST TRUE)
79+set(qmltest_DEFAULT_PROPERTIES ENVIRONMENT "LC_ALL=C")
80+add_qml_test(. ScopeStyle IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins)
8381add_qml_test(. ListViewWithPageHeaderQML IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins)