Re: [PATCH] kselftest/alsa: Use card name rather than number in test names

From: Mark Brown
Date: Thu Jul 11 2024 - 12:19:36 EST


On Thu, Jul 11, 2024 at 06:08:38PM +0200, Jaroslav Kysela wrote:
> On 11. 07. 24 16:33, Mark Brown wrote:

> > Address this by replacing our use of card numbers with card names which are
> > more likely to be stable across runs. We use the long name since in the

> I think that a combination of card number and card ID may be sufficient (and
> a compromise). It's shorter and user-friendly. Additionally, a table may be
> printed at the beginning of report with card number, card ID and long card
> name for further processing and identification.

These don't help, the problem is that anything which includes the card
number in the test name result is going to result in unstable test names
depending on race conditions at boot. There are automated systems that
parse kselftest output generically, I'm not sure there's a great deal of
enthusiasm for writing a custom parser for the ALSA selftests
specifically.

Attachment: signature.asc
Description: PGP signature