From 8c89aa772071eaa5f4c2b8bc37cb346d80a0ad6e Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 13 Dec 2013 09:51:20 -0600 Subject: Add tests to confirm the phone profile header's time format is sensitive to 12/24hr locales (bug #1256061) --- tests/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/CMakeLists.txt') 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}) -- cgit v1.2.3