From 5a4342e69ecc19d1408f622ceb7f8a8bbe6c1d20 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 20 Aug 2026 11:27:04 +0200 Subject: build: improve linting exclusions for tests --- cmake/Modules/BuildHostTests.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cmake/Modules') diff --git a/cmake/Modules/BuildHostTests.cmake b/cmake/Modules/BuildHostTests.cmake index d92c3308..9edc0afa 100644 --- a/cmake/Modules/BuildHostTests.cmake +++ b/cmake/Modules/BuildHostTests.cmake @@ -11,6 +11,10 @@ function("teachos_add_tests" NAME) "*.tests.cpp" ) + set_source_files_properties(${TEST_SOURCES} PROPERTIES + SKIP_LINTING YES + ) + target_sources("${NAME}_tests" PRIVATE ${TEST_SOURCES} ) @@ -44,6 +48,10 @@ function("teachos_add_stress_tests" NAME) "*.stress.cpp" ) + set_source_files_properties(${TEST_SOURCES} PROPERTIES + SKIP_LINTING YES + ) + target_sources("${NAME}_stress_tests" PRIVATE ${TEST_SOURCES} ) -- cgit v1.2.3