diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-16 15:59:50 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-16 15:59:50 -0500 |
| commit | f30a96edd320337ea9a35d2f0fc0cf21f94deb05 (patch) | |
| tree | cf9f111293ef8d8772f2de3ff3016578e131cd0c /tests/test-calendar-sync--add-days.el | |
| parent | 5803bab70d4b6298877bd8c8b96b0813e875f1c0 (diff) | |
| download | dotemacs-f30a96edd320337ea9a35d2f0fc0cf21f94deb05.tar.gz dotemacs-f30a96edd320337ea9a35d2f0fc0cf21f94deb05.zip | |
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-calendar-sync--add-days.el')
0 files changed, 0 insertions, 0 deletions
