added seperate cmake project for utest

this project uses a fake rtos, and compiles for native test
this is to test some lib seperate form the rest of the system
This commit is contained in:
2024-02-02 19:52:53 +01:00
parent f59fdea76f
commit 83830808a9
7 changed files with 398 additions and 0 deletions

26
tests/native/.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,26 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [ {
"name": "Debug CLS_Master_Test",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/CLS_Master_Unity",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
//"preLaunchTask": "build" // If you have a build task setup
}]
}