Received: by 10.223.185.116 with SMTP id b49csp3007332wrg; Sun, 18 Feb 2018 11:40:42 -0800 (PST) X-Google-Smtp-Source: AH8x225Q0Gy+ukYXBwFGF2bm23o3fzd+mCZ6Zrdi5VqKr/IrOXq9ACaC8maR5x3ev5X9W1X8eit8 X-Received: by 2002:a17:902:a607:: with SMTP id u7-v6mr12000172plq.71.1518982842161; Sun, 18 Feb 2018 11:40:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518982842; cv=none; d=google.com; s=arc-20160816; b=LKdg9a2c5BqOBKb5Ddef1DY5pRIYGys+mcVxelodViE/ID3JQc6t5xxQNtLhDhJG+g zKgVFAb/TTOTPUI5NSz4FDYRvxP3eMktZPROLcuRhVOYvoz53mLKyb8kiShgx9faW2q9 XQlWJcI79bIa0DGPET0z7hcbNUr8RlW0rgCx9BwQZlnrtcxOBU70HfSTV8wj5B0iv6BW nTeL8Mc8hOGCaDShYtdxsZmmrPaBTfKIz+Txvocr13d+yN98SwaHgLephWqF63YcCPYs ApXf5rRvOkCqcEuoSlPRSAb5/sRuE2jqPyIGnSnu7WLtphjvEjU0ZsaMRSjoFXVbekVJ inlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=PSeRlbFqrjpc/ze9PsvjePVKWLu31vYmsE8cpIz4KEs=; b=Zn76lES7X/nD15WlOY2vxz3iQL/0GMFsUlLzYnj1NdPLgNMgqfp79SvWO7KFxa9cmh XtGYajS2+6c2tYLYkSynMSmf/nHro52j0OCY6kYcyMdWN2fsmcVZCguBaLRUflXKiOMC Q7EHCEgXqEpOzFjhCAYzNj+v9EZQToY2Jhnnhw8gleJh2xqmrETZIlKBCFsLceinSXW0 Cczc/0BnUU4lYm6lwlJoJqkAke4pvLXP1//vJQkvvXJBvhDAAmAU4Uq4GF2MzuBKhB9M 1eYgzK9fR5TWOxOnScykJaEc+8pbtYgwGntmvGYqUJN2oMtCaZ9E5OBy2qEy/tJ31MVK OZDg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1si2627286pgu.470.2018.02.18.11.40.20; Sun, 18 Feb 2018 11:40:42 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751670AbeBRTi6 (ORCPT + 99 others); Sun, 18 Feb 2018 14:38:58 -0500 Received: from asavdk4.altibox.net ([109.247.116.15]:35020 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751616AbeBRTi5 (ORCPT ); Sun, 18 Feb 2018 14:38:57 -0500 Received: from ravnborg.org (126.158-248-196.customer.lyse.net [158.248.196.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id E082A8029C; Sun, 18 Feb 2018 20:38:50 +0100 (CET) Date: Sun, 18 Feb 2018 20:38:49 +0100 From: Sam Ravnborg To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Greg Kroah-Hartman , Andrew Morton , Nicolas Pitre , "Luis R . Rodriguez" , Randy Dunlap , Ulf Magnusson , Michal Marek , Linus Torvalds , "Luis R. Rodriguez" , Tony Luck , Borislav Petkov , linux-kernel@vger.kernel.org, Thomas Gleixner , Heinrich Schuchardt , Yaakov Selkowitz , linux-ia64@vger.kernel.org, Fenghua Yu , Marc Herbert Subject: Re: [PATCH 00/14] Add Kconfig unit tests Message-ID: <20180218193849.GA29324@ravnborg.org> References: <1517877294-4826-1-git-send-email-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1517877294-4826-1-git-send-email-yamada.masahiro@socionext.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=X9181lbe c=1 sm=1 tr=0 a=ddpE2eP9Sid01c7MzoqXPA==:117 a=ddpE2eP9Sid01c7MzoqXPA==:17 a=kj9zAlcOel0A:10 a=nNJFIwgQenCfl4jgyecA:9 a=CjuIK1q_8ugA:10 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masahiro. On Tue, Feb 06, 2018 at 09:34:40AM +0900, Masahiro Yamada wrote: > I am applying various patches to Kconfig these days. > > However, I fear regressions. I have been thinking of unit-tests. > > There are various cryptic parts in Kconfig and corner cases where > it is difficult to notice breakage. If unit-tests cover those, > I will be able to apply changes more confidently. > > So, here is the trial. ... Great to see this done. And +1 for basing this on a standard framework rather than inventing your own. > If you have an idea for better implementation, comments are appreciated. Nope, please continue with pytest. Sam