Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1612810yba; Thu, 9 May 2019 20:48:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxa7XEuVwiDiTqaheJ4jUpr8iWuZrwN9cAUeabWh5ZKfbAuHf1ji+yRlKnbNOq4SYUU7THD X-Received: by 2002:a17:902:2beb:: with SMTP id l98mr8146870plb.290.1557460105505; Thu, 09 May 2019 20:48:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557460105; cv=none; d=google.com; s=arc-20160816; b=Vw06xp1+5Uordc6S3Lq4x3ccZKrjqYAUH+13VLN2d+8065INgbacyvOlOpp9tjZyRs FSHBaiY/L88zrQRYzsj02GFYIxiQ9ngJwlXmpq6Ik1o5hcVPF8Je14fUMkpXxr9D0BMO vKRck9EtnFbjO+gBfKoZsuVBtU1gT5RQFq9gEyKlkn2EGyhTLCfpRKEqBhgXac/qVbW6 sh2WzMCo2qlDnAdVbejxANgPXgRuERYH4Gqy6+Lz8Pp4Fpn46YwOc+RdncUzyHCdkPI/ KcWMBRpNI6WROYaEevl/cEnA6orCi4KTkuB9zfCzTZ10zRdl3LvN5d6H4WZn8qQ8xsMV MBmg== 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:dkim-filter; bh=DYJ0GRwyv9LQw+wYut+AKlESUHW5OcD/mZsMQ0v23g4=; b=Q9GTbiXTMFjlqB30jiXP/WMyFMijC3k3+p4s3UUadi6r0wk/9BpNQd/QkBK0m1sCex SNa+JroW5jEHfKNP25FvIR4kz7z1GRS60K1LTlSoX3Lzh1WtOQKizLaTT2Sxqg/dK6Y4 rVf5U978XYlG5iQHX7lXCOSdTOVgTT2AmHa7D1gRDsI9fRddypZxU62CfgNBLRAS9T1Z Sdp8bC2aLpKrEb16KkoDXGrNUZGStoaSkTOmXacWg2l9OmmFjyitZZ2DMSIySsRwabM9 hjbH1kkeojsiMI+3mmf6aKqP7VNijkgf12WCIYDGpQB5+gu7B8KVJ7SIMqFOdYmPxBos NbHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=jupzuktq; 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 b17si5996198pls.15.2019.05.09.20.48.09; Thu, 09 May 2019 20:48:25 -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=@nifty.com header.s=dec2015msa header.b=jupzuktq; 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 S1727061AbfEJDEq (ORCPT + 99 others); Thu, 9 May 2019 23:04:46 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:48677 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726842AbfEJDEp (ORCPT ); Thu, 9 May 2019 23:04:45 -0400 X-Greylist: delayed 42282 seconds by postgrey-1.27 at vger.kernel.org; Thu, 09 May 2019 23:04:43 EDT Received: from mail-vk1-f172.google.com (mail-vk1-f172.google.com [209.85.221.172]) (authenticated) by conssluserg-03.nifty.com with ESMTP id x4A34XGX005393; Fri, 10 May 2019 12:04:34 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com x4A34XGX005393 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1557457474; bh=DYJ0GRwyv9LQw+wYut+AKlESUHW5OcD/mZsMQ0v23g4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=jupzuktqIfQz0vJS1GaSpRqu2LQlIojIZ6l/TI0jmjH+y1VkJRBs89e7uRAv6B1Ef uHXWjQCyh3QM1FLLkbOfmNDmcIDMv3Oq/FlPK1nJiwjkiN5C9tudnBuh0F8evz5qm8 ZorME1HYwlKxsObBT8LwUNg5l1Fi86fQ7ffUtVkUvXf1TvrufFpYms99rIymu6dL/K hIlycbAJXfNN986oEc9iUdGhQ9gZ5CSC7yKV9BeU183dZd8/MJ0EQhq+4AgJe2J6jP TyF0SLqvX8D3dQhEIQDaNOjnh/QC3NF0r7D48IC/P5jvWFHuMVUbINwaFq0DbE19/a SQYZWBc5p+oIQ== X-Nifty-SrcIP: [209.85.221.172] Received: by mail-vk1-f172.google.com with SMTP id r195so1138772vke.0; Thu, 09 May 2019 20:04:34 -0700 (PDT) X-Gm-Message-State: APjAAAXPoLeBAjMKgvMs+7lHCRTpm9Hq0dTQmmpAFWkoH4tUhr5WR/3F J7W+aIcHDbWUKKSwAH8vslzCIpnSnNqVTr2rDMc= X-Received: by 2002:a1f:d585:: with SMTP id m127mr3859437vkg.34.1557457473272; Thu, 09 May 2019 20:04:33 -0700 (PDT) MIME-Version: 1.0 References: <20190501230126.229218-1-brendanhiggins@google.com> <20190501230126.229218-7-brendanhiggins@google.com> In-Reply-To: <20190501230126.229218-7-brendanhiggins@google.com> From: Masahiro Yamada Date: Fri, 10 May 2019 12:03:57 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 06/17] kbuild: enable building KUnit To: Brendan Higgins Cc: Frank Rowand , Greg Kroah-Hartman , Kees Cook , kieran.bingham@ideasonboard.com, "Luis R. Rodriguez" , Rob Herring , Stephen Boyd , "Cc: Shuah Khan" , DTML , dri-devel , kunit-dev@googlegroups.com, "open list:DOCUMENTATION" , linux-fsdevel@vger.kernel.org, Linux Kbuild mailing list , Linux Kernel Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" , linux-nvdimm@lists.01.org, linux-um@lists.infradead.org, Alexander.Levin@microsoft.com, Tim Bird , amir73il@gmail.com, Dan Carpenter , Dan Williams , Daniel Vetter , Jeff Dike , Joel Stanley , Julia Lawall , Kevin Hilman , Knut Omang , Logan Gunthorpe , Michael Ellerman , Petr Mladek , Richard Weinberger , rientjes@google.com, Steven Rostedt , wfg@linux.intel.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 Thu, May 2, 2019 at 8:03 AM Brendan Higgins wrote: > > Add KUnit to root Kconfig and Makefile allowing it to actually be built. > > Signed-off-by: Brendan Higgins You need to make sure to not break git-bisect'abililty. With this commit, I see build error. CC kunit/test.o kunit/test.c:11:10: fatal error: os.h: No such file or directory #include ^~~~~~ compilation terminated. make[1]: *** [scripts/Makefile.build;279: kunit/test.o] Error 1 make: *** [Makefile;1763: kunit/] Error 2 > --- > Kconfig | 2 ++ > Makefile | 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Kconfig b/Kconfig > index 48a80beab6853..10428501edb78 100644 > --- a/Kconfig > +++ b/Kconfig > @@ -30,3 +30,5 @@ source "crypto/Kconfig" > source "lib/Kconfig" > > source "lib/Kconfig.debug" > + > +source "kunit/Kconfig" > diff --git a/Makefile b/Makefile > index 2b99679148dc7..77368f498d84c 100644 > --- a/Makefile > +++ b/Makefile > @@ -969,7 +969,7 @@ endif > PHONY += prepare0 > > ifeq ($(KBUILD_EXTMOD),) > -core-y += kernel/ certs/ mm/ fs/ ipc/ security/ crypto/ block/ > +core-y += kernel/ certs/ mm/ fs/ ipc/ security/ crypto/ block/ kunit/ > > vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ > $(core-y) $(core-m) $(drivers-y) $(drivers-m) \ > -- > 2.21.0.593.g511ec345e18-goog > -- Best Regards Masahiro Yamada