From patchwork Tue May 5 10:26:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 11528717 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 92A6F1668 for ; Tue, 5 May 2020 10:27:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 79D3F2075A for ; Tue, 5 May 2020 10:27:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jpA4029p" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725766AbgEEK1E (ORCPT ); Tue, 5 May 2020 06:27:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728670AbgEEK1D (ORCPT ); Tue, 5 May 2020 06:27:03 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F18C0610D5 for ; Tue, 5 May 2020 03:27:01 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id e25so1045217ljg.5 for ; Tue, 05 May 2020 03:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=blGQJMoBvAS+iUdy6OjWgWZCgbDmhcjzl5awL9j79VQ=; b=jpA4029pUaIVnF4l5PbVwW0LEra4+nkabdz0qEKiJpYh8EP7TB52OoKvjTZLfRHpnc xwVpZZFisR3GARWRYbIp86xNASa+7K2ZN29F8TflMofeX8A1wgcrutrRov2QmOHCftnB f2Nby+IcpbDf9Ux1zkpH1exN6WAs0S3Z7rlShX2tEhTOErYgTI8gr3NgJuEUZ9iXX8CP 4MvayBIM7sw+gf5FwkxCYvV0D56OuYUWbruy8qGMst2KgepBJVkakOuSVqHfil4Sm2C3 ra9kpmz7uaVBZHrkCHzzcs9M/MCHmtuB+zqpuqS0kCk5tirZf2ktYoGqUfgvujroKJiO LqTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=blGQJMoBvAS+iUdy6OjWgWZCgbDmhcjzl5awL9j79VQ=; b=GcQy9ZRYgVd7Y9ntZCeX18y4xPUyzbPkJJOWsEYmGspkORT1Rgtg2oL2FljWNpUOWc CNbXPOMXToOkEVHdVHgEV8zNBPg6f12/rVZEIjNkCs99ZdJIQo4utQ7N9TG8ek9/dfNP 6uuUQh6S8tsgcvaO2O0D2dK66D6Cecqdls97GNQIc9UPh8dQMSSis7x7C93iOJE2EKKd 7jn7mP/a57tcVAQKaLqfRfvmsYX7Gqxk1L5cJFhTwgEQ3GBGfn7Z7Qm7CGBBLSOqro8e Q9YA/IlWxjTZWamDRpFBtGIjd6KJtLHt4zrRufcd3KDbOvUfj7+mjEGGFfRNlpHVIptG eejQ== X-Gm-Message-State: AGi0PuZVN+WO0wCmYBXyXTBMIWESR5VAJSt5DQQ08zi8hm7HYPsCCL5M FM+j/Ok2A/H0+BGBmPrg8EkX1g== X-Google-Smtp-Source: APiQypKfa8VOGWn3WPZrzc/EhIZHCyr2xy8NZIclTsRKBVWbLEv8EvZCy1rPGqOMeOu9F7hKN9nnXA== X-Received: by 2002:a2e:3009:: with SMTP id w9mr1422695ljw.71.1588674419933; Tue, 05 May 2020 03:26:59 -0700 (PDT) Received: from localhost (c-8c28e555.07-21-73746f28.bbcust.telenor.se. [85.229.40.140]) by smtp.gmail.com with ESMTPSA id u16sm1860861ljk.9.2020.05.05.03.26.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 May 2020 03:26:59 -0700 (PDT) From: Anders Roxell To: brendanhiggins@google.com, akpm@linux-foundation.org, gregkh@linuxfoundation.org, tytso@mit.edu, adilger.kernel@dilger.ca, john.johansen@canonical.com, jmorris@namei.org, serge@hallyn.com Cc: linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-security-module@vger.kernel.org, elver@google.com, davidgow@google.com, Anders Roxell Subject: [PATCH v2 0/6] Enable as many KUnit tests as possible Date: Tue, 5 May 2020 12:26:47 +0200 Message-Id: <20200505102647.7862-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: Hi, This patchset will try to enable as many KUnit test fragments as possible for the current .config file. This will make it easier for both developers that tests their specific feature and also for test-systems that would like to get as much as possible for their current .config file. I will send a separate KCSAN KUnit patch after this patchset since that isn't in mainline yet. Since v1: Marco commented to split up the patches, and change a "." to a ",". Cheers, Anders Anders Roxell (6): kunit: Kconfig: enable a KUNIT_RUN_ALL fragment kunit: default KUNIT_* fragments to KUNIT_RUN_ALL lib: Kconfig.debug: default KUNIT_* fragments to KUNIT_RUN_ALL drivers: base: default KUNIT_* fragments to KUNIT_RUN_ALL fs: ext4: default KUNIT_* fragments to KUNIT_RUN_ALL security: apparmor: default KUNIT_* fragments to KUNIT_RUN_ALL drivers/base/Kconfig | 3 ++- drivers/base/test/Kconfig | 3 ++- fs/ext4/Kconfig | 3 ++- lib/Kconfig.debug | 6 ++++-- lib/kunit/Kconfig | 15 ++++++++++++--- security/apparmor/Kconfig | 3 ++- 6 files changed, 24 insertions(+), 9 deletions(-)