From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EEDBCE79A9 for ; Tue, 19 Sep 2023 16:55:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231890AbjISQzc (ORCPT ); Tue, 19 Sep 2023 12:55:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231863AbjISQz3 (ORCPT ); Tue, 19 Sep 2023 12:55:29 -0400 Received: from mail1.perex.cz (mail1.perex.cz [77.48.224.245]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BDF4D6 for ; Tue, 19 Sep 2023 09:55:22 -0700 (PDT) Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id 018B811D3; Tue, 19 Sep 2023 18:55:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz 018B811D3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1695142519; bh=5LNczy2+dyEHAXUylvE30St6GuD+e3uy+gkBfmJ4xzg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=g6Uew+A+HTxwJjlNBwqgEs/e8N6xOdlJQ5wxzPvcT2w/EAIp1/S8qEedhv+CiX3hr 5KrkeKXQJCGE/CypLEbmyW6enidBBYsz7ofaXol8RrMV9cKv8XrpRNkDMCmDEqE4yp 5Gzvu+qoYS7RpzD3yjUqVBnNRuUmE0UFfa3n4d4s= Received: from [192.168.100.98] (unknown [192.168.100.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: perex) by mail1.perex.cz (Perex's E-mail Delivery System) with ESMTPSA; Tue, 19 Sep 2023 18:55:10 +0200 (CEST) Message-ID: Date: Tue, 19 Sep 2023 18:55:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] kselftest/alsa: pcm-test: Report cards declared in config but missing Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Takashi Iwai Cc: kernel@collabora.com, Mark Brown , Shuah Khan , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org References: <20230919152702.100617-1-nfraprado@collabora.com> From: Jaroslav Kysela In-Reply-To: <20230919152702.100617-1-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19. 09. 23 17:26, NĂ­colas F. R. A. Prado wrote: > When parsing the configs, keep track of card configurations that match > the current system but haven't matched any card, and report those as > test failures as they represent that a card which was expected to be > present on the system is missing. This allows the configuration files to > not only be used to detect missing PCM devices (which is currently > possible) but also that the soundcard hasn't been registered at all. > > Signed-off-by: NĂ­colas F. R. A. Prado Thanks, Reviewed-by: Jaroslav Kysela -- Jaroslav Kysela Linux Sound Maintainer; ALSA Project; Red Hat, Inc.