aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9b41bc3..34b6e56 100644
--- a/Makefile
+++ b/Makefile
@@ -416,10 +416,15 @@ install-ai: ## Bootstrap .ai/ in a fresh project ([PROJECT=<path>] [TRACK=1 | GI
catchup-machine: ## Pull rulesets, refresh install, sync .ai/ across projects, verify doctor
@bash scripts/catchup-machine.sh
-test: ## Run the .ai/scripts/ test suites (pytest + ERT)
+test: ## Run all test suites (pytest + ERT + bats)
@cd .ai/scripts/tests && python3 -m pytest
@set -e; for f in .ai/scripts/tests/test-*.el; do \
[ -e "$$f" ] || continue; \
echo "ert: $$(basename "$$f")"; \
emacs --batch -q -L .ai/scripts -l ert -l "$$f" -f ert-run-tests-batch-and-exit; \
done
+ @set -e; for f in scripts/tests/*.bats; do \
+ [ -e "$$f" ] || continue; \
+ echo "bats: $$(basename "$$f")"; \
+ bats "$$f"; \
+ done