From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752709AbcADE5M (ORCPT ); Sun, 3 Jan 2016 23:57:12 -0500 Received: from ozlabs.org ([103.22.144.67]:40930 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752185AbcADE5H (ORCPT ); Sun, 3 Jan 2016 23:57:07 -0500 Message-ID: <1451883424.14373.1.camel@ellerman.id.au> Subject: Re: [PATCH v3 0/2] Create specific kconfig for kselftest From: Michael Ellerman To: Bamvor Zhang Jian , linux-api Cc: lkml , linux-kbuild@vger.kernel.org, Shuah Khan , yann.morin.1998@free.fr, Kevin Hilman , Tyler Baker , Mark Brown , dvhart@infradead.org Date: Mon, 04 Jan 2016 15:57:04 +1100 In-Reply-To: References: <1450346273-31633-1-git-send-email-bamvor.zhangjian@linaro.org> <1450395897.19696.0.camel@ellerman.id.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2015-12-24 at 18:17 +0800, Bamvor Zhang Jian wrote: > On 12/18/2015 07:44 AM, Michael Ellerman wrote: > > On Thu, 2015-12-17 at 17:57 +0800, Bamvor Jian Zhang wrote: > > > There is a discussion about improving the usability of kselftest by > > > creating test-specific kconfig in recent kernel Summit. > > > > > > Patch 1 keep test-specific kconfig fragments inside each selftest so > > > that merge_configs.sh could build up a kernel that can test the > > > specific or all feature(s). > > > > > > Patch 2 add config option(kselftest-mergeconfig) in make file as a > > > helper to merge all the test config dependecies to .config. > > > > > > Changes since v2: > > > 1. Fix the misuse of objtree and srctree in the > > > kselftest-mergeconfig target. > > > > > > Changes since v1: > > > 1. Add kselftest-mergeconfig in scripts/kconfig/Makefile according > > > to the suggestion from Michael. > > > > Sorry I only just noticed you put it in scripts/kconfig/Makefile. I meant for > > it to go in Makefile, alongside the other kselftest targets. > > Do you mean "tools/testing/selftest/Makefile"? I try to do it but I could not > get the objtree and srctree if it is called directly(objtree and srctree is > defined in toplevel Makefile) No I meant Makefile, the very top level Makefile. There is already a kselftest target in there (line 1077), I meant we would add a kselftest-mergeconfig target in there. cheers