run_tests should build the test programs

This commit is contained in:
Ben Jackson 2019-04-28 11:50:03 +01:00
commit d7667c6532
2 changed files with 8 additions and 6 deletions

View file

@ -15,9 +15,6 @@ jobs:
- bash: vim --version
displayName: 'Print vim version information'
- bash: cd tests/testdata/cpp/simple && make
displayName: 'Build test cpp program'
- bash: ./run_tests
displayName: 'Run the tests'
env:
@ -36,9 +33,6 @@ jobs:
- bash: vim --version
displayName: 'Print vim version information'
- bash: cd tests/testdata/cpp/simple && make
displayName: 'Build test cpp program'
- bash: ./run_tests
displayName: 'Run the tests'
env:

View file

@ -3,6 +3,14 @@
RUN_VIM="vim --noplugin --clean --not-a-term"
RUN_TEST="${RUN_VIM} -S run_test.vim"
echo "%SETUP - Building test programs..."
set -e
pushd tests/testdata/cpp/simple
make clean simple
popd
set +e
echo "%DONE - built test programs"
pushd tests > /dev/null
echo "Running Vimspector Vim tests"