summaryrefslogtreecommitdiff
path: root/run-tests
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-22 21:08:32 +0100
committerw0rp <devw0rp@gmail.com>2017-08-22 21:08:32 +0100
commit47a8ebc8b9ae76ee2b23e388d30324b97e102eed (patch)
tree70908c6768e7b38d4ee92facfe4e647381970891 /run-tests
parent9d3bda4441a293eac47050428fee7fb4879547d7 (diff)
downloadale-47a8ebc8b9ae76ee2b23e388d30324b97e102eed.zip
Prevent .swp files from causing the tests to hang in Vim 8
Diffstat (limited to 'run-tests')
-rwxr-xr-xrun-tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/run-tests b/run-tests
index eb398d0d..316eb6c9 100755
--- a/run-tests
+++ b/run-tests
@@ -82,6 +82,9 @@ if [ $# -ne 0 ]; then
tests="$*"
fi
+# Delete .swp files in the test directory, which cause Vim 8 to hang.
+find test -name '*.swp' -delete
+
docker images -q w0rp/ale | grep "^$CURRENT_IMAGE_ID" > /dev/null \
|| docker pull "$IMAGE"