Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2998456rdb; Tue, 12 Sep 2023 20:57:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGTm3KcVgXn1RyuUTJYF2fzegsDuQ9DsgD6/MXk/5LyFwVSeDZ17D2MGngI6Rqq3vnfqfZH X-Received: by 2002:a05:6358:e49d:b0:134:c984:ab74 with SMTP id by29-20020a056358e49d00b00134c984ab74mr1992185rwb.9.1694577465051; Tue, 12 Sep 2023 20:57:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694577465; cv=none; d=google.com; s=arc-20160816; b=k0s7sZkiixgBpbM6Zc9ZMQaGZXiP1rNaAuiNzfEoeWb6WiZjvC+aF3nhB5zHdtuYLa rKbgSRiwqopXXJp7Z/QQKCEH0kaixu87qBXChtvBNpCTX2CmQipwWc8JnG2kXw/YJG1O YzuU0hdWgIuKhpzFet4Z6R9d14g1WR3IwCv7Ju4oQ/L31hWhGRNf6ZYoU3TWSQOFDqoF K4f1xSl4vqcinxp8uPJUNq/4xQW4LUM+//z1b11iiez1J4e8yAaGoxbmciiGUwMKvv/Q ZGC2GSyIzqWI8jTokoAynXrjnpfZTBzKYMm5eeGV7k1A+/85l9woFd1kL+L8grnDHF5c JGMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6UdpZ974lzje9QLnFJ6Q7/VHcXZA40nQwl0/NOVY/jM=; fh=eKnQleih8XMIhZe8LuSbS67RIk7AoAd7WWHti/PrefE=; b=wudFfkDYk3F32+kbNMNsgksnZ5R8Oh4UIfPIoNH5gJRmqYOdNgB/ABJamnX4pO9zE7 0nQeRaQl5vdZX9uxpK6fS88WReNza3C3cFQg+6MLCIdTpSgdgltby86GLkyeXJ6sHVRx hXoBDnj1bjmUUZ+sgNKu5wq5PdJM7PaJrkPgbsPfK6fee8ANvkJMeAANlehrd0SdOtDl nnJDC2lXn4oEcRUhcWxEPvBiKMx2IgZzEjQyo2wDzKx3NdqtMu2lytzBzJ9kKCGe9kuM hUFeL/UpDbrbTNOoxVvY2yFLf0GJl6DceMUr1TxTv1muOEyqRPJgGgLV8ayiFbJqMcVE T11w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iGMNuICe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id s16-20020a17090aad9000b0026ce8c61037si687887pjq.175.2023.09.12.20.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 20:57:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iGMNuICe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D329F8211416; Tue, 12 Sep 2023 12:23:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232906AbjILTXp (ORCPT + 99 others); Tue, 12 Sep 2023 15:23:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229781AbjILTXo (ORCPT ); Tue, 12 Sep 2023 15:23:44 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAA49C1; Tue, 12 Sep 2023 12:23:40 -0700 (PDT) Received: from notapiano (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 16E3566072FA; Tue, 12 Sep 2023 20:23:37 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1694546619; bh=L5LXCOa8/2p57HUzV4WLPFe2Xu5lNiNBgeYv6A6lup4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iGMNuICeZavLkjCjzs0HR+aITpCAoLOzcgQo2B7IjI/edLsI4fMJ/cJmE5kh5ztrv 759iOSvTYFhUZNT2o+Z2o9+ckESdkjk4VJ6aE/oQNX2y4mVJ6aYH0fEhRkRiwo4e5V dQnJk6R42GtChT5a08UERktaP4mGRy7HkJlN2gcbFJPPxJP1p9NxgmYjCPYbRCOw7G TF6FU0QlfRafRa7CKhJ/Y7KNh4lHgUyd+IVJMuRD5edD57JftZqR2vsjDFGYYtzIta Fib19nE1fo5qmo99YuvD4SpUTIQ8uPcjik5UnooUaQVMNkvpLzeT9LYaJimDQrdWta 82TDu0ONiYN2Q== Date: Tue, 12 Sep 2023 15:23:34 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Mark Brown Cc: Takashi Iwai , kernel@collabora.com, Jaroslav Kysela , Shuah Khan , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH] kselftest/alsa: Mark test plan as skipped when no cards are available Message-ID: References: <20230908181242.95714-1-nfraprado@collabora.com> <0fa0901e-d271-438d-bc2b-11399ad3b07c@sirena.org.uk> <868a8f08-ba39-4550-8e7b-0572ea03c4e7@notapiano> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 12:23:46 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email On Mon, Sep 11, 2023 at 03:29:00PM +0100, Mark Brown wrote: > On Mon, Sep 11, 2023 at 08:35:37AM -0400, N?colas F. R. A. Prado wrote: > > On Sat, Sep 09, 2023 at 12:08:22AM +0100, Mark Brown wrote: > > > > Why? > > > To better reflect the actual test plan status. If 0 tests were run, it doesn't > > really make sense to say that the test plan passed, rather it was skipped since > > nothing was run. So with this change, if there's a regression that prevents the > > soundcard driver from even probing, the result won't be "pass", but "skip", and > > the reason 'No soundcard available' will be in the logs. > > So, I would interpret the overall result for the suite as being "No > errors were found in any of the cards discovered" if there is no > configuration file specified which enumerates the set of cards that are > expected (if there is a config file that's a different matter, we know > what we're expecting). I'm not sure that the different behaviour for 0 > cards is super useful. Right... So what we want to be doing is adding a config file for every platform defining the card(s) and PCMs expected, so that when they're missing a test failure will be triggered which is even more helpful. Although I've noticed that only missing PCMs are detected currently, but I imagine it should be possible to to extend the code to detect missing cards as well. I take it the intention is to expand the conf.d directory with configs for all platforms currently being tested then? There's only one example file there so I wasn't sure. Thanks, N?colas