Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2670465pxb; Thu, 11 Feb 2021 20:24:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8IIRRenujMCIEvLyyl7bHZL4+UCWVftrJjCc80dQFvMYc1YoGxyZ+OqNEQCme3g6VCzyg X-Received: by 2002:a17:907:35ca:: with SMTP id ap10mr1095399ejc.451.1613103856080; Thu, 11 Feb 2021 20:24:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613103856; cv=none; d=google.com; s=arc-20160816; b=0joJ4U9TYBrL2frkoEL2YCeEO4qhKrcRFX5RJoYzzTOUnZ66ZrnJJaJJxxL08jBSSq 6i6TtffOlDNpIwp/EV4/AsAzlVBisBDI+S0510E8ATdDRzRZNhot9mQSmcQcUzDJfHrC S+19498pyhbFwza8XZ5I+wv1JPxRVsnRLEF6w2r6KhIM4zF186exgKfAoVV02+Jk6ngV ST316uAq5skpRGj0zcK5pSoofVuj5yTcl4JrfgrlAROL94oMMNHAbnxvLp4xr32+7my1 TlQEoJhG2mTiPb8ez/jbkx7iqtWef22H/Wql7QeruLddLkQbSLu/T/95c2Wty14JM3aU fufw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=SyLg26eNuWnZrHYEuyyUEnsc6yXmt9YSZeOMFYfgcvw=; b=cIUJM8whBohRHvnnulKXZoHKOpzGFQR+62tTXiLVgERiVQOmoMDcrNb/QdnmQXq1Q3 a58PKTa+fsjLaQNHB5mM8RxZoD9A/4o+7w/qwt47Nhfa8bnuk7ayLPFD4PIu1VpiXuuH rRTH7/pdds+fEj/L9/TPvLM2gICRwCSiofrDJgsvCglyapS3pQZZYGNKPlHdwuYHkwWG VHSpvwXduIj9wdP5hNQClHzOg12HqOwNsM2VoGqRB876X8cODMTAvTM3q9wtlZBVsB97 +EKwc3JlYnv5y4HqGk/IpasNDZFZmnQ3BYTS/bPVjI41vE/Pui7h5xA1ioyValVcdVNZ TIlg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r11si5215547eju.334.2021.02.11.20.23.52; Thu, 11 Feb 2021 20:24:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229653AbhBLEXr (ORCPT + 99 others); Thu, 11 Feb 2021 23:23:47 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:37800 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229582AbhBLEXo (ORCPT ); Thu, 11 Feb 2021 23:23:44 -0500 Received: from cwcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 11C4MrdU001928 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Feb 2021 23:22:54 -0500 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 8A9D215C3601; Thu, 11 Feb 2021 23:22:53 -0500 (EST) Date: Thu, 11 Feb 2021 23:22:53 -0500 From: "Theodore Ts'o" To: Daniel Latypov Cc: brendanhiggins@google.com, davidgow@google.com, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, kunit-dev@googlegroups.com Subject: Re: [PATCH] ext4: add .kunitconfig fragment to enable ext4-specific tests Message-ID: References: <20210210013206.136227-1-dlatypov@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210210013206.136227-1-dlatypov@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Feb 09, 2021 at 05:32:06PM -0800, Daniel Latypov wrote: > As of [1], we no longer want EXT4_KUNIT_TESTS and others to `select` > their deps. This means it can get harder to get all the right things > selected as we gain more tests w/ more deps over time. > > This patch (and [2]) proposes we store kunitconfig fragments in-tree to > represent sets of tests. (N.B. right now we only have one ext4 test). > > There's still a discussion to be had about how to have a hierarchy of > these files (e.g. if one wanted to test all of fs/, not just fs/ext4). > > But this fragment would likely be a leaf node and isn't blocked on > deciding if we want `import` statements and the like. > > Usage > ===== > > Before [2] (on its way to being merged): > $ cp fs/ext4/.kunitconfig .kunit/ > $ ./tools/testing/kunit.py run > > After [2]: > $ ./tools/testing/kunit.py run --kunitconfig=fs/ext4/.kunitconfig Thanks, applied, with one minor fixup. The path to kunit.py is ./tools/testing/kunit/kunit.py - Ted