Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp2245612ybj; Sun, 22 Sep 2019 23:45:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqyp7EgKlm2tNqTzAofEngneVnQdLKOPHOEHHi0DgxfuYFCRajBRcVj/I0bo+Bb5S5I19NbQ X-Received: by 2002:a50:baa5:: with SMTP id x34mr36530755ede.148.1569221124673; Sun, 22 Sep 2019 23:45:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569221124; cv=none; d=google.com; s=arc-20160816; b=neZBoh+99SXcXXVutmCFwlWFXXCkTQr2zWvMb0yStLo/rmiCbbWq84Y7xNRiSG2JMr 7xbkO4SKmw5Fmgbsg72+wlYlYcD7GBuvc+Wp8YzjJ0m1XtDUVH1dUBXRnrXuvh4nK3K0 cmu97j4pDa89yaImUcw4C3cwTnCjycvnec9rRBIc0k5fPhh9e1rZPzl1KM8ssc1AVlgC y1V9FyqO5BqlwilNYlLOhWH58LWgEcbaFgilLOaFUX850Hwaa50bCFXUsy2VkJeVE1ib nd+l5G+XlPgIBF+M8EVnRXAWS1iKyxfusi3P6jHL8frRCVgwlh/12DZpLN+uN9vhS8Xl pFNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=V/m8W9O2Haha1e8N7X661vaEYz514z0rIXOBFhZpOLk=; b=xQrfigDNnVeWrh7QiYIQjV29YV5SkGcqu1pKgJyFjKvNyxt24Cyi+AX2zDi7HMnCfr aladHWwqkd/W+WPwzco5GQ6Uun6z14ZRH2ap7FZs7PgviovlDkpDKkSaBanWIRk+rqP8 zGceb5V+PnI2xj7od5KOn0xbF8TKx/7Drxl6UZKrrrDGVwjJi7dI0Cgu3aMSCYtUFtOP cGKKyauDVNlJf4/qj8kdD9zy7ARojC7vJHAxZLTOIHzUhLL3Z/97yQIt4IyHtlxn/xbT IS1EYH9I8A2CYJUXyErAhWZbJsUI7AcfoNOQiJzkFuPNA35lYLvvcoeKYRjyihzwsb2y 2++w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="hnv/JQKM"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w12si6121180edx.223.2019.09.22.23.45.00; Sun, 22 Sep 2019 23:45:24 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="hnv/JQKM"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391543AbfITQ0L (ORCPT + 99 others); Fri, 20 Sep 2019 12:26:11 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35476 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388770AbfITQ0K (ORCPT ); Fri, 20 Sep 2019 12:26:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=V/m8W9O2Haha1e8N7X661vaEYz514z0rIXOBFhZpOLk=; b=hnv/JQKMMZUbM9rlNbOlzpzJC qtlcxyyrm/vuodKAFzgT0jVLnvq7LNNp2LsmEUWNsBv68rQti2lb8/po6ejkC9YCAZG4ZJySAyRU5 OsHSGKhbmILRgR9nzkofugFn6bbDKeh7syXjThHx2CxQEXr23N3QYi5Kl8ik7bG6ybUrvSRgqTjr2 Jxm38V5Whlt1KBsDFOsva8FclBT3fsGqai0pRlkWwKJlr6cp45uBiC3Q5Lf4FaAMxhtZRn48ktXbJ 2rsT/esVMfHCrp/uX4fJS4xrh2u5aD1DJn+D+Gdb7dZchtzrURT9WouujJ3oWjKcvylDfUVM5ruf4 yzH/lpbmA==; Received: from [2601:1c0:6280:3f0::9a1f] by bombadil.infradead.org with esmtpsa (Exim 4.92.2 #3 (Red Hat Linux)) id 1iBLjW-0000se-9u; Fri, 20 Sep 2019 16:26:10 +0000 Subject: Re: [GIT PULL] Kselftest update for Linux 5.4-rc1 To: Linus Torvalds , Shuah Khan Cc: Mark Brown , Jarkko Sakkinen , Brendan Higgins , Anders Roxell , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List References: From: Randy Dunlap Message-ID: Date: Fri, 20 Sep 2019 09:26:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/20/19 9:17 AM, Linus Torvalds wrote: > On Tue, Sep 17, 2019 at 12:26 PM Shuah Khan wrote: >> >> This Kselftest update for Linux 5.4-rc1 consists of several fixes to >> existing tests and adds KUnit, a lightweight unit testing and mocking >> framework for the Linux kernel from Brendan Higgins. > > So I pulled this, but then I almost immediately unpulled it. > > My reason for doing that may be odd, but it's because of the top-level > 'kunit' directory. This shouldn't be on the top level. > > The reason I react so strongly is that it actually breaks my finger > memory. I don't type out filenames - I auto-compete them. So "kernel/" > is "k", "drivers/" is "d" etc. > > It already doesn't work for everything ("mm/" is actually "mm" > not because we have files in the git tree, but because the build > creates various "module" files), but this breaks a common pattern for > me. > >> In the future KUnit will be linked to Kselftest framework to provide >> a way to trigger KUnit tests from user-space. > > Can the kernel parts please move to lib/kunit/ or something like that? Please also move the top-level Kconfig menu item "KUnit support" to somewhere that is not top-level. Maybe also in the lib/ menu. Maybe in lib/Kconfig.debug. -- ~Randy