summaryrefslogtreecommitdiff
path: root/run-tests
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-08-16 21:19:07 +0100
committerw0rp <devw0rp@gmail.com>2020-08-16 21:20:08 +0100
commit5c778e1ae752163a849609318ace6c3c6a37d6f7 (patch)
treee63994ca0e20c554caa31b43f7e1a5fa62795b4d /run-tests
parent5ceda0164c5fae0d61fd51d4c9e083b27abdc9d2 (diff)
downloadale-5c778e1ae752163a849609318ace6c3c6a37d6f7.zip
Make it easier to run tests locally
Certain tests could break if you ran them separately from other tests. They have been patched. `run-tests` now has a `--fast` option which runs tests with only the fastest Vim version ALE tests with, and the custom checks.
Diffstat (limited to 'run-tests')
-rwxr-xr-xrun-tests8
1 files changed, 8 insertions, 0 deletions
diff --git a/run-tests b/run-tests
index c71f90d1..1d452a72 100755
--- a/run-tests
+++ b/run-tests
@@ -83,6 +83,13 @@ while [ $# -ne 0 ]; do
run_neovim_03_tests=0
shift
;;
+ --fast)
+ run_vim_80_tests=0
+ run_vim_81_tests=0
+ run_neovim_02_tests=0
+ run_neovim_03_tests=1
+ shift
+ ;;
--help)
echo 'Usage: ./run-tests [OPTION]... [FILE]...'
echo
@@ -99,6 +106,7 @@ while [ $# -ne 0 ]; do
echo ' --vim-80-only Run tests only for Vim 8.0'
echo ' --vim-81-only Run tests only for Vim 8.1'
echo ' --linters-only Run only Vint and custom checks'
+ echo ' --fast Run only the fastest Vim and custom checks'
echo ' --help Show this help text'
echo ' -- Stop parsing options after this'
exit 0