Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7079498yba; Thu, 2 May 2019 04:00:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7Sofuu7Cu+8BAxoBYnzLnZL3U1M9OO2Rg0St+NOo20+z1qYq8C379/Iyb23tK4ZuTOmiA X-Received: by 2002:a63:4548:: with SMTP id u8mr3230392pgk.435.1556794801856; Thu, 02 May 2019 04:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556794801; cv=none; d=google.com; s=arc-20160816; b=KmyIlm/DTiHhSR9f7jKhsIEWFmSsbgo8lAdCuhVO06bCbt8qVxlXolBpwhE5vAMhTo bCMkvVPQieCWnoNMIApXfgeS8c1M9FTt6eYh/Pm8a2QVgMg1ldUdL0Jnkd1LH2ca+0wv eiuR28+otFbgi1z3GGCyDksJ4DmLb5LDsCD0byF1AwPUcN2BqNm+Ur2f57NuhtlGz6E4 uf98rzhHkmCEtB0PPIC0GBXqxays2Zdj011O4iNhvQELzJGZMRCsyICa8S0JrLXhzHmh UXycM56wzsqGjBhFIGwZysJGE5Rt42X+YB+ytSVOOP4sVFjefKIq7g8n+qoycKjB+7Mh 8HMg== 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:dkim-signature; bh=Zg3xsuSQF2EC6tS3UKFAX0/U0veiJymcUAJqmTOuQyc=; b=WbYn2e30Zfq6nDLarcDGONJVU0GBblgBVoot676NIEEeAK8hjOoWk4NbPHluY+mdsy qdHkVYJAvALHureaE1WWXxBv9/sHfFNXjrwmUwsLnLUqayUd06jghnMkz9kObI1k1FQz SJe4eT1Z/admZyAiEnhX0kRp/ZSxMwPXdC1lNt4790s6anoAnw7RjlEqAebowsX5gTT0 2IqOISnJcxOYzI5aqwjMucvjN7J3wustoNXjoGYRUo/+l6FkX5OjVvB0/JWIYmNN9VuJ PDtEGqn2W8RmqZtHMR2GW+bC+zr8uRBJfngFNTZXyPJqjppfeWCS/+9Nqb+NojCgj3ef ZhvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="xn9qtrH/"; 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 41si45961548plb.164.2019.05.02.03.59.45; Thu, 02 May 2019 04:00:01 -0700 (PDT) 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=@kernel.org header.s=default header.b="xn9qtrH/"; 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 S1726267AbfEBK6w (ORCPT + 99 others); Thu, 2 May 2019 06:58:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:48976 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726268AbfEBK6w (ORCPT ); Thu, 2 May 2019 06:58:52 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B53B620656; Thu, 2 May 2019 10:58:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794731; bh=T+a6pMLcd5HD33Dp1GZ3s3ZyPMK+MqwsS3ME8Zht+Rk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xn9qtrH/6iSeajL86xHXikqGvmBkjkPTLd1nQIMw4pWMh7dALh2KSvL9dx0J57LgI quJUvnif3o9cb3481YZvUlkI6jUNhggJl4YQx1f7LdW6Giv789veSDWkw97Tu8zDGX B/7+uvqfWjfGoe3LMHNAL8STZruUkOlyRkyfu/So= Date: Thu, 2 May 2019 12:58:49 +0200 From: Greg KH To: Brendan Higgins Cc: frowand.list@gmail.com, keescook@google.com, kieran.bingham@ideasonboard.com, mcgrof@kernel.org, robh@kernel.org, sboyd@kernel.org, shuah@kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-um@lists.infradead.org, Alexander.Levin@microsoft.com, Tim.Bird@sony.com, amir73il@gmail.com, dan.carpenter@oracle.com, dan.j.williams@intel.com, daniel@ffwll.ch, jdike@addtoit.com, joel@jms.id.au, julia.lawall@lip6.fr, khilman@baylibre.com, knut.omang@oracle.com, logang@deltatee.com, mpe@ellerman.id.au, pmladek@suse.com, richard@nod.at, rientjes@google.com, rostedt@goodmis.org, wfg@linux.intel.com Subject: Re: [PATCH v2 07/17] kunit: test: add initial tests Message-ID: <20190502105849.GB12416@kroah.com> References: <20190501230126.229218-1-brendanhiggins@google.com> <20190501230126.229218-8-brendanhiggins@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190501230126.229218-8-brendanhiggins@google.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 01, 2019 at 04:01:16PM -0700, Brendan Higgins wrote: > Add a test for string stream along with a simpler example. > > Signed-off-by: Brendan Higgins > --- > kunit/Kconfig | 12 ++++++ > kunit/Makefile | 4 ++ > kunit/example-test.c | 88 ++++++++++++++++++++++++++++++++++++++ > kunit/string-stream-test.c | 61 ++++++++++++++++++++++++++ > 4 files changed, 165 insertions(+) > create mode 100644 kunit/example-test.c > create mode 100644 kunit/string-stream-test.c > > diff --git a/kunit/Kconfig b/kunit/Kconfig > index 64480092b2c24..5cb500355c873 100644 > --- a/kunit/Kconfig > +++ b/kunit/Kconfig > @@ -13,4 +13,16 @@ config KUNIT > special hardware. For more information, please see > Documentation/kunit/ > > +config KUNIT_TEST > + bool "KUnit test for KUnit" > + depends on KUNIT > + help > + Enables KUnit test to test KUnit. > + > +config KUNIT_EXAMPLE_TEST > + bool "Example test for KUnit" > + depends on KUNIT > + help > + Enables example KUnit test to demo features of KUnit. Can't these tests be module? Or am I mis-reading the previous logic? Anyway, just a question, nothing objecting to this as-is for now. thanks, greg k-h