mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] selftests: ALSA: pcmtest: Fix two test bugs
@ 2026-10-20 10:18 HyeongJun An
  2026-10-20 10:18 ` [PATCH 1/2] selftests: ALSA: pcmtest: Check the frame count of each transfer HyeongJun An
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: HyeongJun An @ 2026-10-20 10:18 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Ivan Orlov, Mark Brown, Jaroslav Kysela, Shuah Khan, linux-sound,
	linux-kselftest, linux-kernel, HyeongJun An

Two fixes for the pcmtest selftest. The first makes the playback tests
fail when a transfer fails. The second sizes the pattern buffer to the
4096 bytes the driver allows.

Tested on x86_64 with snd-pcmtest. All five tests pass as before. With
inject_trigger_err=1 the playback and ni_playback tests passed before
and now fail. With a 2000-byte pattern on channel 0 four tests failed
before and now pass.

HyeongJun An (2):
  selftests: ALSA: pcmtest: Check the frame count of each transfer
  selftests: ALSA: pcmtest: Make room for the longest fill pattern

 .../selftests/alsa/test-pcmtest-driver.c      | 25 +++++++++++--------
 1 file changed, 15 insertions(+), 10 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-21  9:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20 10:18 [PATCH 0/2] selftests: ALSA: pcmtest: Fix two test bugs HyeongJun An
2026-10-20 10:18 ` [PATCH 1/2] selftests: ALSA: pcmtest: Check the frame count of each transfer HyeongJun An
2026-10-20 10:18 ` [PATCH 2/2] selftests: ALSA: pcmtest: Make room for the longest fill pattern HyeongJun An
2026-10-21  9:36 ` [PATCH 0/2] selftests: ALSA: pcmtest: Fix two test bugs Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®