Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp146146imj; Fri, 8 Feb 2019 16:57:09 -0800 (PST) X-Google-Smtp-Source: AHgI3IbKEYaLdy1rHFTIb3yo5VaUUym5pBWVO7sZyQiA43Lh8WAC23mJq9NUPE+tfocOTEEaJ9EH X-Received: by 2002:a17:902:f08b:: with SMTP id go11mr10298780plb.115.1549673829754; Fri, 08 Feb 2019 16:57:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549673829; cv=none; d=google.com; s=arc-20160816; b=NKZvWC58EAInr7d8yhy1vV8zqMCKhqHRqvUTi48cZNXD3wFx5MuiTe5Yc0pbCnUyAc AbfIqhVEi9Mz8E4BpHzYnOjRqqdQxNle0A9YYkF0VosHKMebsuht1qhYpj1nYwQUbFAn zVlXjAXQdD3alJa5STlZ0aHzuMa61IiNxCXd5MpCdUnhohW/N1B0XXtFNosfzzvWVtMU w+hvwqnpN6ydref1THnr9Ke8tpLYHshWacHr7cvF2W6AioYMMcb96rVC7ZCVftugWhrM lzk2SjzYIQaVFEyGv0tufv2NXB3JfrNuTZVX4sQASQp3m/mDB+jIonLmG3QL2YVxyGVV Comw== 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=yp7edThPT1PyrBkFC38ySq+JVx70JcEvihKyDRoM37Q=; b=l+1JewW+xu8M/k1lKszLiku8FlHsGYnsmZK1UP6rubFZv0yeI4l/RY2tBByQUdK4ZC qyo2AbVzRDO/vyxl3G+IbBYcvdAylZing0rdfN7pCtdjWUgat7dJOLufJPCLgvDZ+6lZ DxWTv5ZLWuTAQzAQTV/qwlbTtC/buduIwJWHr7kjdhhVQ+sjRelrcTRmtKpdezd1Nffq 7f5kLV8FUggFgNI6YcTXs4WmCikTNzvn2X6kcb942OMeyMOGx0YWUUnhe7pgSXCbLLDI MadRH1WMhc7aRkq8b9dwXIkH3pu+ZYXANFzAjc4gARJiKxI22JeuHBQeiesDffm6KdIk 4eGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=sRYdcdA8; 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 a23si3617863pls.384.2019.02.08.16.56.52; Fri, 08 Feb 2019 16:57:09 -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=sRYdcdA8; 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 S1726722AbfBIA4r (ORCPT + 99 others); Fri, 8 Feb 2019 19:56:47 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:44205 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbfBIA4r (ORCPT ); Fri, 8 Feb 2019 19:56:47 -0500 Received: by mail-ot1-f67.google.com with SMTP id e24so8912225otp.11 for ; Fri, 08 Feb 2019 16:56:46 -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=yp7edThPT1PyrBkFC38ySq+JVx70JcEvihKyDRoM37Q=; b=sRYdcdA8OhrfMS/N6X63JZP6zOjqS3E3XLAAOSDezNKjC5uNOTsJu1iAUIycOw8QWn K7pSO3vA5MMWzpCsJYB+KYv7HCM2iiTdU/Sd5IdIUIaDrD+ehH1ANCcmT3Z7EWn88J1c apLKEbM/Rvat/f6aqZWsto+oucmfmMwNjDvZaP+Wa0WnG6yFn6pEnkfXmdIqhfh3+3aj WMdE6jlFa+VqbLKpPqYPCN/+vUKQpvg/sNnUT64kexpLsJtGkiVvrT3H/SQ2fbsBZvgj xYFsgsOjQ9FL4nWTKdu7F+mnfmNruUzGfGNXX2SrnAzclWa8WoS89FYou5jxZbOwWv6a gHeg== 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=yp7edThPT1PyrBkFC38ySq+JVx70JcEvihKyDRoM37Q=; b=BmBs5dZb4UwL/K8zVazfdBJUwGWT1KTMwePpTZ27EkGimzX06zGtgVuFlfKdMuRy2Z hZbKL4ziyKf0TsfDCwrQWLNX/S82OO180jak7W1jaVz03rDqSId3AgdOIWcSLEDEnKTd 3EuztzNv7SLerKzCsEN5I1jHRO5ZEUPd+ENCJ0IYqwtQx4j80xdlb3utshVfhzd9830T acZjDfjlXuR/6SU4Oggo7DqYnwXFqgVi7SrQ8LdS3296dsbuFdWo4X5oKgPWv3naTlaK iziKTVbhxvNGxXkKIQMbBoI8yQ8xeXBhBs1NjP4Y1cwEunAudIgEKvKAFCA2pLQcWpdO grBA== X-Gm-Message-State: AHQUAuZj5uBUVSOSioyPEcN7KCpNNhWcKTkCsZJWpfJ7t5G9cXl8iPaW mTfGCpLMPrALSmabGnGOhW5a3c8WoewdHtnZXp+JDA== X-Received: by 2002:a9d:7285:: with SMTP id t5mr16514861otj.228.1549673805806; Fri, 08 Feb 2019 16:56:45 -0800 (PST) MIME-Version: 1.0 References: <20181128193636.254378-1-brendanhiggins@google.com> <20181128193636.254378-15-brendanhiggins@google.com> <20181130034525.GP18410@garbanzo.do-not-panic.com> <0927c42a-8e65-f410-e6ed-27576572577f@ideasonboard.com> In-Reply-To: <0927c42a-8e65-f410-e6ed-27576572577f@ideasonboard.com> From: Brendan Higgins Date: Fri, 8 Feb 2019 16:56:34 -0800 Message-ID: Subject: Re: [RFC v3 14/19] Documentation: kunit: add documentation for KUnit To: Kieran Bingham Cc: Luis Chamberlain , Greg KH , Kees Cook , shuah@kernel.org, Joel Stanley , mpe@ellerman.id.au, joe@perches.com, brakmo@fb.com, Steven Rostedt , 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, 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, Dec 6, 2018 at 4:16 AM Kieran Bingham wrote: > > Hi Brendan, > > On 03/12/2018 23:53, Brendan Higgins wrote: > > On Thu, Nov 29, 2018 at 7:45 PM Luis Chamberlain wrote: > >> > >> On Thu, Nov 29, 2018 at 01:56:37PM +0000, Kieran Bingham wrote: > >>> Hi Brendan, > >>> > >>> Please excuse the top posting, but I'm replying here as I'm following > >>> the section "Creating a kunitconfig" in Documentation/kunit/start.rst. > >>> > >>> Could the three line kunitconfig file live under say > >>> arch/um/configs/kunit_defconfig? > > > Further consideration to this topic - I mentioned putting it in > arch/um/configs > > - but I think this is wrong. > > We now have a location for config-fragments, which is essentially what > this is, under kernel/configs > > So perhaps an addition as : > > kernel/configs/kunit.config > > Would be more appropriate - and less (UM) architecture specific. Sorry for the long radio silence. I just got around to doing this and I found that there are some configs that are desirable to have when running KUnit under x86 in a VM, but not UML. So should we have one that goes in with config-fragments and others that go into architectures? Another idea, it would be nice to have a KUnit config that runs all known tests (this probably won't work in practice once we start testing mutually exclusive things or things with lots of ifdeffery, but it probably something we should try to maintain as best as we can?); this probably shouldn't go in with the fragments, right? I will be sending another revision out soon, but I figured I might be able to catch you before I did so.