diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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")"; \ |
