summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-24 20:07:35 +0300
committerPaul Buetow <paul@buetow.org>2025-06-24 20:07:35 +0300
commit2e0d60308722c44f11a613f9f6ad1e7d4b0df7fc (patch)
tree931dbd18d563495b7af339342082d75feac30d62 /Makefile
parent546a7304be75050ad453028ac47135b414abb0ef (diff)
Add fail-fast flag to Makefile test target
- Tests will now stop on first failure with -failfast flag - Speeds up test debugging when failures occur - Applies to all test runs via make test 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 717d701..71ae1ed 100644
--- a/Makefile
+++ b/Makefile
@@ -46,4 +46,4 @@ lint:
test:
${GO} clean -testcache
set -e; find . -name '*_test.go' | while read file; do dirname $$file; done | \
- sort -u | while read dir; do ${GO} test -tags '${GO_TAGS}' --race -v $$dir || exit 2; done
+ sort -u | while read dir; do ${GO} test -tags '${GO_TAGS}' --race -v -failfast $$dir || exit 2; done