From cd0b90dc74996f7bd7b897834bac7038ffb7f5b8 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 12 May 2026 00:09:15 -0500 Subject: 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. --- .claude/hooks/validate-el.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.claude') 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 -- cgit v1.2.3