From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD927C4CEC9 for ; Fri, 20 Sep 2019 23:52:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B17032173E for ; Fri, 20 Sep 2019 23:52:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="C3ZFMMtv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407243AbfITXw1 (ORCPT ); Fri, 20 Sep 2019 19:52:27 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:37930 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393436AbfITXw1 (ORCPT ); Fri, 20 Sep 2019 19:52:27 -0400 Received: by mail-pl1-f194.google.com with SMTP id w10so3928351plq.5 for ; Fri, 20 Sep 2019 16:52:26 -0700 (PDT) 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=8eg0Go6Vco6zmrMokIuCHT90eNcEj+1gkgwUozbRoOU=; b=C3ZFMMtvPf81TgLhiSeEgf2YDVeBRSaHW0FNEf+k4vFeia1DmItLwfEBHoOIfODtlF gEyN20SdH4KLHWwmhavoas54tR7qUqGUNdwwesdSM+wK3SyllrG5IxRh96WXtnnrfY7d pWKppGT1A1o2nr1VJ5fMakqYDf8QR5Hd9B9Tr6251H/ZqxARqyg4FG/IYVzwg6lZHgw9 KjiL/8lm/frPH5jhCZqRRWZnbSsN2mWbWgq5azfITpuYNj1mNqmc8FRarPSRhSul8KEc RmmD1CROxNKOEtIbX+4Fprl/YK9aZC0HXh6DiK9VVU/3W0qEmA2PmqxFFb9ET+vFYLUq AVCw== 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=8eg0Go6Vco6zmrMokIuCHT90eNcEj+1gkgwUozbRoOU=; b=rftnN8MsTN+eKoU8qNYcaEsarCYQJF54t+8/orTs5Qj/NXz57HgJyVkyY3i3XGPRNc 1GGtWiFckoNu/LyOBFTWtdyb+z0nsMj0WZbig5XsejQ9P6hPYVa2QfsxuGz3TTgB9u8P 8oIySQLbi0NgkbVx9nrc2LZ5BgfGOXNX1zc/CGLF8JpAUfArJbOywHWc4cvttRtFZ2FZ bSwvTID3p49xysmcpp6qXPd+B1lPzRdSEPjLzDr53lvIKND3ajpiAmJz/l/DJPVGuTtv GDmvGaU+qnrOk5oWD0/9Lo/Xni2t6njdgKW52dxveiGbGT3uQ9msT59/ir4OXLD3AN2R 3R7Q== X-Gm-Message-State: APjAAAVKmTiJJKF/SWkJvJsWIrhvd+S9UgSOinOJICG6vKC12vrleHu0 bBBVatfVT7/eedHlE/rI//LsfIWIXtFHTFYXhObzQw== X-Google-Smtp-Source: APXvYqxVNfOs4Ho/5kXpPZVj8oP5ezLhr8UaD2UCudmwUKwPDFfSFY4+sFjwQIeK+urY5OGR284WgAH5zN0eWfy9OQU= X-Received: by 2002:a17:902:169:: with SMTP id 96mr18912291plb.297.1569023545999; Fri, 20 Sep 2019 16:52:25 -0700 (PDT) MIME-Version: 1.0 References: <20190920231923.141900-1-brendanhiggins@google.com> <20190920231923.141900-7-brendanhiggins@google.com> <20190920233600.48BBA20644@mail.kernel.org> In-Reply-To: From: Brendan Higgins Date: Fri, 20 Sep 2019 16:52:14 -0700 Message-ID: Subject: Re: [PATCH v16 06/19] lib: enable building KUnit in lib/ To: Stephen Boyd Cc: Frank Rowand , Greg KH , Josh Poimboeuf , Kees Cook , Kieran Bingham , Luis Chamberlain , Peter Zijlstra , Rob Herring , shuah , "Theodore Ts'o" , Masahiro Yamada , devicetree , dri-devel , kunit-dev@googlegroups.com, "open list:DOCUMENTATION" , linux-fsdevel@vger.kernel.org, linux-kbuild , Linux Kernel Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" , linux-nvdimm , linux-um@lists.infradead.org, Sasha Levin , "Bird, Timothy" , Amir Goldstein , Dan Carpenter , Daniel Vetter , Jeff Dike , Joel Stanley , Julia Lawall , Kevin Hilman , Knut Omang , Logan Gunthorpe , Michael Ellerman , Petr Mladek , Randy Dunlap , Richard Weinberger , David Rientjes , Steven Rostedt , wfg@linux.intel.com, Linus Torvalds , Andrew Morton , Kees Cook Content-Type: text/plain; charset="UTF-8" Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org On Fri, Sep 20, 2019 at 4:44 PM Brendan Higgins wrote: > > On Fri, Sep 20, 2019 at 4:36 PM Stephen Boyd wrote: > > > > Quoting Brendan Higgins (2019-09-20 16:19:10) > > > KUnit is a new unit testing framework for the kernel and when used is > > > built into the kernel as a part of it. Add KUnit to the lib Kconfig and > > > Makefile to allow it to be actually built. > > > > > > Signed-off-by: Brendan Higgins > > > Cc: Randy Dunlap > > > Cc: Andrew Morton > > > Cc: Masahiro Yamada > > > Cc: Kees Cook > > > --- > > > lib/Kconfig.debug | 2 ++ > > > lib/Makefile | 2 ++ > > > 2 files changed, 4 insertions(+) > > > > > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > > > index 5960e2980a8a..5870fbe11e9b 100644 > > > --- a/lib/Kconfig.debug > > > +++ b/lib/Kconfig.debug > > > @@ -2144,4 +2144,6 @@ config IO_STRICT_DEVMEM > > > > > > source "arch/$(SRCARCH)/Kconfig.debug" > > > > > > +source "lib/kunit/Kconfig" > > > + > > > > Perhaps this should go by the "Runtime Testing" part? Before or after. Now I am actually thinking that it should be a menuconfig... > > > endmenu # Kernel hacking