diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-04-21 14:13:55 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-04-21 14:30:01 +0200 |
| commit | e3fa6b1adbd7fce3b080d75fd0959949b7d3bef4 (patch) | |
| tree | 1c8a6c6f15a64a5cc02baeafbda5af454a266a81 /libs | |
| parent | 9b4cbc6ba3f8059278a20a4893780717851ce8e4 (diff) | |
| download | teachos-e3fa6b1adbd7fce3b080d75fd0959949b7d3bef4.tar.xz teachos-e3fa6b1adbd7fce3b080d75fd0959949b7d3bef4.zip | |
acpi: enable test coverage
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/acpi/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/acpi/CMakeLists.txt b/libs/acpi/CMakeLists.txt index b0fc48f..b4d11d9 100644 --- a/libs/acpi/CMakeLists.txt +++ b/libs/acpi/CMakeLists.txt @@ -46,6 +46,7 @@ target_sources("acpi" PRIVATE ) file(GLOB_RECURSE ACPI_HEADERS + CONFIGURE_DEPENDS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "acpi/*.hpp" ) @@ -96,6 +97,10 @@ if(BUILD_TESTING) set_source_files_properties("test_data/tables.S" PROPERTIES OBJECT_DEPENDS "${GENERATED_TABLE_BLOBS}") + if(COMMAND "enable_coverage") + enable_coverage("acpi") + endif() + add_executable("acpi_tests") add_executable("acpi::tests" ALIAS "acpi_tests") |
