Message ID | 20190214213729.21702-7-brendanhiggins@google.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-nvdimm-bounces@lists.01.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 07CEF1390 for <patchwork-linux-nvdimm@patchwork.kernel.org>; Thu, 14 Feb 2019 21:38:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E73FA2EAEC for <patchwork-linux-nvdimm@patchwork.kernel.org>; Thu, 14 Feb 2019 21:38:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA2A62EC18; Thu, 14 Feb 2019 21:38:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9544A2EAEC for <patchwork-linux-nvdimm@patchwork.kernel.org>; Thu, 14 Feb 2019 21:38:45 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 8EC26208AE2BF; Thu, 14 Feb 2019 13:38:45 -0800 (PST) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::74a; helo=mail-qk1-x74a.google.com; envelope-from=3499lxa4kdcqbrendanhigginsgoogle.comlinux-nvdimmlists.ab.org@flex--brendanhiggins.bounces.google.com; receiver=linux-nvdimm@lists.01.org Received: from mail-qk1-x74a.google.com (mail-qk1-x74a.google.com [IPv6:2607:f8b0:4864:20::74a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 604B5208AE2B3 for <linux-nvdimm@lists.01.org>; Thu, 14 Feb 2019 13:38:44 -0800 (PST) Received: by mail-qk1-x74a.google.com with SMTP id b187so6430737qkf.3 for <linux-nvdimm@lists.01.org>; Thu, 14 Feb 2019 13:38:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=h+keLiQ8UrSvEm7+wL7InKcQs/d0wg/MdPLT1U+V0Ho=; b=BXI2cnVYMUYwcQEU11+rgRhxE47n/thlxwGOpDjMnOxVeEQP0xokJ4nExSRcuK7SM0 QAAmlXECYYny7H4j6j51UL6iuiHYQF3g9l7aEuX2Jvz6oXm+2+CaJkevycJsRcEdkukZ AOTE+D/EYnpm5ajS1mu5g+SjJ9JXgvOFvJ5n1t49w29nl+2WdwVh2sdKeQyBUMSrPWNH fzldV7om7MT58A6bj4ylmdSIJhce8j1K2OfKJiif1T5QxSUGn4JvJ6fTMIn5/RTlHAyq be0LePsoUOPZVHvloaYd2XW+4pmC2FjvjAgvvCvI3eecIy5Y5XwruIR0CekLlogHJIyO 6aiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=h+keLiQ8UrSvEm7+wL7InKcQs/d0wg/MdPLT1U+V0Ho=; b=UftE8LV+I1kn4W1fyxbhqC3vEthzoj+mtlDQZpKS6vq8EK1QCztr5eFMVdR3Y9Bav5 nA18R3pXZx2bMrCRwWFZ/ub0HFxqpAxPxym/ETkn4yUccRwSBw9cdPthptuXqVdtPfyr FJwr2DXNyDGr0+oxtI0ygyGuy+egX6MeZtz8P66OIwVe5QDC1HNf/lXxzicz9ZH+pYbX xMv9W4xe1rn/mc435vS4a57QwE8ZQWVd0foYKOHWAVPg4CxUbpBcOSxknK/Za8//cXXu 8q4yBjoRrcvfpUmNMygPgKeA/vnUUgJotfBrPoqBsLdPUPtB6X0eFX7ikAgIeJ3xoi/j 4uog== X-Gm-Message-State: AHQUAuYVOoszmf2ynU2eZfjmKzrezb8/tHJXR08AXXPC7i54vEsC0F33 SD7RjL5+qPLSHIR7ZKkgoHK7cvz2SpcDr10R/YIsYg== X-Google-Smtp-Source: AHgI3IYUSLyNNiD4a/w4HRwz+V30pDMQuGVooAEVXS4EAMj7mLItRzehEypNmaAk0pIfzA4HniHpwAB5iH9j08ChjsRL2w== X-Received: by 2002:aed:22ac:: with SMTP id p41mr2368970qtc.55.1550180323042; Thu, 14 Feb 2019 13:38:43 -0800 (PST) Date: Thu, 14 Feb 2019 13:37:18 -0800 In-Reply-To: <20190214213729.21702-1-brendanhiggins@google.com> Message-Id: <20190214213729.21702-7-brendanhiggins@google.com> Mime-Version: 1.0 References: <20190214213729.21702-1-brendanhiggins@google.com> X-Mailer: git-send-email 2.21.0.rc0.258.g878e2cd30e-goog Subject: [RFC v4 06/17] kbuild: enable building KUnit From: Brendan Higgins <brendanhiggins@google.com> To: keescook@google.com, mcgrof@kernel.org, shuah@kernel.org, robh@kernel.org, kieran.bingham@ideasonboard.com, frowand.list@gmail.com X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Linux-nvdimm developer list." <linux-nvdimm.lists.01.org> List-Unsubscribe: <https://lists.01.org/mailman/options/linux-nvdimm>, <mailto:linux-nvdimm-request@lists.01.org?subject=unsubscribe> List-Archive: <http://lists.01.org/pipermail/linux-nvdimm/> List-Post: <mailto:linux-nvdimm@lists.01.org> List-Help: <mailto:linux-nvdimm-request@lists.01.org?subject=help> List-Subscribe: <https://lists.01.org/mailman/listinfo/linux-nvdimm>, <mailto:linux-nvdimm-request@lists.01.org?subject=subscribe> Cc: brakmo@fb.com, pmladek@suse.com, amir73il@gmail.com, Brendan Higgins <brendanhiggins@google.com>, dri-devel@lists.freedesktop.org, Alexander.Levin@microsoft.com, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, richard@nod.at, knut.omang@oracle.com, wfg@linux.intel.com, joel@jms.id.au, jdike@addtoit.com, dan.carpenter@oracle.com, devicetree@vger.kernel.org, Tim.Bird@sony.com, linux-um@lists.infradead.org, rostedt@goodmis.org, julia.lawall@lip6.fr, kunit-dev@googlegroups.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, daniel@ffwll.ch, mpe@ellerman.id.au, joe@perches.com, khilman@baylibre.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" <linux-nvdimm-bounces@lists.01.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
kunit: introduce KUnit, the Linux kernel unit testing framework
|
expand
|
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 3142e67d03f1b..d10308eb7f214 100644 --- a/Makefile +++ b/Makefile @@ -958,7 +958,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) \
Add KUnit to root Kconfig and Makefile allowing it to actually be built. Signed-off-by: Brendan Higgins <brendanhiggins@google.com> --- Changes Since Last Version - Rewrote patch description. This was previously called "[RFC v3 06/19] arch: um: enable running kunit from User Mode Linux," which was incorrect since this patch does not have any UML specific bits in it. --- Kconfig | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)