aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f9426f4..b8f34cb 100644
--- a/Makefile
+++ b/Makefile
@@ -468,6 +468,15 @@ test: ## Run all test suites (pytest + ERT + bats)
echo "pytest: $$d"; \
( cd "$$d" && python3 -m pytest -q ); \
done
+ @if command -v go >/dev/null 2>&1; then \
+ set -e; for d in languages/*/tests; do \
+ ls "$$d"/*_test.go >/dev/null 2>&1 || continue; \
+ echo "go test: $$d"; \
+ ( cd "$$d" && go test ./... ); \
+ done; \
+ else \
+ echo "go test: skipped (go not installed)"; \
+ fi
@set -e; for f in .ai/scripts/tests/test-*.el; do \
[ -e "$$f" ] || continue; \
echo "ert: $$(basename "$$f")"; \