aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-12-13 09:51:20 -0600
committerCharles Kerr <charles.kerr@canonical.com>2013-12-13 09:51:20 -0600
commit8c89aa772071eaa5f4c2b8bc37cb346d80a0ad6e (patch)
tree58d357eafcb62cfa6eea765909cd78868e97ee7c /tests/CMakeLists.txt
parent75b0a871e757b1e71539bd0bd8d52065bd2a85ec (diff)
downloadayatana-indicator-datetime-8c89aa772071eaa5f4c2b8bc37cb346d80a0ad6e.tar.gz
ayatana-indicator-datetime-8c89aa772071eaa5f4c2b8bc37cb346d80a0ad6e.tar.bz2
ayatana-indicator-datetime-8c89aa772071eaa5f4c2b8bc37cb346d80a0ad6e.zip
Add tests to confirm the phone profile header's time format is sensitive to 12/24hr locales (bug #1256061)
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 60e0507..a10bcd0 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -31,4 +31,12 @@ include_directories (${CMAKE_CURRENT_BINARY_DIR})
include_directories (${SERVICE_DEPS_INCLUDE_DIRS})
include_directories (${DBUSTEST_INCLUDE_DIRS})
+add_definitions (-DSANDBOX="${CMAKE_CURRENT_BINARY_DIR}")
+
+# test-formatter
+set (TEST_NAME test-formatter)
+add_executable (${TEST_NAME} test-formatter.cc gschemas.compiled)
+add_test (${TEST_NAME} ${TEST_NAME})
+add_dependencies (${TEST_NAME} libindicatordatetimeservice)
+target_link_libraries (${TEST_NAME} indicatordatetimeservice gtest ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBS})