Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp16441imm; Tue, 16 Oct 2018 16:58:31 -0700 (PDT) X-Google-Smtp-Source: ACcGV60PnCQr5H01sDjEkjZSRqqOBg7yOFvlRglH61cLQ+AN5lFmISG4XbVy/9QnOloQCNrZU2en X-Received: by 2002:a63:618f:: with SMTP id v137-v6mr38159pgb.242.1539734311213; Tue, 16 Oct 2018 16:58:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539734311; cv=none; d=google.com; s=arc-20160816; b=XoCVV/dFYW7d67XY1kETqVSTtniuzzmy3YXNBc/nuN7aVyRW2ZlTre1LIgaO77vl9h 1CxhQ0ZvoDBJtF6YDG3lz6ZTPSJ94CBr1pLI8NKyD+FGIik7GKvopqQ2GVo0hZw+VqeU shLBGXAr9rdgMIKuNIt1dvcnBiFIeVSriIQIJYzTZO2mIClioCTOLP/rW9HfDBFB4ylr VrenhuDK+Vu13njR1FqKc4UIoUvfc7IKg4TXFAOjjVtqmASEQkoat1I7IrTyXGJKUGr7 UAFRX9KRnsDR+7PJm1sYDDu9XTCPtRMih9iQMFLR7fZog+3RfV9oaYxyI61zXERjIUsg 6miw== 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=z58nC2iAZa+aWGH30Fl4KryPGgLRMoTZOR6aRJpK+Rc=; b=Po70Yd/xy7ikH2i4sGb1XFDucfRw2XBQYfHUfruYck5AyYauwG3uF5e+qDiSjA5U5Q SNbkhP8cc/XMrkXbFEnmTNCVjvt05ZaxJ2X5dTWY3RdA3JR8UCk/xchJeWJepW8LKiLI hNkEPAVKXRhubF3YRL9akNF8UoMptmHkByJxHEyPPZV/8jtCx3XxhzKMsd5aGqH7+65E cr8HHvPB0WYESGnHoum5glUDYdIUIKdsibzLJ943x6K5JSiAyJun8PcQEBrWY118UVn5 E167Hjirpk3cFfbO22nQ72ZteSf4Vjml5dmp1vb/vfRPxaGvDIjSvRuAfMVJQTgDXOZ0 mb6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="X6G8Q/xz"; 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 77-v6si16437965pfu.154.2018.10.16.16.58.09; Tue, 16 Oct 2018 16:58:31 -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="X6G8Q/xz"; 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 S1727521AbeJQHqv (ORCPT + 99 others); Wed, 17 Oct 2018 03:46:51 -0400 Received: from mail-pf1-f201.google.com ([209.85.210.201]:34127 "EHLO mail-pf1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727506AbeJQHqu (ORCPT ); Wed, 17 Oct 2018 03:46:50 -0400 Received: by mail-pf1-f201.google.com with SMTP id i81-v6so25374689pfj.1 for ; Tue, 16 Oct 2018 16:54:01 -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=z58nC2iAZa+aWGH30Fl4KryPGgLRMoTZOR6aRJpK+Rc=; b=X6G8Q/xz0LHNn4askpya4Qyjb5yi0UFIqxSD98dPg2XnCRxBCWVSS+vhfvpHxdgZ61 c8MOcFdxRdS7RvaoTKOpSWmv/d588hkCfMLticT622iptne2B4SinvQthUHuCSQIzpmi 5NRik3PeyN00lSHTmNDR8St6U112z+m9a6hYY7kin6bs8iBVJl7HO0o8Q/41uh51hyul U++OufyoHMd+uGcdmV29bmdotEcHuGPQyeR/9f43r460hzOU6CWx1kPp1gjqMGzIEwtV XySW/0X7EHZPSJQAX7MNzAqiyHRSZ1eGqanOxIYRR2Ho/7Yb/W03dhboQAwNc7myUD46 zH3g== 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=z58nC2iAZa+aWGH30Fl4KryPGgLRMoTZOR6aRJpK+Rc=; b=d7YGwYcX+D/sACZuR5io4CjoXlnYu+UjLeJnidKU80m+bEBdFnYtHKtIYLdWwrTbC2 kTn/8Cs924Th03ifmYLhJhXqmo3rlNITnz9uHIOEluLj7N7JNI7rwTwllX8x07JHvcIT s9SFBE4s9CK4/oOgMmAHuCzuvcnFSSEpdDgTNA7e7jRhJUsYVrQykg/ncc8I1YhTLr+v LYBsqKBUDFwWiUPvdF6LsI2ms4YnV+RTurW6yT7EWWgH9XIPxpaI1Jfk5b3bmET2LY3B lyqrTffdFJHb2v9AorAwY0ggka0mtx78FT93wUCH6HFlLXHckVDJbExN8/7VDyxqCO9U d8AA== X-Gm-Message-State: ABuFfoicbZTDdCrjjMCmlWTsaoB0NZfUTJpjH5z8vNHAiltdgu31mh+i gzK8ryHPxSMkWW0TjBVW0oSfF+gJq8ah0VsNIzyVnw== X-Received: by 2002:a62:908e:: with SMTP id q14-v6mr12401580pfk.62.1539734041297; Tue, 16 Oct 2018 16:54:01 -0700 (PDT) Date: Tue, 16 Oct 2018 16:50:55 -0700 In-Reply-To: <20181016235120.138227-1-brendanhiggins@google.com> Message-Id: <20181016235120.138227-7-brendanhiggins@google.com> Mime-Version: 1.0 References: <20181016235120.138227-1-brendanhiggins@google.com> X-Mailer: git-send-email 2.19.1.331.ge82ca0e54c-goog Subject: [RFC v1 06/31] arch: um: enabled 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, 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 Makes minimum number of changes outside of the KUnit directories for KUnit to build and run using UML. Signed-off-by: Brendan Higgins --- Makefile | 2 +- arch/um/Kconfig.rest | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 863f58503beed..c8e659468ed49 100644 --- a/Makefile +++ b/Makefile @@ -944,7 +944,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) \ diff --git a/arch/um/Kconfig.rest b/arch/um/Kconfig.rest index 08327b9c0cbea..484c4cfcad1ef 100644 --- a/arch/um/Kconfig.rest +++ b/arch/um/Kconfig.rest @@ -1,4 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 + +source "kunit/Kconfig" + source "init/Kconfig" source "kernel/Kconfig.freezer" -- 2.19.1.331.ge82ca0e54c-goog