aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2024-02-01 20:55:55 +0100
committerRobert Tari <robert@tari.in>2024-02-01 20:55:55 +0100
commitd304a6d124c3260a617e5c1e95309d01df248ff1 (patch)
tree18bb9353587f41cd5f8c4723ebb7bd90cb568d95
parent6d67f7b458911833e72e0b4a162b1d823609d6f8 (diff)
downloadayatana-indicator-datetime-d304a6d124c3260a617e5c1e95309d01df248ff1.tar.gz
ayatana-indicator-datetime-d304a6d124c3260a617e5c1e95309d01df248ff1.tar.bz2
ayatana-indicator-datetime-d304a6d124c3260a617e5c1e95309d01df248ff1.zip
tests/CMakeLists.txt: Run test-notification only when building with Lomiri features
-rw-r--r--tests/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 60e7864..13dd0d8 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -41,9 +41,14 @@ function(add_test_by_name name)
add_test (${TEST_NAME} ${TEST_NAME})
target_link_libraries (${TEST_NAME} indicatordatetimeservice ${DBUSTEST_LIBRARIES} ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBRARIES} ${GMOCK_LIBRARIES})
endfunction()
+
add_test_by_name(test-datetime)
add_test_by_name(test-sound)
-add_test_by_name(test-notification)
+
+if (ENABLE_LOMIRI_FEATURES)
+ add_test_by_name(test-notification)
+endif ()
+
add_test_by_name(test-notification-response)
add_test_by_name(test-actions)
add_test_by_name(test-alarm-queue)