]> git.itanic.dy.fi Git - linux-stable/commit
kselftest/alsa: pcm-test: Decrease stream duration from 4 to 2 seconds
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Tue, 20 Jun 2023 22:08:26 +0000 (18:08 -0400)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Jul 2023 06:58:27 +0000 (08:58 +0200)
commit7d43f51e4046c49230dea0d4f991c4cd1759327f
treea8aa78994d29d659ff176066d5df688f2469267a
parent0825d54a3081151201bbfe05f4d408613ef3ef1e
kselftest/alsa: pcm-test: Decrease stream duration from 4 to 2 seconds

Currently test_pcm_time() streams audio on each PCM with each
configuration for 4 seconds. This time can add up, and with the current
45 second kselftest timeout, some machines like mt8192-asurada-spherion
can't even run to completion. Lower the duration to 2 seconds to cut the
test duration in half, without reducing the test coverage.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20230620220839.2215057-3-nfraprado@collabora.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
tools/testing/selftests/alsa/pcm-test.c