Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2258040ybi; Mon, 17 Jun 2019 01:29:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQt6kSVG0U3v6ayDUolED8W+AVKH0SuLJbeAcrcA9+ZxVN1WNij4pAij3jv1IlcDAy822L X-Received: by 2002:a63:c60b:: with SMTP id w11mr6977666pgg.356.1560760142027; Mon, 17 Jun 2019 01:29:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560760142; cv=none; d=google.com; s=arc-20160816; b=bsdIyMdlBkqDFGGGi5jR/xnEz7xPmz9dEJXtrSACtUyoAQZu4Qb4KarT0pNyHnNZkS Us2isKob1qAXfYkM13P2kmOOfwehgrqrdEFdCayFdRT9koXsdpRN53zpiAohpAfaHp1s QPqkNYEeOPdBQqBbXOY94U2sDGPVXfZF7mvmI3ATcVaqoijlV+j8ywoEtJLeOdPb3yR1 pEOp0Zw+tW7k/sZnufKGTJomft3TamxC6Gh5PfT/8QBjQCijTxrrrukjd5uNz+FT41v5 Mwmprdf9xgEDfd+IuIqgLfuJ1hD4Q+dyplVIOEU0kRM9oI2BAVoN/lZddaWbrheRkQrn z5dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=x00LgSmLKToDFMVzGBRd3p5tkepZRYMdj+2oyEasIr8=; b=UuoIeP292x4JPEKwmjm5diGva3PSvHvHq7Bfow6iyCgM15l5uGpUBeYIx8NkNw7afz L1tuIroi/nx2TiMPpcpgYzQAz0jHbHZoeruhH2B3jNRXtMC/B4/VV5+RJ+k4JZ2HlthY fEYncRpEBVpTe32SvSt8jkBTbSunCgkHOQuwIOFt+YKIdAHhMLUU8sHmRdBM1gs0UOm7 zniW/CpRNekCUOOxvo2TTezZGWhrzPlYzRZKsLJ65q6Trhyp6Udk9tCCoLH5sUV7OSu/ f5Mdy3r0GgvjaVrlqnvuLZRNXD+/RsUcK9nASPONbe2MPFH9IfTAUgH4mli8ScwYce5o yH0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=QRuUpR7f; 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 k64si4098448pgd.573.2019.06.17.01.28.47; Mon, 17 Jun 2019 01:29:02 -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=@google.com header.s=20161025 header.b=QRuUpR7f; 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 S1727810AbfFQI1H (ORCPT + 99 others); Mon, 17 Jun 2019 04:27:07 -0400 Received: from mail-vk1-f201.google.com ([209.85.221.201]:35920 "EHLO mail-vk1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727777AbfFQI1D (ORCPT ); Mon, 17 Jun 2019 04:27:03 -0400 Received: by mail-vk1-f201.google.com with SMTP id s3so4486863vkb.3 for ; Mon, 17 Jun 2019 01:27:02 -0700 (PDT) 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=x00LgSmLKToDFMVzGBRd3p5tkepZRYMdj+2oyEasIr8=; b=QRuUpR7fe5b6KQBbrm5CJpf+ld0Qdmum4wKPR1jUB+VQRr9GS6e7oJ5ulOSoALkGRP ovpTcXb4G9btECrBBzgf45fxCMM2GXv30izjPgnZKuYLFrpwe3HXhZDQB73XVrAejJxD IgfII4Z9jaY8fPVzbtqxbOwVsCvGiB0RF4Mffv1td7BVKS1Kx0JJZAXyrkGkivyiYA63 hsgbC0KTmy8G9zVu3WhXcfLq7dYt6rebWJmZYOhXohOw40uDx9fx1rlyjCam74q3M300 OpJon9kmObZYZt7VkAjWX8Hir7yRWcNZaLM02mxdF6GX3sH1HnSt2LSrmWpaGI1AehdZ m5iA== 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=x00LgSmLKToDFMVzGBRd3p5tkepZRYMdj+2oyEasIr8=; b=UTuMJ2dwZIwd6wHNgvKaSsVOAR6Ctm2gXuCUYtO72W/7C29rM0YcVb5L8NaGfiigGY yQSljwU910LT80zvhp8q2Qs/KQ/qqtKW/BPLYAHmDHzy3SAvk1oX/XX4FJ9VVql/UDzu bm9b8YqhbPrIn8/OhwewJGvZYA1kEfVBVddxFFf6Jm0JW0uV5dSMRjHfPwUaPyb1Wvyi uyCnyXv8ZvDld/fKgizy/PU20okXm88yJRMGHLpQbNoppb6C3SAb+DayOzAc4/rSryM0 JU4k24LJ0hFboFvCvn0vcmFSfVrnjgthiQvh2AiaARIQRW7SeOLwsymDgoifJ0Iu+Wvr kCiA== X-Gm-Message-State: APjAAAWdSklyXB/tQLGABQbFtdYBnU9WBPrHa4dt9DFgbuCVI7DHStkd T/qljYtkoH2zp+udEPpAVm2Kzhb5sEg6PpdDJivvhA== X-Received: by 2002:a67:6d44:: with SMTP id i65mr58904024vsc.106.1560760022147; Mon, 17 Jun 2019 01:27:02 -0700 (PDT) Date: Mon, 17 Jun 2019 01:26:01 -0700 In-Reply-To: <20190617082613.109131-1-brendanhiggins@google.com> Message-Id: <20190617082613.109131-7-brendanhiggins@google.com> Mime-Version: 1.0 References: <20190617082613.109131-1-brendanhiggins@google.com> X-Mailer: git-send-email 2.22.0.410.gd8fdbe21b5-goog Subject: [PATCH v5 06/18] kbuild: enable building KUnit From: Brendan Higgins To: frowand.list@gmail.com, gregkh@linuxfoundation.org, jpoimboe@redhat.com, keescook@google.com, kieran.bingham@ideasonboard.com, mcgrof@kernel.org, peterz@infradead.org, robh@kernel.org, sboyd@kernel.org, shuah@kernel.org, tytso@mit.edu, yamada.masahiro@socionext.com Cc: 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, 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, rdunlap@infradead.org, richard@nod.at, rientjes@google.com, rostedt@goodmis.org, wfg@linux.intel.com, Brendan Higgins 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 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 root Kconfig and Makefile to allow it to be actually built. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- 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 b81e172612507..4b544a8eebee4 100644 --- a/Makefile +++ b/Makefile @@ -991,7 +991,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.22.0.410.gd8fdbe21b5-goog