aboutsummaryrefslogtreecommitdiff
path: root/tests/test-chrono-tools--sound-helpers.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-16 15:59:50 -0500
committerCraig Jennings <c@cjennings.net>2026-07-16 15:59:50 -0500
commitf30a96edd320337ea9a35d2f0fc0cf21f94deb05 (patch)
treecf9f111293ef8d8772f2de3ff3016578e131cd0c /tests/test-chrono-tools--sound-helpers.el
parent5803bab70d4b6298877bd8c8b96b0813e875f1c0 (diff)
downloaddotemacs-f30a96edd320337ea9a35d2f0fc0cf21f94deb05.tar.gz
dotemacs-f30a96edd320337ea9a35d2f0fc0cf21f94deb05.zip
fix(test): stop silently skipping every integration testHEADmain
INTEGRATION_TESTS globbed test-integration-%.el through $(wildcard ...), which takes a shell glob where % is a literal character, not a pattern. It expanded to nothing, so test-all skipped the integration phase and still printed "All tests complete". Fourteen files never ran, for as long as the variable has existed. The % is right one line up, because filter-out does take make patterns. The glob is now test-integration-*.el, and the counts add up: 597 unit + 14 integration = the 611 test files on disk. Turning the gate on surfaced five failures, none of them in production code. Four were rotting fixtures. parse-ics drops events outside a rolling window of today minus calendar-sync-past-months to plus future-months, and four tests fed it dates pinned to November 2025 or February 2026. They passed when written and began failing once the window slid past them. Their neighbours survived for two reasons: some hand their fixture to parse-event, which applies no window, and the weekly ones use unbounded RRULEs that keep generating into the window however old the DTSTART is. The fixtures now build dates relative to now, which is what the timezone file's own helper already did. The fifth was a real regression, caught five months late. The recording toggle test asserted on a fixture device and got whatever hardware is plugged into the developer's machine. cj/recording-get-devices runs --validate-system-audio, which shells to pactl, finds the fixture device isn't a real source, and auto-fixes the configured device to the default sink's monitor. The test mocked start-process-shell-command but not shell-command-to-string, so validation reached the real machine. It passes at 5bdd3420~1 and fails at 5bdd3420, the commit that added that validation in February. I faked pactl at the shell boundary rather than stubbing --validate-system-audio out, so the validation logic still runs, against a fixture machine.
Diffstat (limited to 'tests/test-chrono-tools--sound-helpers.el')
0 files changed, 0 insertions, 0 deletions