Merge pull request #17 from puremourning/run-tests-make
run_tests should build the test programs
This commit is contained in:
commit
47545f2fda
2 changed files with 8 additions and 6 deletions
|
|
@ -15,9 +15,6 @@ jobs:
|
||||||
- bash: vim --version
|
- bash: vim --version
|
||||||
displayName: 'Print vim version information'
|
displayName: 'Print vim version information'
|
||||||
|
|
||||||
- bash: cd tests/testdata/cpp/simple && make
|
|
||||||
displayName: 'Build test cpp program'
|
|
||||||
|
|
||||||
- bash: ./run_tests
|
- bash: ./run_tests
|
||||||
displayName: 'Run the tests'
|
displayName: 'Run the tests'
|
||||||
env:
|
env:
|
||||||
|
|
@ -36,9 +33,6 @@ jobs:
|
||||||
- bash: vim --version
|
- bash: vim --version
|
||||||
displayName: 'Print vim version information'
|
displayName: 'Print vim version information'
|
||||||
|
|
||||||
- bash: cd tests/testdata/cpp/simple && make
|
|
||||||
displayName: 'Build test cpp program'
|
|
||||||
|
|
||||||
- bash: ./run_tests
|
- bash: ./run_tests
|
||||||
displayName: 'Run the tests'
|
displayName: 'Run the tests'
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,14 @@
|
||||||
RUN_VIM="vim --noplugin --clean --not-a-term"
|
RUN_VIM="vim --noplugin --clean --not-a-term"
|
||||||
RUN_TEST="${RUN_VIM} -S run_test.vim"
|
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
|
pushd tests > /dev/null
|
||||||
|
|
||||||
echo "Running Vimspector Vim tests"
|
echo "Running Vimspector Vim tests"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue