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 CA525C04AAD for ; Wed, 20 Sep 2023 16:26:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234580AbjITQ0R (ORCPT ); Wed, 20 Sep 2023 12:26:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233691AbjITQ0P (ORCPT ); Wed, 20 Sep 2023 12:26:15 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD7F9C2; Wed, 20 Sep 2023 09:26:06 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id B0705221CC; Wed, 20 Sep 2023 16:26:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1695227164; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OLn8yWRXNtM1vzeh+k8IzT+RT5YudYxnSIDB4ufkXsA=; b=sVt4nV0GM8aBnWV5AaWOmn/g3abQZs8Fu97MDTWPbAcDOIsHeN3BeuJ7UZvdCDOHFGV3+I 5QxdcL0y+6RH+3DmElbXvHJI8oH1KZIboR4BSjf8E6/9AFWw/gjUiGYCIrcMs6VdPNSQ5+ N3HgmhWpBrItxa2xdXlwNaFPOWsA6L8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1695227164; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OLn8yWRXNtM1vzeh+k8IzT+RT5YudYxnSIDB4ufkXsA=; b=p8FsJlTCf5DaWE9S3MfPxSeY2Db97u6w7H4FXAkFhBw7uPaC3tcTWwA65QCoSSjWlVrGXq ldg6DUvQW3khmxDA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 76CC61333E; Wed, 20 Sep 2023 16:26:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id xQMJHBwdC2WoZQAAMHmgww (envelope-from ); Wed, 20 Sep 2023 16:26:04 +0000 Date: Wed, 20 Sep 2023 18:26:04 +0200 Message-ID: <87bkdwvmjn.wl-tiwai@suse.de> From: Takashi Iwai To: =?ISO-8859-1?Q?=22N=EDcolas_F=2E_R=2E_A=2E_Prado=22?= Cc: Takashi Iwai , kernel@collabora.com, Jaroslav Kysela , Mark Brown , Shuah Khan , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH] kselftest/alsa: pcm-test: Report cards declared in config but missing In-Reply-To: <20230919152702.100617-1-nfraprado@collabora.com> References: <20230919152702.100617-1-nfraprado@collabora.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 19 Sep 2023 17:26:21 +0200, 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 Applied now. Thanks. Takashi