summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-13 19:33:08 +0300
committerPaul Buetow <paul@buetow.org>2026-05-13 19:33:08 +0300
commite6b85dd4222eb1660b591f5dbf6e2b58dfae3bfa (patch)
tree15940f868f6032eea1f5bff04b8c1adcfb9a97fe /AGENTS.md
parent270c226d8443c779374ee46631c4f385126b9a81 (diff)
docs(agents): document testRace mage target in AGENTS.md
The testRace and goBuildRace targets already existed in Magefile.go (added in commit 70acff7) but were missing from the build/test command reference in AGENTS.md. Add the testRace entry so contributors know how to run the full test suite under Go's race detector. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index d1b5d7f..d25cb43 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -19,6 +19,7 @@ mage build # Build BPF object + Go binary (all is an
mage buildDocker # Build ior inside a Rocky Linux 9 container (writes binary to repo root)
mage buildDockerEl8 # Build ior inside a Rocky Linux 8 container (writes ior.el8 to repo root)
mage test # Run all tests
+mage testRace # Run all tests with the race detector enabled (-race)
TEST_NAME=TestEventloop mage testWithName # Run specific test
mage integrationTest # Build + run integration tests in parallel (parallelism capped to NumCPU)
mage integrationTestSerial # Build + run integration tests one at a time