From patchwork Sun Sep 15 23:41:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abdul Rahim X-Patchwork-Id: 13804980 Received: from sonic314-20.consmr.mail.sg3.yahoo.com (sonic314-20.consmr.mail.sg3.yahoo.com [106.10.240.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF7F88BFC for ; Sun, 15 Sep 2024 23:52:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=106.10.240.144 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726444330; cv=none; b=H0WZmPFKCDT7tWj4nIRFbys5Il4TELml5LEwY+GHXN/DxTRP90HO9hLZJd8/I7zKxyAvPLyFA6M//gwKNSGWt7tNNsh9TCZQCzv3MyF8qOrWmQQjMUcKtts8Dwpnc/l/zISJQB0LGI/vrczKp+PCfJaU8GyAYFW9i8gCtg/0hp8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726444330; c=relaxed/simple; bh=JhF1+toXV3G2v4vEZXAzxyNXk8m1d+R/t9JppmZ7wTo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:References; b=l0DzDRoNhuCc4LTt+5M9b1Ky0wKklZyqZGkLI0D9DysslkjqJ4vbDc3Pz4EinUMbHVKMySXVIIR9UqdcXA/djcgknmZLSOHApB0uNKRcoyGqAYyTGBIgPOJhhdbfBvHZ/UJY22Bh0tBSp3+9/tkBuZ8L5SOvGk4fQrAL+sKSe0M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=myyahoo.com; spf=pass smtp.mailfrom=myyahoo.com; dkim=pass (2048-bit key) header.d=myyahoo.com header.i=@myyahoo.com header.b=mPLOBu7B; arc=none smtp.client-ip=106.10.240.144 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=myyahoo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=myyahoo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=myyahoo.com header.i=@myyahoo.com header.b="mPLOBu7B" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=myyahoo.com; s=s2048; t=1726444321; bh=5oNiWVZu9ZKL9lEl58ZCtsgJhu3V38tnkSoSEzwX1ps=; h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To; b=mPLOBu7Bcv8Y9ZvJn/PaLlLv1ZeOwSOTYcp+4OO0ZoItUJ8jxZ/sZnY2VHDqIbu45tA6ll7Pp/J7P6I9rOy9s8sDAL1M2eIdIHriykU2dtV+payI9BnWA5vgb491zE/WON0onc4Ys/NC9ruKr5L6OjyxRJfsAjz3W3yw16/P5r+e6sdUO05p87Sex2qlCZ3QXB8i13zMnMIqi9WFgKVcExczDkUdpNoZ0RZzMwUnW8kDCVjlU7fbYxWNDDA3y7+B8ShmERepJ5JI9FrfEKe7K9cgZ6GORkKIEyHvMwrfLADy8k3p4YKG1vqQdmtQQJ3MixxWTIpf7B52AnyIGJV1Fg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1726444321; bh=bRilfFUjM/bCI4Ie5k3tYvzZEKw1qdEuqhtDRfy/O9O=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=GthEyIUpj7o/mV3R0qTm5AZd4ZWWQS/DemU9ayVm11PRwDjl5eeOjdU9p/yaWKF40U/Xbo/5/mlNgx9FEXxZjsx0M1Gs5N4DJ1KgMXi2PZV5Noewh+lmDEZ0O1fi4Edvrjd/zPvL/X8MLIrQnr5oPBFGh6c0QKL3fkLA+1IAS+gCY2O1LyCvjBoHsXuPFIyZtH26+4tzqr1xQ4jK/nVbnhD7OMIKs6v/HaHfPgNMBEASS1o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kb18 RbrHpz0sXEK_eiFlG40xNYqK_CC80yxSBnShpew_PIiVCYPRlL27yS982DXOgl27XhU_Q9La1dx9 C4CPdB9uG.0e9NHJgln0a5tf_hY3nTE_72WGfvTa87bZrNbqXMMuKUeo6cJ9SS7y_3FBFpKTn4X_ 7PZdj7c15eGG1cFQ_fZ6DNghcazd_bXWK7ZL23vTEdLzLqSmV.CGFrZS_rFgNk6fJfP7t1SqlzR7 S8gCTphls30OKQfdWu.FxngKmd1pr11uKJdJDtduV1VvI9rK8uGwuA6huqsEIPFsIAeE- X-Sonic-MF: X-Sonic-ID: 5ddb7eeb-6895-4716-a3fa-549a47eaf98c Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.sg3.yahoo.com with HTTP; Sun, 15 Sep 2024 23:52:01 +0000 Received: by hermes--production-sg3-fc85cddf6-6lk5x (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4bbec87ee6aafb942a1f782e8b166a4d; Sun, 15 Sep 2024 23:41:48 +0000 (UTC) From: Abdul Rahim To: perex@perex.cz, tiwai@suse.com, broonie@kernel.org, shuah@kernel.org Cc: Abdul Rahim , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] kselftest/alsa: add silent flag to reduce noise Date: Mon, 16 Sep 2024 05:11:30 +0530 Message-ID: <20240915234131.61962-2-abdul.rahim@myyahoo.com> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240915234131.61962-2-abdul.rahim.ref@myyahoo.com> When ALSA is not installed on the users system, the error: "Package alsa was not found in the pkg-config search path. Perhaps you should add the directory containing `alsa.pc' to the PKG_CONFIG_PATH environment variable Package 'alsa', required by 'virtual:world', not found" is printed 3 times, which generates unnecessary noise. Hence, Remove unnecessary noise using `--silence-errors` on LDLIBS assignment, so the message is printed only once. Signed-off-by: Abdul Rahim --- tools/testing/selftests/alsa/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/alsa/Makefile b/tools/testing/selftests/alsa/Makefile index 25be68025290..cd022fc869fb 100644 --- a/tools/testing/selftests/alsa/Makefile +++ b/tools/testing/selftests/alsa/Makefile @@ -2,7 +2,7 @@ # CFLAGS += $(shell pkg-config --cflags alsa) $(KHDR_INCLUDES) -LDLIBS += $(shell pkg-config --libs alsa) +LDLIBS += $(shell pkg-config --silence-errors --libs alsa) ifeq ($(LDLIBS),) LDLIBS += -lasound endif