aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules/BuildHostTests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/BuildHostTests.cmake')
-rw-r--r--cmake/Modules/BuildHostTests.cmake8
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}
)