From patchwork Wed Nov 28 19:36:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Higgins X-Patchwork-Id: 10703279 Return-Path: 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 04E7B16B1 for ; Wed, 28 Nov 2018 19:39:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9AFD2D722 for ; Wed, 28 Nov 2018 19:39:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD7CB2D762; Wed, 28 Nov 2018 19:39:27 +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=-15.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, USER_IN_DEF_DKIM_WL autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 930142D722 for ; Wed, 28 Nov 2018 19:39:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729336AbeK2Gkn (ORCPT ); Thu, 29 Nov 2018 01:40:43 -0500 Received: from mail-pf1-f202.google.com ([209.85.210.202]:46145 "EHLO mail-pf1-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729332AbeK2Gkm (ORCPT ); Thu, 29 Nov 2018 01:40:42 -0500 Received: by mail-pf1-f202.google.com with SMTP id h11so9230403pfj.13 for ; Wed, 28 Nov 2018 11:37:58 -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=7o3/F9U9IKjkZ6IM9Sx8c0EMfVbluC0QKxi+aoA3j2Q=; b=cgDgZb3/4GE+EvO6c9q7nE9BKZSxXWI4PGb6FWRR91b4opTteDHUaFx8xi20/y7Mez JpV/5thabDhCBRUHZLG8pUs7FTtMY7V9eWyGJ7TlKv6bSu2qSYQ6ra7+6BdeJTOGyvoX s2bfpnjVtcKcxe12lu/NVowxn4Bu2K1qKFYTgllss2oVmmCQYTwicr29tnrSvAvJVmz7 R5jtAtTMjo8zBdo5vhchlp5rMhkZHvfRa6eZ8sfP8z95YloomWgnnyj2jApAZFQVFRe3 QjI8OiAPTG/swfACWqG2o6vT4kdLvD/tLiqlk8UsEnbfTON19tkBffPA19nL7KKQL9w8 anvw== 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=7o3/F9U9IKjkZ6IM9Sx8c0EMfVbluC0QKxi+aoA3j2Q=; b=TAvttkzAnTm83rBPTllDR49VFYfdvWCxqYUznR6XFOxNs5uH7A+ly/N25PVN/Ykbcw mo+nqla8EgSu+1TsZHF7TCmghO4ifqeDitpgPEYSdXP2/2EmcVjsi5ikxWCEjPWvF0aW g9fSuX8fOqPLmqeiFrVjW52tFERFp0N7DFW5cDl0uB/8oyR9T9+cDYyFt67AU4Xqwled PGMTD9fCHHgvytPhEgcHtqW6AiSkOtrPvxrf1x1ILnd8Zw0yMv6SZVlp0DOiItgKFq1S v9XFgidEMAfV58uLi/RSYHafg9BMVA4avYQb86gCno7rGlzaPLj8LVyDpBJIFZAvtfFl Qmqg== X-Gm-Message-State: AA+aEWaG48xS3WyOylcrAdB3YA1xxAqK12v3uSafA6m7jDOOqzqbnFGN CTPcltsmoADrE79OixpFeFUUfjQ9tfO2TMX9k0ZKBg== X-Google-Smtp-Source: AFSGD/WZCpu2E2XeyMSRagVO1P9amlU5ZIT0i7TxLE9lAIM/bsuosh+GUdbMWKiKnSx20YGh5Rl4K/RvwPKxAslB8knGdQ== X-Received: by 2002:a17:902:1023:: with SMTP id b32mr2501651pla.121.1543433877985; Wed, 28 Nov 2018 11:37:57 -0800 (PST) Date: Wed, 28 Nov 2018 11:36:23 -0800 In-Reply-To: <20181128193636.254378-1-brendanhiggins@google.com> Message-Id: <20181128193636.254378-7-brendanhiggins@google.com> Mime-Version: 1.0 References: <20181128193636.254378-1-brendanhiggins@google.com> X-Mailer: git-send-email 2.20.0.rc0.387.gc7a69e6b6c-goog Subject: [RFC v3 06/19] arch: um: enable running kunit from User Mode Linux From: Brendan Higgins To: gregkh@linuxfoundation.org, keescook@google.com, mcgrof@kernel.org, shuah@kernel.org Cc: joel@jms.id.au, mpe@ellerman.id.au, joe@perches.com, brakmo@fb.com, rostedt@goodmis.org, Tim.Bird@sony.com, khilman@baylibre.com, julia.lawall@lip6.fr, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, jdike@addtoit.com, richard@nod.at, linux-um@lists.infradead.org, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, robh@kernel.org, dan.j.williams@intel.com, linux-nvdimm@lists.01.org, kieran.bingham@ideasonboard.com, frowand.list@gmail.com, knut.omang@oracle.com, Brendan Higgins Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make minimum number of changes outside of the KUnit directories for KUnit to build and run using UML. Signed-off-by: Brendan Higgins --- 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 69fa5c0310d83..197f01cbddf03 100644 --- a/Makefile +++ b/Makefile @@ -966,7 +966,7 @@ endif 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) \