vscode: disable ctest integration, enable TestMate integration

This commit is contained in:
mverch67
2025-03-19 20:59:31 +01:00
parent b081beb8fa
commit 85f7124ca8
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -10,5 +10,7 @@
"[cpp]": {
"editor.defaultFormatter": "trunk.io"
},
"testMate.cpp.test.executables": "${workspaceFolder}/build/bin/tests"
"testMate.cpp.test.executables": "${workspaceFolder}/build/bin/tests",
"testMate.cpp.discovery.loadOnStartup": true,
"cmake.ctest.testExplorerIntegrationEnabled": false
}
+2 -2
View File
@@ -72,8 +72,8 @@ endif()
# Unit Tests
#
if(ENABLE_DOCTESTS)
# include(CTest)
# enable_testing()
include(CTest)
enable_testing()
add_executable(tests ${sources_test})
target_link_libraries(tests PRIVATE DeviceUI doctest::doctest lvgl::lvgl LovyanGFX Portduino Protobufs)
target_include_directories(tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})