Use --install to run_tests instead of manually running the installer

This commit is contained in:
Ben Jackson 2020-05-27 21:25:17 +01:00
commit 8f3de079bc

View file

@ -45,20 +45,17 @@ stages:
- task: CacheBeta@0
inputs:
key: v1 | gadgets | $(Agent.OS) | install_gadget.py
key: v2 | gadgets | $(Agent.OS) | python3/vimspector/installer.py
path: gadgets/linux/download
displayName: Cache gadgets
- bash: python3 install_gadget.py --all
displayName: 'Install gadgets - python3'
- bash: vim --version
displayName: 'Print vim version information'
- bash: |
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
export GOPATH=$HOME/go
./run_tests --report messages --quiet
./run_tests --install --report messages --quiet
displayName: 'Run the tests'
env:
VIMSPECTOR_MIMODE: gdb
@ -92,17 +89,14 @@ stages:
- task: CacheBeta@0
inputs:
key: v1 | gadgets | $(Agent.OS) | install_gadget.py
key: v2 | gadgets | $(Agent.OS) | python3/vimspector/installer.py
path: gadgets/macos/download
displayName: Cache gadgets
- bash: python3 install_gadget.py --all
displayName: 'Install gadgets - python3'
- bash: vim --version
displayName: 'Print vim version information'
- bash: ./run_tests --report messages --quiet
- bash: ./run_tests --install --report messages --quiet
displayName: 'Run the tests'
env:
VIMSPECTOR_MIMODE: lldb