Re: [PATCH 0/3] selftests: ALSA: pcmtest: Test error injection and pause
From: Takashi Iwai
Date: Fri Oct 23 2026 - 09:40:16 EST
On Thu, 22 Oct 2026 13:12:41 +0200,
HyeongJun An wrote:
>
> The pcmtest driver can return errors from its PCM callbacks and
> supports pause, but the selftest covers neither. This series adds tests
> for both.
>
> Patch 1 moves the capture data check into a helper, so patch 3 can
> reuse it. Patch 2 tests each inject_*_err parameter. Patch 3 tests
> pausing a capture stream.
>
> Tested on x86_64 with the sound/for-next driver, built for a 6.17 host.
> All 10 tests pass in three runs. To check that the pause test catches
> real bugs, I loaded two broken drivers. One keeps running on PAUSE_PUSH.
> The other restarts the data on PAUSE_RELEASE. Only capture_pause fails
> on each.
>
> HyeongJun An (3):
> selftests: ALSA: pcmtest: Move the capture data check into a helper
> selftests: ALSA: pcmtest: Test errors from the PCM callbacks
> selftests: ALSA: pcmtest: Test pausing a capture stream
JFYI, I postpone merging this for 7.5, as it doesn't look like a
regression fix.
thanks,
Takashi