Skip to content

selftests: ALSA: pcmtest: Fix two test bugs

HyeongJun An linux-kselftest linux-sound lkml 1 version Applied

Status from this message: Applied both patches. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2selftests: ALSA: pcmtest: Check the frame count of each transfertools/testing/selftests/alsa/test-pcmtest-driver.c+12 -90 replies
2/2selftests: ALSA: pcmtest: Make room for the longest fill patterntools/testing/selftests/alsa/test-pcmtest-driver.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] selftests: ALSA: pcmtest: Fix two test bugs

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(-)
Signature · 1 line
2.43.0