From a7700e8a8fd649be43150f67c94fd02cf72b03a1 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 26 Jul 2026 23:15:47 +0200 Subject: build: separate normal from stress tests --- libs/acpi/CMakeLists.txt | 8 +++++++- libs/kstd/CMakeLists.txt | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'libs') 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 @@ -8,6 +8,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() diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt index 379ca7d0..d8d5ea2a 100644 --- a/libs/kstd/CMakeLists.txt +++ b/libs/kstd/CMakeLists.txt @@ -8,6 +8,12 @@ project("kstd" include("CTest") +#[============================================================================[ +# Global Build System Options +#]============================================================================] + +option(KSTD_ENABLE_TEST_COVERAGE "Enable generation of test coverage" ON) + #[============================================================================[ # Library #]============================================================================] @@ -74,7 +80,7 @@ if(BUILD_TESTING) teachos_add_tests("kstd") - if(COMMAND "enable_coverage" AND NOT TEACHOS_ENABLE_TEST_TSAN) + if(COMMAND "enable_coverage" AND KSTD_ENABLE_TEST_COVERAGE) enable_coverage("kstd") enable_coverage("kstd_tests") endif() -- cgit v1.2.3