aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 583ec1c..f9426f4 100644
--- a/Makefile
+++ b/Makefile
@@ -463,6 +463,11 @@ catchup-machine: ## Pull rulesets, refresh install, sync .ai/ across projects, v
test: ## Run all test suites (pytest + ERT + bats)
@cd .ai/scripts/tests && python3 -m pytest
@cd hooks/tests && python3 -m pytest
+ @set -e; for d in languages/*/tests; do \
+ ls "$$d"/test_*.py >/dev/null 2>&1 || continue; \
+ echo "pytest: $$d"; \
+ ( cd "$$d" && python3 -m pytest -q ); \
+ done
@set -e; for f in .ai/scripts/tests/test-*.el; do \
[ -e "$$f" ] || continue; \
echo "ert: $$(basename "$$f")"; \