[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZP8kLM5ln2YBCHap@finisterre.sirena.org.uk>
Date: Mon, 11 Sep 2023 15:29:00 +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 Mon, Sep 11, 2023 at 08:35:37AM -0400, NĂcolas F. R. A. Prado wrote:
> On Sat, Sep 09, 2023 at 12:08:22AM +0100, Mark Brown wrote:
> > Why?
> To better reflect the actual test plan status. If 0 tests were run, it doesn't
> really make sense to say that the test plan passed, rather it was skipped since
> nothing was run. So with this change, if there's a regression that prevents the
> soundcard driver from even probing, the result won't be "pass", but "skip", and
> the reason 'No soundcard available' will be in the logs.
So, I would interpret the overall result for the suite as being "No
errors were found in any of the cards discovered" if there is no
configuration file specified which enumerates the set of cards that are
expected (if there is a config file that's a different matter, we know
what we're expecting). I'm not sure that the different behaviour for 0
cards is super useful.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists