diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-24 20:07:35 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-24 20:07:35 +0300 |
| commit | 2e0d60308722c44f11a613f9f6ad1e7d4b0df7fc (patch) | |
| tree | 931dbd18d563495b7af339342082d75feac30d62 | |
| parent | 546a7304be75050ad453028ac47135b414abb0ef (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>
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
