Received: by 10.223.185.116 with SMTP id b49csp5952869wrg; Wed, 28 Feb 2018 01:14:01 -0800 (PST) X-Google-Smtp-Source: AH8x227lUk1k38EPr+VfdPzg+Pfzb17ci3TRN89dHy6L5fgF3l9ik9EEQkkwa3pSWYWs/yi9bw0G X-Received: by 10.99.97.211 with SMTP id v202mr13644229pgb.193.1519809241502; Wed, 28 Feb 2018 01:14:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519809241; cv=none; d=google.com; s=arc-20160816; b=lRHS+wtBCURCpWUeQe5Ze8qPoFILJbvWuSCLiLk4TieQg71BM0wJsm4rSO8Dryh1cs Ylhqnz9UJBzp0oqMQnd6dlyojPQkNEWyWRKwO9Zo/Bggrb+eYZMgTe0X9N16wflfshZ5 PkSvgHnA8oCNMcqd6BjZWmL8MY3o82tzbwiU9g+y11uoO5AP+KcK82zZEHt6P+goJuTQ qleSv9jBlBXv/6gPZ6+9JjKeHjGsHsmY7iBLLz9+/YDf21moLmoYl3AVL55cG94Te5Hv ploA35Z+ZOL+b2PTPJFIkB2SVw1JuK8WU43EPIrRtbl8GI9FzPqQ+gNY6crs99MihbmE YfSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=G8cGjU2xrPyjQQ3AW0F74Y38rxFgJ55iREzFSQAsP0A=; b=HGymzok4c+697Hma33kzCYnX3Ok4IGRqRkZ69dTq9r+4z3JkxPHokkDA5jOxgGW/MD Mc8peTgtPwP+S28YoJwwIBTmYqoHpC/80iB4SLGP45m+Dqux1x/SZQyU0MHKq+zNcvTf 98E3i0B7NRcRNgCH3FsB9pk+FzC0EMAWaPLc+TlDLZtdBLF8RGONBIk8xhQ9DcU3MsYP preFRsa3wmOOrrPPY4aAR753PkaCj96tN9ZyVE206EIlqCwRz7WEz9ddpgM87msweH0x MLoNb5rTqQgxVgkVY5rgG2X1T4P+k5Hx0Z9qusWW3xs7vAHnRCLGeA/mN5jSr91eITru ni4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AwRPWAsx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n6-v6si932803pla.619.2018.02.28.01.13.45; Wed, 28 Feb 2018 01:14:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AwRPWAsx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752157AbeB1JNF (ORCPT + 99 others); Wed, 28 Feb 2018 04:13:05 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:42593 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751707AbeB1JNC (ORCPT ); Wed, 28 Feb 2018 04:13:02 -0500 Received: by mail-qt0-f195.google.com with SMTP id t6so2050873qtn.9; Wed, 28 Feb 2018 01:13:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=G8cGjU2xrPyjQQ3AW0F74Y38rxFgJ55iREzFSQAsP0A=; b=AwRPWAsxSEEw6YsUv6TKP4L3scItLTT8ybX2Yoq4fn+xO24/+kUsso7pPX5MMIMzfA hUXEvtQVADA9XNyV6m2nFw0VJlXgYsXgTTZkQ6rGAPUCJFAVazuSE0K75i1VLjXoz6aT n+GIn7wJSrhi69QcDvppPZ//OSdmLkTn0m6+l/sAgHH7SDzxYR3pThMSkEzFo+UsPls5 aWSHfVBICx7HNBwX22KK8WweJ7R6q5TWF3dgu4eL8h29K5oZb5vP8yF2r6SBiNvKUEeg UBzqWkFaOXeP9LCIiLWIHpjohBUwus9WDx1DQXYJOdpkuKIbrF+WHDA1oGoqw75lYEAk SiTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=G8cGjU2xrPyjQQ3AW0F74Y38rxFgJ55iREzFSQAsP0A=; b=in5Ag7Le/4BeP/huQwkXPuVLr1497EuQYv/F08Kbo3YygIrmzESNyhAROkG6goPjkP AZKejxDquG65/1j/AQuBOqgaGrHhqiIg60HbUqj7quagUZTnolyVFFXYaiL75f5k602g M7dcfPuuWhKYnMubROzjtDGOxyaLQb3pYhV3veT+gRX9/02L6GoPTBA64u5ZiWoH0J1C gUs4ukO+7Z8oaAHuQcc/4DBEskL8tNdlb+hpVMELBYg0IRVOfU0yUJL/0RdnvQf9t26A tYNEY5IBfHtfRFObxpyvj4S6Sp+zC9+ThNhnEVIYrFsWzk2G+GlkH1cDSobpmsyFK7DH q+Gw== X-Gm-Message-State: APf1xPB++bMkGcoXnVgbjWzHlXxuhZgx2QXuHF/l3LWp1wc7NdkE+ZIn Wb3UwII1gwaAZmWPy/ThTt5ImOzfFU6nCEfhtWk= X-Received: by 10.237.63.173 with SMTP id s42mr27293821qth.99.1519809181514; Wed, 28 Feb 2018 01:13:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.30.70 with HTTP; Wed, 28 Feb 2018 01:13:01 -0800 (PST) In-Reply-To: References: <20180222115307.15063-1-zongbox@gmail.com> From: Zong Li Date: Wed, 28 Feb 2018 17:13:01 +0800 Message-ID: Subject: Re: [PATCH] selftest: fix kselftest-merge depend on 'RUNTIME_TESTING_MENU' To: Anders Roxell Cc: shuah@kernel.org, Vincent Legoll , ast@kernel.org, daniel@iogearbox.net, mcgrof@kernel.org, davem@davemloft.net, Kees Cook , Fathi Boudra , netdev@vger.kernel.org, Linux Kernel Mailing List , linux-kselftest@vger.kernel.org, linux-fsdevel@vger.kernel.org, zong@andestech.com, greentime@andestech.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-02-28 6:32 GMT+08:00 Anders Roxell : > > On 23 February 2018 at 08:05, Zong Li wrote: > > 2018-02-23 3:57 GMT+08:00 Anders Roxell : > >> On 22 February 2018 at 12:53, Zong Li wrote: > >>> Since the 'commit d3deafaa8b5c ("lib/: make RUNTIME_TESTS a menuconfig > >>> to ease disabling it all")', the make kselftest-merge cannot merge the > >>> config dependencies of kselftest to the existing .config file. > >>> > >>> These config dependencies of kselftest need to enable the > >>> 'CONFIG_RUNTIME_TESTING_MENU=y' at the same time. > >> > >> Is this patch needed when patch sha 'f29c79906064 ("lib/Kconfig.debug: enable > >> RUNTIME_TESTING_MENU")' find its way into the kernel ? > >> I think it's in linux-next now. > > > > Thanks. The patch sha 'f29c79906064 ("lib/Kconfig.debug: enable > > RUNTIME_TESTING_MENU")' can resolve the make kselftest-merge > > on default situation, but I think the kselftest-merge should resolve > > the dependencies > > without the prerequisite, it should enable the 'RUNTIME_TESTING_MENU' > > when merging > > the config of some selftests if RUNTIME_TESTING_MENU is not set. > > I see your point, but should the be enabled in a common place that > gets included per > default if running kselftest-merge and not in all config fragments? > > Cheers, > Anders I agree with you. It is better that the config fragments of each selftests is responsible for enabling the specific configs they needed only. Thanks for your reply. Best Regard, Zong Li