aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-10-10 12:18:17 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-10-10 12:18:17 +0200
commit20db87cc70317e73c3bbb720fa80633170f5a60e (patch)
treefcaaedf7897550c9b08d48f3c3e991cdfe6b533f
parentdce3e336524b36e87dd480f0bd5dbdbd69331228 (diff)
parent44483ffe3d3624df179b98ec94a833dcde2830c6 (diff)
downloadayatana-indicator-keyboard-20db87cc70317e73c3bbb720fa80633170f5a60e.tar.gz
ayatana-indicator-keyboard-20db87cc70317e73c3bbb720fa80633170f5a60e.tar.bz2
ayatana-indicator-keyboard-20db87cc70317e73c3bbb720fa80633170f5a60e.zip
Merge branch 'tari01-pr/drop-tests'
Attributes GH PR #57: https://github.com/AyatanaIndicators/ayatana-indicator-keyboard/pull/57
-rw-r--r--CMakeLists.txt24
1 files changed, 1 insertions, 23 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7c14e2e3..861309ff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,16 +8,9 @@ endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
# Options
-option(ENABLE_TESTS "Enable all tests and checks" OFF)
-option(ENABLE_COVERAGE "Enable coverage reports (includes enabling all tests and checks)" OFF)
option(ENABLE_WERROR "Treat all build warnings as errors" OFF)
-if(ENABLE_COVERAGE)
- set(ENABLE_TESTS ON)
- set(CMAKE_BUILD_TYPE "Coverage")
-else()
- set(CMAKE_BUILD_TYPE "Release")
-endif()
+set(CMAKE_BUILD_TYPE "Release")
if(ENABLE_WERROR)
add_definitions("-Werror")
@@ -56,21 +49,6 @@ add_subdirectory(src)
add_subdirectory(data)
add_subdirectory(po)
-# Test and coverage
-if (ENABLE_TESTS)
-
- include(CTest)
- enable_testing()
-
- if (ENABLE_COVERAGE)
-
- find_package(CoverageReport)
-
- endif()
-
-endif()
-
# Display config info
message(STATUS "Install prefix: ${CMAKE_INSTALL_PREFIX}")
-message(STATUS "Unit tests: ${ENABLE_TESTS}")
message(STATUS "Build with -Werror: ${ENABLE_WERROR}")