Add a Makefile to provide make test

This commit is contained in:
Daniel Hahler
2014-06-15 14:31:36 +02:00
parent 38487bbec8
commit 631d72465a
2 changed files with 21 additions and 7 deletions

9
test/Makefile Normal file
View File

@@ -0,0 +1,9 @@
all: build/runVimTests
build/runVimTests/bin/runVimTests.sh -0 .
build/runVimTests: build/VimTAP
git clone https://github.com/inkarkat/runVimTests $@
# Use VimTAP as directory name, as used with runVimTestsSetup.vim.
build/VimTAP:
git clone https://github.com/inkarkat/vimtap $@

View File

@@ -1,8 +1,13 @@
The plugins runVimTests (http://www.vim.org/scripts/script.php?script_id=2565)
and VimTAP (http://www.vim.org/scripts/script.php?script_id=2213) are needed to
run these tests.
# Automatic test setup
You can use `make` (or `make test` from the top level directory) to run the
tests.
Besides the _setup.vim configuration file present in this repo you need to
# Manual test setup instructions
The plugins [runVimTests](http://www.vim.org/scripts/script.php?script_id=2565)
and [VimTAP](http://www.vim.org/scripts/script.php?script_id=2213) are needed
to run these tests.
Besides the `_setup.vim` configuration file present in this repo you need to
create a global one and place it in the same dir where the runVimTests
executable is located. Assuming the executable is at '~/bin/runVimTests' this
global configuration file should be '~/bin/runVimTestsSetup.vim' and should