Re: [PATCH] kselftest/alsa: Mark test plan as skipped when no cards are available

From: Mark Brown
Date: Fri Sep 08 2023 - 19:08:33 EST


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?

Attachment: signature.asc
Description: PGP signature