Add a manual test for the calculated variables
This commit is contained in:
parent
522d8fbc99
commit
db4e60aca5
2 changed files with 25 additions and 1 deletions
24
tests/testdata/cpp/simple/.vimspector.json
vendored
24
tests/testdata/cpp/simple/.vimspector.json
vendored
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"$schema": "https://puremourning.github.io/vimspector/schema/vimspector.schema.json",
|
||||
"configurations": {
|
||||
"run-to-entry": {
|
||||
"adapter": "vscode-cpptools",
|
||||
|
|
@ -44,6 +45,29 @@
|
|||
"swift_throw": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"calculate-some-variable": {
|
||||
"adapter": "vscode-cpptools",
|
||||
"variables": {
|
||||
"SIMPLE": "This is some text containing: $HOME",
|
||||
"CALCULATED_LIST": {
|
||||
"shell": [ "uuidgen" ]
|
||||
},
|
||||
"CALCULATED_STR": {
|
||||
"shell": [ "uuidgen" ]
|
||||
}
|
||||
},
|
||||
"configuration": {
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/${fileBasenameNoExtension}",
|
||||
"MImode": "${VIMSPECTOR_MIMODE}",
|
||||
"externalConsole": false,
|
||||
"args": [
|
||||
"CALCULATED_LIST", "${CALCULATED_LIST}",
|
||||
"SIMPLE", "${SIMPLE}",
|
||||
"CALCULATED_STR", "${CALCULATED_STR}"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue