]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add bin tests to launch.lson
authorNick Porter <nick@portercomputing.co.uk>
Mon, 1 Aug 2022 09:27:10 +0000 (10:27 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 9 Aug 2022 09:33:21 +0000 (10:33 +0100)
.vscode/launch.json

index 075dc2c01ef1806dad82e5ed4f614b7eeeba5379..1cbb1f8b8a28ba2a4f2ce8526dc1445a3438f0f3 100644 (file)
                                 { "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": [
                         "id": "keyword",
                         "type": "promptString",
                         "description": "Keyword to test"
+                },
+                {
+                        "id": "bintest",
+                        "type": "promptString",
+                        "description": "Bin test to run"
                 }
         ]
 }