Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754319AbbKWUfw (ORCPT ); Mon, 23 Nov 2015 15:35:52 -0500 Received: from lists.s-osg.org ([54.187.51.154]:46155 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbbKWUfv (ORCPT ); Mon, 23 Nov 2015 15:35:51 -0500 Subject: Re: [PATCH V2 0/2] Create specific kconfig for kselftest To: Bamvor Jian Zhang , linux-api@vger.kernel.org References: <1447770857-9883-1-git-send-email-bamvor.zhangjian@linaro.org> Cc: linux-kernel@vger.kernel.org, khilman@linaro.org, tyler.baker@linaro.org, broonie@kernel.org, mpe@ellerman.id.au, dvhart@infradead.org, Shuah Khan From: Shuah Khan Organization: Samsung Open Source Group Message-ID: <565378A5.6010507@osg.samsung.com> Date: Mon, 23 Nov 2015 13:35:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1447770857-9883-1-git-send-email-bamvor.zhangjian@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1585 Lines: 44 On 11/17/2015 07:34 AM, Bamvor Jian Zhang wrote: > There is a discussion about improving the usability of kselftest by > creating test-specific kconfig in recent kernel Summit. Furthormore, > there are different approaches to do it: > > 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). > > 2) In the main menu, have an additional option/flag for each feature > that should be enabled when ksefltests are wanted. Similar to the > CONFIG_COMPILE_TEST flag. > > Patch 1/2: do option 1. Hope it is a good start for discussion. > > Patch 2/2: add config option(kselftest-mergeconfig) in make file as a > helper to merge all the test config dependecies to .config. > > Changes since v1[1]: > 1. Add kselftest-mergeconfig in scripts/kconfig/Makefile according > to the suggestion from Michael. > > [1] http://www.spinics.net/lists/linux-api/msg15533.html > > Bamvor Jian Zhang (2): > selftests: create test-specific kconfig fragments > scripts/kconfig/Makefile: add kselftest-mergeconfig > Both patches applied to linux-kseltftest next for 4.5-rc1 thanks, -- Shuah Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh@osg.samsung.com | (970) 217-8978 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/