Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7598397imu; Mon, 3 Dec 2018 15:52:27 -0800 (PST) X-Google-Smtp-Source: AFSGD/U6oUMhDIW813BBkVOrWgLGTNpw1PKW0JV+Z5hwflii7VAQoQCc1Uisu7+sgs/eCH5WiU0t X-Received: by 2002:a63:78cd:: with SMTP id t196mr14978623pgc.62.1543881147380; Mon, 03 Dec 2018 15:52:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543881147; cv=none; d=google.com; s=arc-20160816; b=B/g61aoccEXRvYu7nRyyHb0IAYmoBLsh1Y5KyWRJQf4/evjmhclLT8h1jTv85yhSn6 H3hpfF3kJc5CtxsPdn4gGK2gmc7XHQPAU0Fi/4ASbdDNbmUIamhlI4sII38FOckTB0q1 TktVOW0GpS/SIGOB/A0jW0DTpQd6TwfEHAhtNwX04ONXR4BSt5vDpz2wRyx40iNg3WJV ouiIvlArNGsHG/0GrdDdVTXfttNo7zfr3YHhdtQc9gtEJMBCA+MdXRfCkWavSuEOcKLz tuwP4cIOW6SAZAP0sgkWvbP6dOp8ekNiB8Nk0uIwJyV2vfRDoB1j3DE6xJIRLrwbCJ2a OECQ== 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; bh=RsWUe022LF/t0itiCLuHiX3UzdU7WKeYTHhtphhD+gI=; b=QYfNrRMLi2Mqi6QQQN5plqYGoCGRna5a2rIceHObUJKzW+z0fOH5Cw1AlKo+H8nCLc nzw+G3l9Lmp2SU8MyaDKcnZMWvSzeK67pwyszsnQdzAlDQniWnX6fOqpaaSmtdZYdRtW cdmJB/g0RDP+uqEMbls6DljQaaT9Iapa1e+iMTnqEI/ozk0hW4W8jbNrwTEAJJ1OIMRG O7L4Rnggyq+fUNQmLmOnxfHKPee0MaE8gDSFIvNxttg31gPjybDRB6tzRGcy4A6yt4cp OJqQ+soHyvoMe8DAEqJiuyyk0o37ZGc/CfYKYfPxqDejMdxsQxFDXayTnKH1ESVm2jCt Us0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=sC5fcPJ9; 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 w24si8496080pgj.582.2018.12.03.15.52.12; Mon, 03 Dec 2018 15:52:27 -0800 (PST) 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=sC5fcPJ9; 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 S1726054AbeLCXvB (ORCPT + 99 others); Mon, 3 Dec 2018 18:51:01 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:40986 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725937AbeLCXvB (ORCPT ); Mon, 3 Dec 2018 18:51:01 -0500 Received: by mail-oi1-f196.google.com with SMTP id j21so12651499oii.8 for ; Mon, 03 Dec 2018 15:51:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RsWUe022LF/t0itiCLuHiX3UzdU7WKeYTHhtphhD+gI=; b=sC5fcPJ9QNh+3sCv7cmIwYT6GBlanFtBcl5o+cyqcWamfC1qRrFSeAtSPOZt30HWbn EvcF8VPN3lqxI1Jb1o/jSSUEtKUGGj2x056LmfX6XwMJm5Ty26FvV99swyG+pTu7TQIM pVSWQALb5ZgSIY5E67FbnmC8NBHpzhMHve1t+qC66EQUiJ1PiaE0JcI2lRKlfdWTZWwE q4M4dTCz9y8dEwV7hCDhjtQNbKEt6ZBNKBNFstl29Z9dfJc1GbtdlVbiY8/hdKfh2gqZ 9KNd4EV9EERCktPRvM4IrnAwuhLLxd+RUIBqrbPTMR59+k3mRwdLDmDsKwD3wfSwNH73 cw7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RsWUe022LF/t0itiCLuHiX3UzdU7WKeYTHhtphhD+gI=; b=b92UCFtKsqhq+NW1jq4MdStI1Zbs9gFS/eomTZYrcxf15cP1d0Z2HnSf75SNS/2d9a ejfArUn7Vx8J07XkWBA6gsu6E0kqo6RdAY1uWsiD1fW98YD4U8Ihc4ze9Fj+3ZkGOext ZMA8L8flgFexNQYdg3tqCEp1IAL0ffhaZYh0XSMIAEOvr1aOm0Yq+maGOK+TVRJYwuJR SAK5CF4ahqQ1J0aU0wKGHuFkteg9g5FRAAnTjulSFT4FKqsWHPymEslFrWjus979qX/5 XnZofvcer3pgPb8Px0+gqyeX+hIajR7GDkfTtXFROGgUdRn4LRZckdu59J9ja5MFGudY JmIg== X-Gm-Message-State: AA+aEWb1gWjlIN/4CkmsaMeH+j7ql+a1YbNFxJYsZUKJPXHrLSX8rb+o eZUkEoTzu/60D6xRDjB3tejXKpF8pW9JsIiykz/tcA== X-Received: by 2002:aca:54c4:: with SMTP id i187mr10673903oib.238.1543881060114; Mon, 03 Dec 2018 15:51:00 -0800 (PST) MIME-Version: 1.0 References: <20181128193636.254378-1-brendanhiggins@google.com> <20181128193636.254378-12-brendanhiggins@google.com> <20181130034425.GO18410@garbanzo.do-not-panic.com> In-Reply-To: <20181130034425.GO18410@garbanzo.do-not-panic.com> From: Brendan Higgins Date: Mon, 3 Dec 2018 15:50:48 -0800 Message-ID: Subject: Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel To: mcgrof@kernel.org Cc: Greg KH , Kees Cook , shuah@kernel.org, Joel Stanley , mpe@ellerman.id.au, joe@perches.com, brakmo@fb.com, rostedt@goodmis.org, Tim.Bird@sony.com, khilman@baylibre.com, Julia Lawall , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, Linux Kernel Mailing List , jdike@addtoit.com, richard@nod.at, linux-um@lists.infradead.org, Daniel Vetter , dri-devel@lists.freedesktop.org, Rob Herring , dan.j.williams@intel.com, linux-nvdimm@lists.01.org, kieran.bingham@ideasonboard.com, Frank Rowand , Knut Omang , Felix Guo 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, Nov 29, 2018 at 7:44 PM Luis Chamberlain wrote: > > On Wed, Nov 28, 2018 at 11:36:28AM -0800, Brendan Higgins wrote: > > The ultimate goal is to create minimal isolated test binaries; in the > > meantime we are using UML to provide the infrastructure to run tests, so > > define an abstract way to configure and run tests that allow us to > > change the context in which tests are built without affecting the user. > > This also makes pretty and dynamic error reporting, and a lot of other > > nice features easier. > > > > kunit_config.py: > > - parse .config and Kconfig files. > > > > > > kunit_kernel.py: provides helper functions to: > > - configure the kernel using kunitconfig. > > We get the tools to run the config stuff, build, etc, but not a top > level 'make kunitconfig' or whatever. We have things like 'make > kvmconfig' and 'make xenconfig', I think it would be reasonable to > add similar for this. Are you just asking for a defconfig for KUnit, or are you asking for a way to run KUnit from make?