summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2025-11-15feat(tests): Improve test failure reporting in MakefileCraig Jennings
Major improvements to test output clarity and failure diagnostics: Output Improvements: - Clean aligned output showing test file + pass/fail status - Show test count for passing files: "✓ (11 tests)" - Clear "✗ FAILED" marker for failures (no verbose noise) - Suppress passing test details (reduces output by ~95%) Failure Summary: - Clear visual separator box for failures - List all failed files with bullet points - Show specific failed test names with line numbers - Provide copy-paste commands to re-run failures Technical Changes: - Capture test output and only display on failure - Extract test count from ERT output for passing tests - Save failure details to temp files for summary - Apply same improvements to both unit and integration tests Benefits: - Instantly see which tests failed (no scrolling) - Know exactly which test names failed - Get line numbers for debugging - Copy-paste commands to re-run specific failures - Dramatically reduced output verbosity Example summary: Failed test files: • test-mousetrap-mode--get-profile-for-mode.el Errors: FAILED test-foo (line 15) Run individual failing tests with: make test-file FILE=test-mousetrap-mode--get-profile-for-mode.el 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12refactor: Remove ANSI color codes from MakefileCraig Jennings
Replaced colored output with plain text symbols for better portability: - Removed all COLOR_* variable definitions - Replaced color-wrapped text with plain text - Added simple text markers: - [i] for informational messages - [!] for warnings - ✓ for success (kept from before) - ✗ for errors (kept from before) - ⚠ for warnings (kept from before) Benefits: - Works in all terminals and CI environments - No escape code littering when piped or logged - Simpler, more maintainable code - Cleaner output that's easier to read Changes: 40 insertions, 45 deletions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09test: Exclude slow tests from batch executionsCraig Jennings
Update the test commands to skip tests tagged with :slow during batch execution, improving testing efficiency.
2025-11-03feat: Add comprehensive Makefile for testing and validationCraig Jennings
Add Makefile adapted from chime.el with targets for: Testing: - make test - Run all tests (unit + integration) - make test-unit - Run unit tests only - make test-integration - Run integration tests only - make test-file FILE=<filename> - Run specific test file - make test-name TEST=<pattern> - Run tests matching pattern Validation: - make validate-parens - Check for unbalanced parentheses - make validate-modules - Load all modules to verify compilation - make compile - Byte-compile all modules - make lint - Run checkdoc, package-lint, elisp-lint Utilities: - make profile - Profile Emacs startup - make clean - Remove test artifacts and compiled files - make clean-compiled - Remove .elc/.eln files only - make clean-tests - Remove test artifacts only - make reset - Reset to first launch (destructive!) Default target is 'make help' which displays all available targets. Inline scripts from scripts/ directory: - delete-elisp-compiled-files.sh → make clean-compiled - profile-dotemacs.sh → make profile - reset-to-first-launch.sh → make reset Delete inlined scripts to reduce duplication. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>