diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-08-20 11:27:04 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-08-20 11:27:04 +0200 |
| commit | 5a4342e69ecc19d1408f622ceb7f8a8bbe6c1d20 (patch) | |
| tree | 3cb26d646463094730ac066cd193cf70ad4a5b18 /cmake/Modules | |
| parent | de473afc0bf677e40cd660062f2518f8ade6e346 (diff) | |
| download | kernel-5a4342e69ecc19d1408f622ceb7f8a8bbe6c1d20.tar.xz kernel-5a4342e69ecc19d1408f622ceb7f8a8bbe6c1d20.zip | |
build: improve linting exclusions for tests
Diffstat (limited to 'cmake/Modules')
| -rw-r--r-- | cmake/Modules/BuildHostTests.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
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} ) |
