Merge pull request #17 from puremourning/run-tests-make

run_tests should build the test programs
This commit is contained in:
mergify[bot] 2019-04-28 10:53:38 +00:00 committed by GitHub
commit 47545f2fda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"