diff options
author | Mark Brown <broonie@kernel.org> | 2024-07-16 15:47:59 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-07-18 16:47:34 +0200 |
commit | b1a7b97aa534b031f929ba4bf70d2e869b117c9d (patch) | |
tree | 113db2adaf00276dac292a777629ca136ee56121 /scripts/gdb/linux/radixtree.py | |
parent | d7063c08738573fc2f3296da6d31a22fa8aa843a (diff) |
kselftest/alsa: Use card name rather than number in test names
Currently for the PCM and mixer tests we report test names which identify
the card being tested with the card number. This ensures we have unique
names but since card numbers are dynamically assigned at runtime the names
we end up with will often not be stable on systems with multiple cards
especially where those cards are provided by separate modules loeaded at
runtime. This makes it difficult for automated systems and UIs to relate
test results between runs on affected platforms.
Address this by replacing our use of card numbers with card names which are
more likely to be stable across runs. We use the card ID since it is
guaranteed to be unique by default, unlike the long name. There is still
some vulnerability to ordering issues if multiple cards with the same base
ID are present in the system but have separate dependencies but not all
drivers put distinguishing information in their long names.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20240716-alsa-kselftest-board-name-v2-1-60f1acdde096@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/gdb/linux/radixtree.py')
0 files changed, 0 insertions, 0 deletions