aboutsummaryrefslogtreecommitdiff
path: root/.claude
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-12 00:09:15 -0500
committerCraig Jennings <c@cjennings.net>2026-05-12 00:09:15 -0500
commitcd0b90dc74996f7bd7b897834bac7038ffb7f5b8 (patch)
tree8c072614cd477676a98cef2730e62dae84aac586 /.claude
parent94ee5e4fac213de915a27906e4e0861e86de8914 (diff)
downloaddotemacs-cd0b90dc74996f7bd7b897834bac7038ffb7f5b8.tar.gz
dotemacs-cd0b90dc74996f7bd7b897834bac7038ffb7f5b8.zip
build: add make benchmark target and skip :perf tests by default
`make test', `make coverage', and the editor's PostToolUse test runner all selected `(not (tag :slow))', which let the now-`:perf'-tagged benchmark suite run alongside the unit tests. Each of those three filters now also excludes `:perf', and a new `make benchmark' target runs the benchmark file on its own. `make test-file' and `make test-name' keep their old filters so the suite stays reachable for ad-hoc runs. `COVERAGE_EXCLUDE' loses `test-lorem-optimum-benchmark.el'. The tag filter handles it now, so the only entry left is `test-all-comp-errors.el', which byte-compiles modules and can't run under undercover's instrumentation.
Diffstat (limited to '.claude')
-rwxr-xr-x.claude/hooks/validate-el.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.claude/hooks/validate-el.sh b/.claude/hooks/validate-el.sh
index dfb7ac7e..334578ae 100755
--- a/.claude/hooks/validate-el.sh
+++ b/.claude/hooks/validate-el.sh
@@ -98,7 +98,7 @@ if [ "$count" -ge 1 ] && [ "$count" -le "$MAX_AUTO_TEST_FILES" ]; then
-L "$PROJECT_ROOT/tests" \
--eval '(package-initialize)' \
-l ert "${load_args[@]}" \
- --eval "(ert-run-tests-batch-and-exit '(not (tag :slow)))" 2>&1)"; then
+ --eval "(ert-run-tests-batch-and-exit '(not (or (tag :slow) (tag :perf))))" 2>&1)"; then
fail_json "TESTS FAILED ($count test file(s))" "$f" "$output"
fi
fi