Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2224492rdb; Mon, 11 Sep 2023 15:10:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnOKpMEc+/vtJKN3pS7dDAXMcBL0Yk8ldF7PUS97L9n5nuJeXSLgdQX29pzNEHfaU732O3 X-Received: by 2002:a17:902:eb46:b0:1bd:bbc3:c87b with SMTP id i6-20020a170902eb4600b001bdbbc3c87bmr11363105pli.41.1694470226068; Mon, 11 Sep 2023 15:10:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694470226; cv=none; d=google.com; s=arc-20160816; b=QBXqyO8CR89Ef/+X193IPfkJ+gsSDktY5upsblNUe8rpLZGPCyl26GZkTDDxUhBxPQ ZD3/PgQaF4tCuWSyK30eLrz64poJi0tZk+0jNpK7shSmeaiIrCmSNHHxQFl2RbncZR0L J22Snl4uSHMgEKicfA/xDKYU/rrJ9pjUemWPy8pM5Nbg20JFr3KZBoQIfviLcnE23ApG gu4nAkOCdcST9QDhj091PzPt9TknPCjvsJ/Irfrotcmx4I6vcIACFlzy3N47X7rTDL5/ 1nQimGMhjGfeu+QXoA4Cmny7gCUFDdkS2yge6UpI6FjLKQYF0oJsp2NjyXpcFU8p2RB8 iQZg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mbydnOQvRAuttlYx5FWeUXSafPcLq5QVT0uC5WVO7Ag=; fh=6tvyGgJumYQTGedb1rdUtmCDaZps7qlC761HvEhrgaM=; b=vOD3dJkRXB+YgcpsKax84Q+82V8oMVlNKku8oWJlhLUPNsqZm2a18gZQr4bIWMQXGV S1nDEtyO1DAzS7h8A+Nt2bi2g5iSfPyqbcSFT/KzjMgXRQqVcbSRqQL7WJTwU7+42Zya Ky6yXeWa4TXKBEEbbp0wKeLTKNznbZKIMZAgETGsBN3V+hxDKZTs9ORboty0Ez4Wr0PJ BG7EcxdnkGT9m7eHDITtPNqvyl/IurA6Cp193fvGod34hZyzLiIdpqjOqo9GYGknDa/S g9tZt5kaJOJao4YCpwmC7zp7ITirRbdlWhgTzl6Eo/JzszDpJrZoAiomV2XeK9Gsq8wy WNOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XLI6T+Pp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kv4-20020a17090328c400b001c1e1fe16bcsi6840154plb.252.2023.09.11.15.10.09; Mon, 11 Sep 2023 15:10:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XLI6T+Pp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358219AbjIKWIQ (ORCPT + 99 others); Mon, 11 Sep 2023 18:08:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239801AbjIKO3J (ORCPT ); Mon, 11 Sep 2023 10:29:09 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FC09F0; Mon, 11 Sep 2023 07:29:04 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC4D1C433CB; Mon, 11 Sep 2023 14:29:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694442544; bh=AigyTmddvwvr5mfoNvzt6guQgCiVr/QlkeCPzes3DpE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XLI6T+Pp+fXc6eZt4Rlqy8LMVXTEOollEM8Ic8DUPtv5m5HijnH7t2DTBjAO32w6q VVhhOd05/0L6qET6YIoB+rzt/mnqUZF6H6yQ2ylqmKbtvSUTcyKuvRh3R3BesS9qEr Cgn+8FFSCeMyQfj3qnRcURWBTYSbRABZ4AKHqWKGSaRZoMDO8zne5qTHKG2aidDeBF q6bH3iA798CQr4f6nTMh1SFXk+Zi0qIcviqrpkLkiBHoHEOSjN9ieLLifj3Xy/PSA2 bCq1o4NOgH31hEaVOnUflk77kd0PkpKdjNuFcGsnV0jm5j7axwkUn2A26u4aXea4SZ McvPpsjB4m1vQ== Date: Mon, 11 Sep 2023 15:29:00 +0100 From: Mark Brown To: =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado 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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="upLhFwPGUAS0CWZq" Content-Disposition: inline In-Reply-To: <868a8f08-ba39-4550-8e7b-0572ea03c4e7@notapiano> X-Cookie: Save energy: Drive a smaller shell. X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --upLhFwPGUAS0CWZq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 11, 2023 at 08:35:37AM -0400, N=EDcolas 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 do= esn'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 preven= ts 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. --upLhFwPGUAS0CWZq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmT/JCsACgkQJNaLcl1U h9BPVAf/RSFHSOlUvU0zkBcxBW+G0eqxamHxmKQmBzKhecWQfBvToFYzyPMTI8hj 1nkjmK70vMjHhjLZZri+srrnWwBLzVknDtJbaMFXkzFQibRN3P/60ChXGtg9WC1X 5YzCyo+Na071zvmceag5yoyC55RoWZiMknKj89Y4DjL6cnExT7MEHuBGlwioUjjP 1NApQduQGNWL8TNDcUkbDRa+ZPAkB6LspNVY4J7+S+R8jCqIINtX/YlKK+1oz60a 50FFhWVNgjGigFqy/yGMaAocWDhSkTrf5xqHb5CjlaleQlhSW1Lh/TVaClZNPI9E 0F0Aj163sUBtchAoz9QUWSmzw0qWDg== =bHB7 -----END PGP SIGNATURE----- --upLhFwPGUAS0CWZq--