From patchwork Tue May 18 03:58:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gow X-Patchwork-Id: 1479937 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=UqJTty+m; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=BzYSyGwR; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20161025 header.b=HGtY17ba; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fkj0y1Tx8z9sPf for ; Tue, 18 May 2021 13:58:58 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:From:Subject:Mime-Version:Message-Id:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=WQV5mQME4kdzdXxEB5kVXEaBacL/D4ByJ4EIVedrNic=; b=UqJTty+mvxa5Mp3fgI2S5+fg8t w0JUiJ3fxsNfjwvvwPLVhvzxdbcBNeIO3XFWYyHimakjPPA0LSNDR4DLM0+Ev5/H73Znd7OyuIE1g CvZ68rq22GnGv7PZqEKQF5E1igiUi1zT/+wxcWfvDI69xrhuGBDvSiPGFYRegkZJ0KcRiajewI6vI ELaLpzeicFgw8IHt1Am680TBdI8TXha/+q7JB0HKmqjpFcultwQMbiKdPKP8GNHOmf9A1BvE7FWXM NpyVgJGC+TJYUE9NRI9wGtUyDgdXRIOLKw7O/c4qmI1UPuTW02BiwzIaxi7PmrUFVqqpZYoszGcU6 uHUQSj3A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liqsX-00Gtay-Ps; Tue, 18 May 2021 03:58:45 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liqsW-00Gtaf-4m for linux-um@desiato.infradead.org; Tue, 18 May 2021 03:58:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:Cc:To:From:Subject: Mime-Version:Message-Id:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=hZpHl2/ASaSntMDVPn5eUkTNoD8xr91vTOouWRe1XD8=; b=BzYSyGwRSYhpZ5O70utky/BOlg ePFFxxFS7GIaTNCtGCj2bteFMQ60Vxv515OrTDtcNgyazeRvCVrM5lX86u2xnwkjRbDMkxEHQQh3j TS24crzQ4DmgxAw7glnoRVHWWNf5eBUBgV7Ijz1TKEek+mhge7N2obcolZVlfMZhP7xLX1Xi9F0aY TS3JExBl+yKhdmJUYMfzu2N/hiLJWJTe2xc6Y2mUpkRNgQzCqlDjLnLyJeKEYuS9Gr/dpKdZvuI3w TeypAOgtCWTtLOHfeymJYG2o7fO74YzStV+bpdHioh/JXN8dPyJXKFNPt+tAXztM5H0scyLbqVTpx ue3o3emQ==; Received: from mail-pj1-x104a.google.com ([2607:f8b0:4864:20::104a]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liqsO-00EI6M-NE for linux-um@lists.infradead.org; Tue, 18 May 2021 03:58:42 +0000 Received: by mail-pj1-x104a.google.com with SMTP id a11-20020a17090a70cbb029015d3e996884so895201pjm.4 for ; Mon, 17 May 2021 20:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=hZpHl2/ASaSntMDVPn5eUkTNoD8xr91vTOouWRe1XD8=; b=HGtY17basJUdo3ARIIYh7lp8MnVyfaSkoEnivW4/N/54fzep/LLwtwdAnh6RZEXAzE HuJs94vp8Cf11qgSxEMKjBV3QXD+yLJBCRJkGnXz81CbBsbEgWk8SNB2IXGfXp4SKpha 2NrI9MEbXDwWo76vhFH09F0fmwIgKCws8tjJYZWq8UUnSWJvHv4kZ04tPEl1K7LcZ2Tb wxSMQnCukshfA+WV/m9AFyX9rOc+GlupdojfwqI7ssQ2PtmTnI9tg+jyJY7ZC+SnhAkZ KFH9Y2kXivMPx3/M6FB04DxEsBZtwPuj1NP5jKaK2TC0Nittn1kTE05FJ7MqwVtPibpv y9YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=hZpHl2/ASaSntMDVPn5eUkTNoD8xr91vTOouWRe1XD8=; b=OLmC0VaM8QePPFDAT4Y9COe/xFULhLuMc6WCPhn52uU877+61xfFxKxMcU4abS47HX vXzfoncDgnc2Gn6HQtdvn3xQoaCaFRP77oWKLf9VDY5vGwLixT4PJc0ZI8mtYUNcRB2C Cqq8RFMz583kxVfmoogDaVlLF4YZYsnqJswcgRuO2EoqR8/9MG1/4zZZsDbTtM5olmyY /T7EyCZv6LC0uqs1QpGz6uqkobmA4sD+JZlioI8pUEaOpc3XyIxeIRfga7S3wLlMveWS 5qQveVbFrCS8zbsXuZaFUNhVHnGi8AUaAH+Em+lEgglF4BvqgwefN3xo6Qe5MiYFQEqB YDYA== X-Gm-Message-State: AOAM532e4oV/PqWzA5hepYos+5UPrcC/lKgtQRrAPysFFvQ+lFB3jlj5 WxKVNlLrkys7m0+6Q1sCIrx4MHyj8JGAwQ== X-Google-Smtp-Source: ABdhPJzEXsjaBFMjhdkgCN7Z0kWWinFCwKl9YLkXIM89lkvCy7zbKtgzX68kVr4mq4FG9gGLILfeHvjpeCp+tA== X-Received: from spirogrip.svl.corp.google.com ([2620:15c:2cb:201:a1ed:25b5:ddce:462b]) (user=davidgow job=sendgmr) by 2002:a63:5504:: with SMTP id j4mr3016640pgb.238.1621310314025; Mon, 17 May 2021 20:58:34 -0700 (PDT) Date: Mon, 17 May 2021 20:58:25 -0700 Message-Id: <20210518035825.1885357-1-davidgow@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.31.1.751.gd2f1c929bd-goog Subject: [PATCH] kunit: arch/um/configs: Enable KUNIT_ALL_TESTS by default From: David Gow To: Brendan Higgins , Shuah Khan Cc: David Gow , Jeff Dike , Richard Weinberger , kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_205836_775980_78E4D65E X-CRM114-Status: GOOD ( 10.76 ) X-Spam-Score: -7.7 (-------) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Make the default .kunitconfig (specified in arch/um/configs/kunit_defconfig) specify CONFIG_KUNIT_ALL_TESTS by default. KUNIT_ALL_TESTS runs all tests which have satisfied dependencies in the current [...] Content analysis details: (-7.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:104a listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -7.5 USER_IN_DEF_DKIM_WL From: address is in the default DKIM white-list -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 DKIMWL_WL_MED DKIMwl.org - Medium trust sender X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Make the default .kunitconfig (specified in arch/um/configs/kunit_defconfig) specify CONFIG_KUNIT_ALL_TESTS by default. KUNIT_ALL_TESTS runs all tests which have satisfied dependencies in the current .config (which would be the architecture defconfig). Currently, the default .kunitconfig enables only the example tests and KUnit's own tests. While this does provide a good example of what a .kunitconfig for running a few individual tests should look like, it does mean that kunit_tool runs a pretty paltry collection of tests by default. A default run of ./tools/testing/kunit/kunit.py run now runs 70 tests instead of 14. Signed-off-by: David Gow Acked-by: Daniel Latypov Reviewed-by: Brendan Higgins --- arch/um/configs/kunit_defconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/um/configs/kunit_defconfig b/arch/um/configs/kunit_defconfig index 9235b7d42d38..becf3432a375 100644 --- a/arch/um/configs/kunit_defconfig +++ b/arch/um/configs/kunit_defconfig @@ -1,3 +1,2 @@ CONFIG_KUNIT=y -CONFIG_KUNIT_TEST=y -CONFIG_KUNIT_EXAMPLE_TEST=y +CONFIG_KUNIT_ALL_TESTS=y