aboutsummaryrefslogtreecommitdiff
path: root/libs/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'libs/acpi')
-rw-r--r--libs/acpi/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/acpi/CMakeLists.txt b/libs/acpi/CMakeLists.txt
index 4bd23d47..77992695 100644
--- a/libs/acpi/CMakeLists.txt
+++ b/libs/acpi/CMakeLists.txt
@@ -9,6 +9,12 @@ project("acpi"
include("CTest")
#[============================================================================[
+# Global Build System Options
+#]============================================================================]
+
+option(ACPI_ENABLE_TEST_COVERAGE "Enable generation of test coverage" ON)
+
+#[============================================================================[
# Library
#]============================================================================]
@@ -85,7 +91,7 @@ if(BUILD_TESTING)
set_source_files_properties("acpi/test_data/tables.S" PROPERTIES OBJECT_DEPENDS "${GENERATED_TABLE_BLOBS}")
- if(COMMAND "enable_coverage" AND NOT TEACHOS_ENABLE_TEST_TSAN)
+ if(COMMAND "enable_coverage" AND ACPI_ENABLE_TEST_COVERAGE)
enable_coverage("acpi")
endif()