diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-09-22 16:30:07 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2016-09-22 16:30:07 -0500 |
commit | b7c135151300dee6d6cb433cd9df989d4f04935f (patch) | |
tree | 89e6097c31e509ddf5948280e2ec35fe4e670fb3 /tests/unit/CMakeLists.txt | |
parent | fe6fe0ae1e87d46c6060045cc3b25865df4533bd (diff) | |
parent | 403fd0a388e565daf195729d9211ff03c23c93a0 (diff) | |
download | ayatana-indicator-display-b7c135151300dee6d6cb433cd9df989d4f04935f.tar.gz ayatana-indicator-display-b7c135151300dee6d6cb433cd9df989d4f04935f.tar.bz2 ayatana-indicator-display-b7c135151300dee6d6cb433cd9df989d4f04935f.zip |
sync with lp:~charlesk/indicator-display/lp-1572545-prompt-in-lockscreen
Diffstat (limited to 'tests/unit/CMakeLists.txt')
-rw-r--r-- | tests/unit/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index fe70461..9d8cad2 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -14,6 +14,10 @@ set(TEST_LINK_LIBRARIES ${GMOCK_LIBRARIES} ) +add_definitions( + -DGREETER_TEMPLATE="${CMAKE_SOURCE_DIR}/tests/utils/mock-unity-greeter.py" +) + function(add_test_by_name name) set(TEST_NAME ${name}) add_executable (${TEST_NAME} ${TEST_NAME}.cpp) @@ -31,4 +35,5 @@ function(add_qt_test_by_name name) set_property(TEST ${TEST_NAME} APPEND PROPERTY ENVIRONMENT ${CTEST_ENVIRONMENT}) target_link_libraries(${TEST_NAME} ${SERVICE_LINK_LIBRARIES} ${QT_LINK_LIBRARIES} ${TEST_LINK_LIBRARIES} ${THREAD_LINK_LIBRARIES}) endfunction() +add_qt_test_by_name(greeter-test) add_qt_test_by_name(usb-snap-test) |