summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-03-06 23:32:48 +0000
committerw0rp <devw0rp@gmail.com>2017-03-06 23:32:48 +0000
commit663d8f832fb2d59751722dc9f22f5c44dcc84b31 (patch)
tree592f1cf1bf2c8fa67dada4d4062045d9db1f30ab
parent75a2dc5ff5f1975b1a80b59704ffdfd1902b050f (diff)
downloadale-663d8f832fb2d59751722dc9f22f5c44dcc84b31.zip
Group handler test cases in a directory
-rw-r--r--Makefile3
-rw-r--r--test/handler/test_common_handlers.vader (renamed from test/test_common_handlers.vader)0
-rw-r--r--test/handler/test_credo_handler.vader (renamed from test/test_credo_handler.vader)0
-rw-r--r--test/handler/test_eslint_handler.vader (renamed from test/test_eslint_handler.vader)0
-rw-r--r--test/handler/test_flow_handler.vader (renamed from test/test_flow_handler.vader)0
-rw-r--r--test/handler/test_fortran_handler.vader (renamed from test/test_fortran_handler.vader)0
-rw-r--r--test/handler/test_ghc_handler.vader (renamed from test/test_ghc_handler.vader)0
-rw-r--r--test/handler/test_mypy_handler.vader (renamed from test/test_mypy_handler.vader)0
-rw-r--r--test/handler/test_nix_handler.vader (renamed from test/test_nix_handler.vader)0
-rw-r--r--test/handler/test_php_handler.vader (renamed from test/test_php_handler.vader)0
-rw-r--r--test/handler/test_rust_handler.vader (renamed from test/test_rust_handler.vader)0
-rw-r--r--test/handler/test_standard_handler.vader (renamed from test/test_standard_handler.vader)0
-rw-r--r--test/handler/test_typecheck_handler.vader (renamed from test/test_typecheck_handler.vader)0
13 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5e939c1e..b515c39c 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,10 @@ SHELL := /usr/bin/env bash
IMAGE ?= w0rp/ale
CURRENT_IMAGE_ID = 107e4efc4267
DOCKER_FLAGS = --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)"
-tests = test/*
+tests = test/**
test-setup:
+ shopt -s globstar; \
docker images -q w0rp/ale | grep ^$(CURRENT_IMAGE_ID) > /dev/null || \
docker pull $(IMAGE)
diff --git a/test/test_common_handlers.vader b/test/handler/test_common_handlers.vader
index 0968a916..0968a916 100644
--- a/test/test_common_handlers.vader
+++ b/test/handler/test_common_handlers.vader
diff --git a/test/test_credo_handler.vader b/test/handler/test_credo_handler.vader
index 73f98ba0..73f98ba0 100644
--- a/test/test_credo_handler.vader
+++ b/test/handler/test_credo_handler.vader
diff --git a/test/test_eslint_handler.vader b/test/handler/test_eslint_handler.vader
index 692d8b30..692d8b30 100644
--- a/test/test_eslint_handler.vader
+++ b/test/handler/test_eslint_handler.vader
diff --git a/test/test_flow_handler.vader b/test/handler/test_flow_handler.vader
index c6b86104..c6b86104 100644
--- a/test/test_flow_handler.vader
+++ b/test/handler/test_flow_handler.vader
diff --git a/test/test_fortran_handler.vader b/test/handler/test_fortran_handler.vader
index acd83e3c..acd83e3c 100644
--- a/test/test_fortran_handler.vader
+++ b/test/handler/test_fortran_handler.vader
diff --git a/test/test_ghc_handler.vader b/test/handler/test_ghc_handler.vader
index 2350d9e5..2350d9e5 100644
--- a/test/test_ghc_handler.vader
+++ b/test/handler/test_ghc_handler.vader
diff --git a/test/test_mypy_handler.vader b/test/handler/test_mypy_handler.vader
index e161f8ae..e161f8ae 100644
--- a/test/test_mypy_handler.vader
+++ b/test/handler/test_mypy_handler.vader
diff --git a/test/test_nix_handler.vader b/test/handler/test_nix_handler.vader
index 188d3fa9..188d3fa9 100644
--- a/test/test_nix_handler.vader
+++ b/test/handler/test_nix_handler.vader
diff --git a/test/test_php_handler.vader b/test/handler/test_php_handler.vader
index bf6d45cc..bf6d45cc 100644
--- a/test/test_php_handler.vader
+++ b/test/handler/test_php_handler.vader
diff --git a/test/test_rust_handler.vader b/test/handler/test_rust_handler.vader
index d4d54d37..d4d54d37 100644
--- a/test/test_rust_handler.vader
+++ b/test/handler/test_rust_handler.vader
diff --git a/test/test_standard_handler.vader b/test/handler/test_standard_handler.vader
index 4a69c211..4a69c211 100644
--- a/test/test_standard_handler.vader
+++ b/test/handler/test_standard_handler.vader
diff --git a/test/test_typecheck_handler.vader b/test/handler/test_typecheck_handler.vader
index e42bcaf3..e42bcaf3 100644
--- a/test/test_typecheck_handler.vader
+++ b/test/handler/test_typecheck_handler.vader