Received: by 10.223.185.116 with SMTP id b49csp5497660wrg; Tue, 27 Feb 2018 14:34:27 -0800 (PST) X-Google-Smtp-Source: AH8x225nQf1sTt3DKX83Kr3XFkGQqmZT3BzUq1twXW0+u8LsSHe/J6s8WCAl63fB+Fn3CA75J5En X-Received: by 2002:a17:902:aa8e:: with SMTP id d14-v6mr15180680plr.94.1519770866956; Tue, 27 Feb 2018 14:34:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519770866; cv=none; d=google.com; s=arc-20160816; b=xfkMo0e1ZpIUAulfG02PzkRhSYisEEgkklJdEXIpomaqNhp4L5wKaGWGDdDikqmP4w +hgGB/1tXFs5uqNeZX0AWNaWhksRuD/aNbtGwlIr6UlcSlJq5tBmomMxFsr4XQzXbQvp PhYCzxBDljvFXGgyHV0qa9z2iSSanMEImsW+xcrWGNf0XhQDLAhuEuwP8kGkbPXrM8Ui El1RHC5m5ATZqEmHGrnBD+dC2ab1bARuMp6OaBp0P/nAF41nBjvTceGSoEYb+U+LBM1+ y36Q7yakR2gVCTdRPZo7LZkrWYqC9OXs8IjDN6stuEKYZpg2v92EFEGPDN99shYWTjb4 2v+A== 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=5xsfL9yK9ANZgcgOe5jm47pfKgaWTr+hG+FdRk2aTkw=; b=kYNYVmAH4FSFygnBW5zwRRqBEV6PMcO9q2V4yuU1ov624ympDqhhhOSOa3A1Ei5iHV 1GgbG1QUJ+7svkrKGvrUBabOXWURVCWeNWnXeUBHt7otLJ2gD935YbznsGT2jBT5uLrx ZiM1IScYu8a+R7elhMyQ8SQ9TQlbJDqVGlGluX2GyyE/zVNAbYqd7l2VwAgHpVPZkSK0 wu1Dj0vbkhk6cZ3EtHafuvKZ5DvnNzUYKBjK632ZmMkG570k9EwgACP6825F1yM4td1x XDUWWTjpZO140E91Qas/cPVYA2vpeh6JwIiTiJvV2Dq51p2lbwYNmyrrp4PebV0Mdp56 0giw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jheVkSPZ; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73si149992pfu.71.2018.02.27.14.34.12; Tue, 27 Feb 2018 14:34:26 -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=@linaro.org header.s=google header.b=jheVkSPZ; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752277AbeB0WdK (ORCPT + 99 others); Tue, 27 Feb 2018 17:33:10 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:33828 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751876AbeB0Wcq (ORCPT ); Tue, 27 Feb 2018 17:32:46 -0500 Received: by mail-pg0-f68.google.com with SMTP id m19so174573pgn.1 for ; Tue, 27 Feb 2018 14:32:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5xsfL9yK9ANZgcgOe5jm47pfKgaWTr+hG+FdRk2aTkw=; b=jheVkSPZTWz4FWI7GVc+PiL8FDr0T9NJ6gvA6jIcueZzs16nAwlrB9s4IK3Fwh94Kh WUtl1Vc83Y4QfYh4+fbO9PXyj5ZWfhIbw+vUBmK6ComwyV+xsrzseK5WZBqnMGNhvusE 5GEuHAyiwb7MBbNHf1Lr7fDQWIMRsDnKN4q54= 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=5xsfL9yK9ANZgcgOe5jm47pfKgaWTr+hG+FdRk2aTkw=; b=d9eVcMhvrikaGSn9MkNNUedeDA6V9mL3aOpvZtplPiUZ8zphpcXwp2MMHqg6aRTdvQ btdUMSWGVZVOQdw/9Nofyp87/O7EzGLbc5bX/E75df9dAn1m1iwf7rlUS9DiD4u0OmoX oi92tmLHPLbxmWvD45wcDeCOL0sPET+rvzMG54ta5yPUmVX6KRz7Bp+qI8Cr/rxPmiZI qbuiQOB+xL0uQbvOdNGQbueWZnyD2KO1DFYt/sXo0t634+K3TmKlalUm17ZoNFzJCQQs aCfKOAII1XUhWb/FtojUlbtyhR5zcLcu8fxiNpxO+I9rDZUe25gLttWpb/rXS81f6ZpK 8qyQ== X-Gm-Message-State: APf1xPBjr/o4aYzkvDG7AZtiFxwejPBgOPxL0TzgW6JtMQsgEQOHCHJ3 R/rBm0rx6gRbBU2f5hQjDinMwcHAFmSoTsc/tBNbmg== X-Received: by 10.98.89.156 with SMTP id k28mr15324877pfj.130.1519770765938; Tue, 27 Feb 2018 14:32:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.161.200 with HTTP; Tue, 27 Feb 2018 14:32:45 -0800 (PST) In-Reply-To: References: <20180222115307.15063-1-zongbox@gmail.com> From: Anders Roxell Date: Tue, 27 Feb 2018 23:32:45 +0100 Message-ID: Subject: Re: [PATCH] selftest: fix kselftest-merge depend on 'RUNTIME_TESTING_MENU' To: Zong Li 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 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