From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF48EC33C9B for ; Mon, 6 Jan 2020 18:55:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A66B32070E for ; Mon, 6 Jan 2020 18:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578336901; bh=yVdtCtKT4wuNUclV+dp7A5m3+vWo+hXaOhVzb4vGJZs=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-ID:From; b=zu1dn50x0lcJdi+ktbmWiPPRjoRlc7YPNotwo8H1NTPe1GdqSXPn/XyUKyWOOM/1A 2YMLDBrQbp4ov51EmZHn8f66qTC5SZa6Tnhnw3xAZBfbZDEQS3xwTVFh6HfHKVTry5 Lb5ZZudIjJdpBMFHT5l6ArYqfhAkyT6U57/RgXKU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726769AbgAFSy6 (ORCPT ); Mon, 6 Jan 2020 13:54:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:40186 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726719AbgAFSy6 (ORCPT ); Mon, 6 Jan 2020 13:54:58 -0500 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 995EF2070E; Mon, 6 Jan 2020 18:54:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578336897; bh=yVdtCtKT4wuNUclV+dp7A5m3+vWo+hXaOhVzb4vGJZs=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=pCkeZrlJvzfB8bumYbfPweUD3s/YmyupadzGUiQCATziose1uTbTNx0S8N+8uhBj3 szoeKcBntLiyh7PM7NaZ4//cvaXZZckNRWoHTO3LmLgTXEAuQ9wqlpbn9dew6Kfo7e CYqIQ5U9wQCa5qSsiNt+uP9wnmMOESfiGsdJpOvs= Subject: Re: [PATCH v6 linux-kselftest-test 0/6] kunit: support building core/tests as modules To: Alan Maguire , brendanhiggins@google.com, linux-kselftest@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kunit-dev@googlegroups.com, keescook@chromium.org, yzaikin@google.com, akpm@linux-foundation.org, yamada.masahiro@socionext.com, catalin.marinas@arm.com, joe.lawrence@redhat.com, penguin-kernel@i-love.sakura.ne.jp, urezki@gmail.com, andriy.shevchenko@linux.intel.com, corbet@lwn.net, davidgow@google.com, adilger.kernel@dilger.ca, tytso@mit.edu, mcgrof@kernel.org, linux-doc@vger.kernel.org, shuah References: <1575473234-5443-1-git-send-email-alan.maguire@oracle.com> From: shuah Message-ID: Date: Mon, 6 Jan 2020 11:54:39 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <1575473234-5443-1-git-send-email-alan.maguire@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Hi Alan, On 12/4/19 8:27 AM, Alan Maguire wrote: > The current kunit execution model is to provide base kunit functionality > and tests built-in to the kernel. The aim of this series is to allow > building kunit itself and tests as modules. This in turn allows a > simple form of selective execution; load the module you wish to test. > In doing so, kunit itself (if also built as a module) will be loaded as > an implicit dependency. > > Because this requires a core API modification - if a module delivers > multiple suites, they must be declared with the kunit_test_suites() > macro - we're proposing this patch set as a candidate to be applied to the > test tree before too many kunit consumers appear. We attempt to deal > with existing consumers in patch 3. > > Changes since v5: > - fixed fs/ext4/Makefile to remove unneeded conditional compilation > (Iurii, patch 3) > - added Reviewed-by, Acked-by to patches 3, 4, 5 and 6 > Are you planning to send v7 to address the kbuild issue? I can pull them in for 5.6 thanks, -- Shuah