build: Add gtest-args for VS Code users
This commit is contained in:
parent
1dc449fe0a
commit
dc9a5c0f12
2 changed files with 13 additions and 4 deletions
14
.vscode/launch.json
vendored
14
.vscode/launch.json
vendored
|
|
@ -15,6 +15,7 @@
|
|||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/unittests",
|
||||
"args": [ "${input:gtest-args}" ],
|
||||
"preLaunchTask": "build"
|
||||
},
|
||||
{
|
||||
|
|
@ -23,7 +24,8 @@
|
|||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/integtests",
|
||||
"preLaunchTask": "build"
|
||||
"args": [ "${input:gtest-args}" ],
|
||||
"preLaunchTask": "build",
|
||||
},
|
||||
{
|
||||
"name": "unix - server",
|
||||
|
|
@ -64,6 +66,7 @@
|
|||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/unittests",
|
||||
"args": [ "${input:gtest-args}" ],
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"preLaunchTask": "build"
|
||||
},
|
||||
|
|
@ -73,6 +76,7 @@
|
|||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/integtests",
|
||||
"args": [ "${input:gtest-args}" ],
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"preLaunchTask": "build"
|
||||
},
|
||||
|
|
@ -119,5 +123,13 @@
|
|||
"program": "scripts/install_deps.py",
|
||||
"console": "integratedTerminal"
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "gtest-args",
|
||||
"type": "promptString",
|
||||
"description": "Test arguments",
|
||||
"default": "--gtest_filter=*"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
3
.vscode/tasks.json
vendored
3
.vscode/tasks.json
vendored
|
|
@ -14,9 +14,6 @@
|
|||
"problemMatcher": {
|
||||
"base": "$gcc",
|
||||
"fileLocation": ["absolute"]
|
||||
},
|
||||
"presentation": {
|
||||
"revealProblems": "onProblem"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue