on xenial help sign in
Make test be a qmluitest
commit7b0c62ae47035b47af3e7cd72ac58683c2de9045 authorMichael Terry <michael.terry@canonical.com> dateTue 3 Dec 2013, 15:17 (13 years ago) parent8b4d625
1 file changed+3−3
tests/plugins/LightDM/CMakeLists.txt+3−3
tests/plugins/LightDM/CMakeLists.txt+3−3
@@ -18,6 +18,6 @@ target_link_libraries(test-lightdm-dbus
1818
1919add_definitions(-DCURRENT_SOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
2020
21−add_test(NAME testLightDMDBus
22− COMMAND dbus-launch env QML2_IMPORT_PATH=${CMAKE_BINARY_DIR}/tests/mocks LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/tests/mocks/LightDM/full ${CMAKE_CURRENT_BINARY_DIR}/test-lightdm-dbus
23− )
21+add_custom_target(testLightDMDBus dbus-launch env QML2_IMPORT_PATH=${CMAKE_BINARY_DIR}/tests/mocks LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/tests/mocks/LightDM/full ${CMAKE_CURRENT_BINARY_DIR}/test-lightdm-dbus)
22+
23+add_dependencies(qmluitests testLightDMDBus)