From: Nick Porter Date: Mon, 1 Aug 2022 09:27:10 +0000 (+0100) Subject: Add bin tests to launch.lson X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09c7f5572050cdae9bb732780ba6a30390ae1fd6;p=thirdparty%2Ffreeradius-server.git Add bin tests to launch.lson --- diff --git a/.vscode/launch.json b/.vscode/launch.json index 075dc2c01ef..1cbb1f8b8a2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -67,6 +67,17 @@ { "name": "DEBUGGER_ATTACHED", "value": "yes"} ], "MIMode": "gdb" + }, + { + "type": "cppdbg", + "request": "launch", + "name": "Bin Test (gdb)", + "program": "${workspaceFolder}/build/bin/local/${input:bintest}", + "cwd": "${workspaceFolder}", + "environment": [ + {"name": "FR_LIBRARY_PATH", "value": "${workspaceFolder}/build/lib/local/.libs" }, + {"name": "LD_LIBRARY_PATH", "value": "${workspaceFolder}/build/lib/local/.libs" } + ] } ], "inputs": [ @@ -74,6 +85,11 @@ "id": "keyword", "type": "promptString", "description": "Keyword to test" + }, + { + "id": "bintest", + "type": "promptString", + "description": "Bin test to run" } ] }