Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1374822pxj; Wed, 19 May 2021 04:49:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN7fEc4XAGeGLbu9fIkSe7/Ihz/s9DEC6BQzVit9hXCZ4f5Gix+kPY+lKtQjh3Hi/pLpli X-Received: by 2002:a17:907:1b1e:: with SMTP id mp30mr12388101ejc.532.1621424989347; Wed, 19 May 2021 04:49:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621424989; cv=none; d=google.com; s=arc-20160816; b=WVu/VYmx6in/uy7Af02yMf+EKvZDqSHEktJlTTcxisb0PEf13fs3NlApPltN4Z9NjX ezMgfpz4LiypPZOaMd0442RzscNosv5mBc2uikP7UnVF7SpsajExq6SFFNmIe6HllpNP Bri81iWkIUGipP6bZT74dL8ShNla43ZS0TyTSbiuQdUEvzDdNqFtx1/g65zgfByZex1d K4IwVqp9TX90uQDLbkt2ldG5kPrasd1q63S2vo4QOLUTTdghsRzXGWSkPCIOfxsOxgPa ZkGc4CnSRE710jhC5kcsuB7hlhAoA2Gm0sMxDU4vuFDoZlQR1vw5Xs33u2gq1y32GvbH uTQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=hZpHl2/ASaSntMDVPn5eUkTNoD8xr91vTOouWRe1XD8=; b=aQN3IWlbDiinNPjU/bIrpJTunCK7XQ0ZLF55xMAEk1hqRfsU40fKYxyTaFmFj7txKz ZUi3LVjd1AiLg7Pby9fIORtnmhAJjOspCZOOhidmcZx3fPZLSctApc76NzFt4QMTFZs2 T6WxoaDzdS2/1B7OYb5Nl3Ks8z8GunNdPc5PLJiIDPIGRYa/aTxF8rOZi9b6qRRr/1vf EuBjhAcAL05LjVv6IBBaKO9F7VqmiKKKv4wkJMNSVGtGUTy3bNXZdRTakzUu+U5y9y54 N8iJpBg5OJt8VWR90AX0+JbkpkDJNlWKAuBGN0IuNgqFKo2R/OtLzqYJoR2uconoA7Ge 7v0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=HGtY17ba; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nb27si21550338ejc.548.2021.05.19.04.49.17; Wed, 19 May 2021 04:49:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=HGtY17ba; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240003AbhERD7w (ORCPT + 99 others); Mon, 17 May 2021 23:59:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239892AbhERD7v (ORCPT ); Mon, 17 May 2021 23:59:51 -0400 Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86351C061756 for ; Mon, 17 May 2021 20:58:34 -0700 (PDT) Received: by mail-pj1-x1049.google.com with SMTP id w12-20020a17090a528cb029015d7f990752so931454pjh.0 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=XfViX8dvWJa7hKI0Hsx8RxzRyWdezRqSpLb4xyot8hkVJUbGjowcXC46Zgi/h1uOJI v07/jk+cE6W1W9wwa6dphZo2ZkWRUVAcGpYbMZDCnbvwtmZwCnIl9tHL2ne3ngKDHw5a EgHCdwPhmhz7xsDPPx4YrXE4bNcTbM921BQG+cZuJGlo8OHDqbTvYcgLUJdcuiTPmqQg X+MCrv60k0+f5VDoYGSfc5iTWYqcTUE1vsBiGNJ+zPxFirM/GOBtkEUJUvndcYL+jlBT 7APKZ5J/+fBAEtZrAIKRb5/izmLFv1/xKGxbW9adZZxPlRucDJ6HTA6ZhNhaWC+HKpA9 PFOg== X-Gm-Message-State: AOAM532WEJbT7ps/KKM79xWWfU4gFCp7N3OCFvRd+o9X8KbiSsZm2psD LpAYUe7RUG4hBu0uV0MMM+OBM6JT4xmqBg== 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- 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 -- 2.31.1.751.gd2f1c929bd-goog