Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5167552imu; Tue, 13 Nov 2018 02:11:44 -0800 (PST) X-Google-Smtp-Source: AJdET5c+NLsfHiLssV6LhUMZIfsZVFu3ThpCz8zXTsLs3EorpLpZATyGFpCNoyal44PaHd/fVufU X-Received: by 2002:a63:cd17:: with SMTP id i23mr4121720pgg.13.1542103904443; Tue, 13 Nov 2018 02:11:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542103904; cv=none; d=google.com; s=arc-20160816; b=rvKwrnpkz0VSgXOLZEBRQPdwRiAClK4RszXfzmmiQdi7v8nIBDTArwKxanDRAsDyg/ tk4OG3fcNGGss+Vis44D48VMmisi/0lOPVLtOiR4Gr1yJsx8gVBXzjLkns1qL3TUicer faiBOrBnm9gFCL9mmH7xYqVQbZh3ZbqR7atW1UWSxEQAioyAwIsT/CItFACEEXeO91sY 7PDNVtw5hOEx+x/Q5ryAEEgZx2BH4l4BoiS48YYKG/AItH9lOiycl41M+Bc5F8NXOEuw uFVgAeNjRSD9EguTaW9i8uPDxK4n7nHLpPpSwulxqha+7+iGGFcuqbyxoTv8XZ+3esNY bpGg== 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 :in-reply-to:references:mime-version:dkim-signature; bh=+MXHbQRoenYPqmoJNBf+zWDkfiZu9DN4vUAFI7cLCNo=; b=K6b1+e21dTu17M92kdzK0CBJPwDWqXDQFt9ac86Cz+IN6gGlmzRIPOmrnrOABce35C X1OSUtrEjmE7bm1vc8YdXxVApdhwpwMfVtmFh6LCGcmyQ5u3LFhVfLxu+VQ6Li4ldbpS FxKEB6v/wzZpJ5YcGP0DvOCeHoHHixiwzjXFESxMlwyCAFXe6AqHtDBBoY4p8CZIigMF rAQ5vZVzazDyepLv9oS/mRRpW+G3eCX8fVr/osSAq0G5gZVWz/dEGW7w72XYAeq+mV2I vIoRS8qrIOWzUPpvVabNb8Hin8scrQf8DRDUPEbUO5XT8yrjhU+IZ6BsOat1Fx6Odhjz fJFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vmjHnczI; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3-v6si20675715pld.119.2018.11.13.02.11.29; Tue, 13 Nov 2018 02:11:44 -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=@google.com header.s=20161025 header.b=vmjHnczI; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732063AbeKMUIK (ORCPT + 99 others); Tue, 13 Nov 2018 15:08:10 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:38951 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731877AbeKMUIJ (ORCPT ); Tue, 13 Nov 2018 15:08:09 -0500 Received: by mail-ot1-f65.google.com with SMTP id g27so10789248oth.6 for ; Tue, 13 Nov 2018 02:10:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+MXHbQRoenYPqmoJNBf+zWDkfiZu9DN4vUAFI7cLCNo=; b=vmjHnczIne3IJVO4hbl93L3M1fFTCn4tAUc9+hdsLcD2mjw0i5hh8pQLMLNFaSu0Jx XgUIPR3kRwcOPy/kU7RorkYYWgqF0TofPs9S999T2MNvbKtz4HcmbJgKcqv1VVMNkT9q ViDvdt3JOn7GZBYmpYwiwp13GM3nVvYDQNduF8S50c3Au+bSJhPI4RUkV770Iil1zI8g GZBu1grSHeVvhYEA7uJh6W7p5T04+A5+YPWJpFQ4DjbuDaCZlo7JRKzFxOF/oWm+mg/t 7zKnya59z9uheM6R2X06s29ZxNHVURLVlpOpNlLx3Gy/4YxlXzIuYgV8U3q1Dv+0rVBG UIbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+MXHbQRoenYPqmoJNBf+zWDkfiZu9DN4vUAFI7cLCNo=; b=P6o6lUNg0P/kWC/5D00NM4CoWZY/sAnXkw0aKnfioSvde//UWmroQB7UNjEZU+VvrY c1s8iljjbxDaJ0oOrJeYxVMP4XROmFA4DIPp4HQSJiHn5ls6+srB/ovj2ZwVYSSUuhSd VWkxqk1Rm46nIHhYdvBqRETmAA+v1IqMpQ4VW5wiCr1qqY19oqSUQW1AbsbCfur47tHp D54WaUI3KUHT82fHhg+iYsU9OuNCEKhEF1JuADdAo439YoAGD91Xe7g0MrJDIf5J0+mi N0uYF2r/xvjv49NjHeDfO+D62bypN9ZZ0bWjXRLLhpL/EY7LGaC2vPM0jAXJD182gsCK bWcw== X-Gm-Message-State: AGRZ1gLH34EFLSwHhcbTdN11IfWnHOvJFXdIpFZx9BdAKmv7irInz8Oz 8jao0rWprIbBlGDjWfqxAzGgPSFhUwIKaJQbVa9CDA== X-Received: by 2002:a9d:3ba5:: with SMTP id k34mr2805025otc.364.1542103845971; Tue, 13 Nov 2018 02:10:45 -0800 (PST) MIME-Version: 1.0 References: <20181023235750.103146-1-brendanhiggins@google.com> <04f677b1-bc44-f004-cf2a-51b47baf0965@gmail.com> In-Reply-To: <04f677b1-bc44-f004-cf2a-51b47baf0965@gmail.com> From: Brendan Higgins Date: Tue, 13 Nov 2018 02:10:34 -0800 Message-ID: Subject: Re: [RFC v2 00/14] kunit: introduce KUnit, the Linux kernel unit testing framework To: frowand.list@gmail.com Cc: shuah@kernel.org, Greg KH , Kees Cook , mcgrof@kernel.org, Joel Stanley , mpe@ellerman.id.au, joe@perches.com, brakmo@fb.com, rostedt@goodmis.org, Tim.Bird@sony.com, khilman@baylibre.com, Julia Lawall , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, Linux Kernel Mailing List , jdike@addtoit.com, richard@nod.at, linux-um@lists.infradead.org, Daniel Vetter , dri-devel@lists.freedesktop.org, Rob Herring , dan.j.williams@intel.com, linux-nvdimm@lists.01.org, kieran.bingham@ideasonboard.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 Wed, Nov 7, 2018 at 9:46 AM Frank Rowand wrote: > > On 11/6/18 5:17 PM, Brendan Higgins wrote: > > On Fri, Nov 2, 2018 at 11:23 AM Shuah Khan wrote: > >> > >> Hi Brendan, > > > >> Framework looks good. I think it would be helpful to include a real test > > > > Great to hear! > > > >> in the patch series to get a feel for how effective it is. > > > > Alright, will do. Rob suggested converting > > https://elixir.bootlin.com/linux/v4.19/source/drivers/of/unittest.c to > > KUnit, so that might offer a good comparison. > > drivers/of/unittest.c might be a bit bigger and more complex test than > you want to start with. I already got it working under KUnit. Admittedly, structurally it is not so different, so it will require some work to make it pretty. I think now it is a question of whether you want me to start here or not. Probably best just to share what I have now along with Shuah's requested changes and we can go from there. Let me know what you think. Cheers