Skip to content
Snippets Groups Projects
Commit 9fcaca92 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

build/dev: add tests to vscode tasks

parent 1bc65bc5
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,23 @@
}
],
"preLaunchTask": "build"
},
{
"name": "tests",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/opendht_unit_tests",
"cwd": "${workspaceFolder}/build",
"environment": [],
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "build"
}
]
}
......@@ -23,6 +23,7 @@
"-DCMAKE_BUILD_TYPE=Debug",
"-DOPENDHT_PROXY_CLIENT=On",
"-DOPENDHT_PROXY_SERVER=On",
"-DOPENDHT_TESTS=On",
"-DOPENDHT_C=On"
],
"dependsOn": "builddir"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment