Skip to content
Snippets Groups Projects
Commit 2a94a089 authored by Abdul Rahim's avatar Abdul Rahim Committed by Takashi Iwai
Browse files

selftest: alsa: check if user has alsa installed


Currently, if alsa development package is not installed on the user's
system then the make command would print a `pagefull` of errors. In
particular one error message is repeated 3 times. This error is returned
by `pkg-config` and since it is not being handeled appropriately,
repeated calls to `pkg-config` prints the same message again.

This patch adds check for alsa package installation. If alsa is not
installed, a short and consize error is returned. Also, it does not
affect the compilation of other tests.

Signed-off-by: default avatarAbdul Rahim <abdul.rahim@myyahoo.com>
Reviewed-by: default avatarShuah Khan <skhan@linuxfoundation.org>
Link: https://patch.msgid.link/20240922225824.18918-1-abdul.rahim@myyahoo.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent bf36793f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment