Upgrade to macOS 10.14
In Mojave, the TCL headers were removed, so we install brew tcl. Oh and the all of the nonesense around authorizing applications to connect a debugger mean the tests don't work, so we force LLDB to use the system debugserver with LLDB_DEBUGSERVER_PATH.
This commit is contained in:
parent
04aaafd69a
commit
1da905a955
2 changed files with 13 additions and 4 deletions
|
|
@ -61,6 +61,8 @@ stages:
|
||||||
displayName: 'Run the tests'
|
displayName: 'Run the tests'
|
||||||
env:
|
env:
|
||||||
VIMSPECTOR_MIMODE: gdb
|
VIMSPECTOR_MIMODE: gdb
|
||||||
|
VIMSPECTOR_TEST_STDOUT: true
|
||||||
|
VIMSPECTOR_MI_DEBUGGER: ""
|
||||||
|
|
||||||
- bash: ./make_package linux $(Build.SourceVersion)
|
- bash: ./make_package linux $(Build.SourceVersion)
|
||||||
displayName: 'Package'
|
displayName: 'Package'
|
||||||
|
|
@ -72,11 +74,11 @@ stages:
|
||||||
|
|
||||||
- job: 'macos'
|
- job: 'macos'
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'macOS-10.13'
|
vmImage: 'macOS-10.14'
|
||||||
steps:
|
steps:
|
||||||
- bash: |
|
- bash: |
|
||||||
brew unlink node@6
|
brew unlink node@6
|
||||||
brew install macvim node@10
|
brew install macvim node@10 tcl-tk
|
||||||
brew link --force --overwrite node@10
|
brew link --force --overwrite node@10
|
||||||
displayName: 'Install vim and node'
|
displayName: 'Install vim and node'
|
||||||
|
|
||||||
|
|
@ -99,6 +101,9 @@ stages:
|
||||||
displayName: 'Run the tests'
|
displayName: 'Run the tests'
|
||||||
env:
|
env:
|
||||||
VIMSPECTOR_MIMODE: lldb
|
VIMSPECTOR_MIMODE: lldb
|
||||||
|
VIMSPECTOR_TEST_STDOUT: true
|
||||||
|
VIMSPECTOR_MI_DEBUGGER: ""
|
||||||
|
LLDB_DEBUGSERVER_PATH: "/Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Resources/debugserver"
|
||||||
|
|
||||||
- bash: ./make_package macos $(Build.SourceVersion)
|
- bash: ./make_package macos $(Build.SourceVersion)
|
||||||
displayName: 'Package'
|
displayName: 'Package'
|
||||||
|
|
|
||||||
8
tests/testdata/cpp/simple/.vimspector.json
vendored
8
tests/testdata/cpp/simple/.vimspector.json
vendored
|
|
@ -9,10 +9,14 @@
|
||||||
"args": [],
|
"args": [],
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"environment": [],
|
"environment": [],
|
||||||
"externalConsole": true,
|
"externalConsole": false,
|
||||||
"stopAtEntry": true,
|
"stopAtEntry": true,
|
||||||
"stopOnEntry": true,
|
"stopOnEntry": true,
|
||||||
"MImode": "${VIMSPECTOR_MIMODE}"
|
"MImode": "${VIMSPECTOR_MIMODE}",
|
||||||
|
"miDebuggerPath": "${VIMSPECTOR_MI_DEBUGGER}",
|
||||||
|
"logging": {
|
||||||
|
"engineLogging": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"breakpoints": {
|
"breakpoints": {
|
||||||
"exception": {
|
"exception": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue