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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1249DC433F5 for ; Mon, 6 Dec 2021 17:03:21 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AE13D20D2; Mon, 6 Dec 2021 18:02:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AE13D20D2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1638810199; bh=CruF0XwkjUihaS83rBxrZFreo0S5fgSA6XpLfr2goEI=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=LAPYo2pzyQ/lziL2TeOnoh5k5TZ9kdUJO0szLFizKM3O1iXQuPrzQ07efy23qJu5W rxSSDFifQW7ohIheHdiZWTSv7aNAViRjRnWM3zBjaxFACq74enkMazKgyaxv/NAhQo nIVrz+T/xPQ5hPcBTcOLiKSMi7TfppD7L2D+XQG0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 4A601F804E5; Mon, 6 Dec 2021 18:02:29 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 50B1FF804EC; Mon, 6 Dec 2021 18:02:27 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1B7F2F80118 for ; Mon, 6 Dec 2021 18:02:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1B7F2F80118 X-IronPort-AV: E=McAfee;i="6200,9189,10190"; a="323612239" X-IronPort-AV: E=Sophos;i="5.87,292,1631602800"; d="scan'208";a="323612239" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2021 09:01:29 -0800 X-IronPort-AV: E=Sophos;i="5.87,292,1631602800"; d="scan'208";a="460898846" Received: from jcsee-mobl2.ccr.corp.intel.com (HELO [10.209.128.127]) ([10.209.128.127]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2021 09:01:28 -0800 Subject: Re: [PATCH v2] kselftest: alsa: Add simplistic test for ALSA mixer controls kselftest To: Mark Brown References: <20211206160305.194011-1-broonie@kernel.org> <33692870-fccc-6d63-2c95-056a21fff791@linux.intel.com> From: Pierre-Louis Bossart Message-ID: Date: Mon, 6 Dec 2021 11:01:25 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Cc: Takashi Iwai , alsa-devel@alsa-project.org, Shuah Khan , linux-kselftest@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" >>> +// This test will iterate over all cards detected in the system, exercising > >> would it make sense to test only specific cards? People doing automated >> tests might have a USB device for capture of analog loopbacks, or >> injection of specific streams for capture, and usually care about >> testing such devices - which do need manual setups and wiring btw. > > It's not really idiomatic for kselftest to require any per system > configuration by default - half the thing is that you can just run it > and it should do as much as it can sensibly on the system. You could > definitely add some command line options for development or manual usage > though. I was thinking of adding this test to our CI, it's a bit orthogonal to self-tests indeed. IIRC we check that we can modify all the PGA settings for volume control but this test is a lot more generic.