[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0fa0901e-d271-438d-bc2b-11399ad3b07c@sirena.org.uk>
Date: Sat, 9 Sep 2023 00:08:22 +0100
From: Mark Brown <broonie@...nel.org>
To: NĂcolas F. R. A. Prado
<nfraprado@...labora.com>
Cc: Takashi Iwai <tiwai@...e.com>, kernel@...labora.com,
Jaroslav Kysela <perex@...ex.cz>,
Shuah Khan <shuah@...nel.org>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH] kselftest/alsa: Mark test plan as skipped when no cards
are available
On Fri, Sep 08, 2023 at 02:12:40PM -0400, NĂcolas F. R. A. Prado wrote:
> When no soundcards are available, it won't be possible to run any tests.
> Currently, when this happens, in both pcm-test and mixer-test, 0
> tests are reported, and the pass exit code is returned. Instead, call
> ksft_exit_skip() so that the whole test plan is marked as skipped in the
> KTAP output and it exits with the skip exit code.
Why?
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists