Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6960683yba; Tue, 14 May 2019 17:28:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqD+58jKIUUosO9S6qtvQXbEwqKAGxDQLozxYFXwdInXg4czWKQ7oy3yYHH2bNaeWGllW7 X-Received: by 2002:a17:902:8ec6:: with SMTP id x6mr39631338plo.123.1557880100189; Tue, 14 May 2019 17:28:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557880100; cv=none; d=google.com; s=arc-20160816; b=gyahVDpbIwBAj8/EhCjRhG0v1AdSWtj4byZNLD6RPg4sDuUttkSP2BL/JAMNbhN2at kdHYBAjByDBvMSfW8cCseYxb/I6vw02g9SfnSr5W0RvYueX7lnC2r+sj4Ejk3e8Dn8lO T7G2R4NZ3ahvP0oJUHXfMAL3li+HufD5j1Ideor/yngkwpHFyCESNXqkKM0vkZ5eHWZA zKeEVfj4eHFzrYM/iEUdu1mInYAYeYmFlDETRrxb9Ocs+0DtbHydCJHo96LdqCPdz0xg 3bMwvOuIeERwyAzflJ2++MO8oKqdoe81fuUwqvoIR0YMl7tNRVj7IeKStdnlvy7XMZik 9h2Q== 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:to:subject:dkim-signature; bh=ypDVsaFFOykr6yuKVx2k2XaJyOr+u5tERYjVpiOjyiw=; b=V6HsufYWHtzG3X6FyYDbmumQwJvvsOnkyXsgb4dAGQnMLorMaaZ2xShfnibE2bQgGa dqh4QmxJhDCQRbOMWaGZmw8E+iv8K25oMuMcXF5MHDazVHTTB/MxFT6WwiAPDK2qKLx5 TD8QZo4bSp39koOtgBEPsYFymyc7Uegb3RAJt76qv+Ms2xxFdjwq1fYQeudlR1yrmJRt GRLZfiCnxfB6RfxPwJRI82t1IYuCFwEN7YZeqS6f6ccvBlBC4JVD93SDP9nhyhSdwlFM iTnM+6rqj1bVMhziFxLCMdxx6mXIv1as/VUrnxxEloHup2OdOk9+pe8exIG2xfSt25EM bRtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IuVZ2l4O; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6si347426pgh.163.2019.05.14.17.28.04; Tue, 14 May 2019 17:28:20 -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=@gmail.com header.s=20161025 header.b=IuVZ2l4O; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726348AbfEOA0w (ORCPT + 99 others); Tue, 14 May 2019 20:26:52 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:46665 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726044AbfEOA0v (ORCPT ); Tue, 14 May 2019 20:26:51 -0400 Received: by mail-pg1-f194.google.com with SMTP id t187so373972pgb.13; Tue, 14 May 2019 17:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=ypDVsaFFOykr6yuKVx2k2XaJyOr+u5tERYjVpiOjyiw=; b=IuVZ2l4O+MIDyXpYgUM5qQQYoX7Y/sJsvGPvmvehKAC4lwwIGDudhzngFBjnRWN5ci k8JCzwMxo0FPATgnUf4u2R2YAGB3ucoMe6dvaUUgS8cW7nlEYr0d+QFwmikIyWdOae9X BS5/vwSRCViiC8xY3hAHYh4bpV2zhvnq0blTNTPWsFb+XmhdfxM+Bo2jZReJurV/GrST 8fIBxa0ZCqTTyE7l8H4cMfsveUZmMSCHTxDv7jz/q6pmMaZ1VAUfFLnS/1mPPZOC7zye iSrgkJ/pxklMI6fKQALs4Yf/9f1VNfTv8Na0CM/+Hu116UCn5U7KYQb+xYIHEY5zeGUw h+Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ypDVsaFFOykr6yuKVx2k2XaJyOr+u5tERYjVpiOjyiw=; b=iQR7l5pOdgVGnOOJlA6UfjzqYdnCtYavCRWYyLCYh4WuCrfOzgwVSunqaVMVQP5awI XPp4wEDBfbr8QuorF1wvIVnU7xuiaMZvGzMvytWecPjY0f/ELcqXa071GGt9IChyb6Dm aMBbvTMZmgtE60t4ClxzvzznT6iaCWQF9i2pDKf4QjJZ+GCVV6UA2GHoQ5cAkWdx39Qu iN6Q41vFaXXeUiSWdjnUN+Qww8M/L65MkYrrdx6FI7qR8my95sw+9WuXegpFHMWSduQm NZ+PBx8cUY6JcsdV60U0JCjv+FYayaXWnsqodSx+khREb3gmiq+1PnK1whjVZUHOGYDC H2UQ== X-Gm-Message-State: APjAAAUpTYV5EDFF+0n4DWRmQDrWqECSRUv9+63sqw/Z1eTCkLSTQvl7 xyhhqye/YdoAmeXJOXiNiUs= X-Received: by 2002:a63:1c4:: with SMTP id 187mr13725679pgb.317.1557880010775; Tue, 14 May 2019 17:26:50 -0700 (PDT) Received: from [192.168.1.70] (c-24-6-192-50.hsd1.ca.comcast.net. [24.6.192.50]) by smtp.gmail.com with ESMTPSA id 204sm272559pgh.50.2019.05.14.17.26.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 May 2019 17:26:50 -0700 (PDT) Subject: Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework To: Theodore Ts'o , Tim.Bird@sony.com, knut.omang@oracle.com, gregkh@linuxfoundation.org, brendanhiggins@google.com, keescook@google.com, kieran.bingham@ideasonboard.com, mcgrof@kernel.org, robh@kernel.org, sboyd@kernel.org, shuah@kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-um@lists.infradead.org, Alexander.Levin@microsoft.com, amir73il@gmail.com, dan.carpenter@oracle.com, dan.j.williams@intel.com, daniel@ffwll.ch, jdike@addtoit.com, joel@jms.id.au, julia.lawall@lip6.fr, khilman@baylibre.com, logang@deltatee.com, mpe@ellerman.id.au, pmladek@suse.com, richard@nod.at, rientjes@google.com, rostedt@goodmis.org, wfg@linux.intel.com References: <20190509015856.GB7031@mit.edu> <580e092f-fa4e-eedc-9e9a-a57dd085f0a6@gmail.com> <20190509032017.GA29703@mit.edu> <7fd35df81c06f6eb319223a22e7b93f29926edb9.camel@oracle.com> <20190509133551.GD29703@mit.edu> <875c546d-9713-bb59-47e4-77a1d2c69a6d@gmail.com> <20190509214233.GA20877@mit.edu> <80c72e64-2665-bd51-f78c-97f50f9a53ba@gmail.com> <20190511173344.GA8507@mit.edu> From: Frank Rowand Message-ID: Date: Tue, 14 May 2019 17:26:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190511173344.GA8507@mit.edu> 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 5/11/19 10:33 AM, Theodore Ts'o wrote: > On Fri, May 10, 2019 at 02:12:40PM -0700, Frank Rowand wrote: >> However, the reply is incorrect. Kselftest in-kernel tests (which >> is the context here) can be configured as built in instead of as >> a module, and built in a UML kernel. The UML kernel can boot, >> running the in-kernel tests before UML attempts to invoke the >> init process. > > Um, Citation needed? The paragraph that you quoted tells you exactly how to run a kselftest in-kernel test in a UML kernel. Just to what that paragraph says. > > I don't see any evidence for this in the kselftest documentation, nor > do I see any evidence of this in the kselftest Makefiles. > > There exists test modules in the kernel that run before the init > scripts run --- but that's not strictly speaking part of kselftests, > and do not have any kind of infrastructure. As noted, the > kselftests_harness header file fundamentally assumes that you are > running test code in userspace. You are ignoring the kselftest in-kernel tests. We are talking in circles. I'm done with this thread. -Frank > > - Ted > . >