Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1053528ybz; Fri, 1 May 2020 13:32:15 -0700 (PDT) X-Google-Smtp-Source: APiQypLWrWE4YPGGBINh90wUQnxTsWir3NoiFc1ro2QpcubCcqqOCPDHWSil2HNU8tjf9aSK94Ei X-Received: by 2002:a50:f288:: with SMTP id f8mr5098350edm.337.1588365135169; Fri, 01 May 2020 13:32:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588365135; cv=none; d=google.com; s=arc-20160816; b=Ln4IRvtJSKbS6rk8z/9fg1P5+3V54nlDjmHWj+6bq70pVMZwxKSgEJgQ3HdDbRGEif HcpoHH6N9xipUZjf7IR/HgYjNMtkO+pvpeDZevxw+tFqOIBjlXHDpat0YjUwOXZxLcZe Mr6RnmBZgXjXNLDgjja5nr/hq7AuDRL5g/3uzWTy0A7nzUzZL1xLAeOramvVUXs0FZTe YSvmCfPXT+u5PNSmXatEHRdJ6NjbFFEU7iozvtdVOnKCWmzv5YXod9iClydzsK2JBiFO IgvV/K2pVtMFChhvFoK9XdZ2Lls4y5Lci7mJMkb3sMPQjsJcFgauhGMGYIyPz3kOmC9+ Uu4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=DVZsHO3B+82ZVvSvwD+6L84uL6YCwy6wqP9DD2caeKY=; b=wUDvBxdQujluLi52GoI+kyxIeLpXXaxgrjGDYfm3PsFf7F/xVlU53qo+IRFBicokCg WMYVXDUwfnpi41g2GtC1xsvu12ytEXA3C8YQVruXypZUtaKjhCkWxUbehRvWWYqfsH2g vJZ3Uv9gR9HG3rzL3Ls4vpTdBKqAyw2yxow4YBnxbJHTtZrhldJnRn29gUJCF4fIU+lw 2BgD6Z1CBX9z3pP0vHWZ6Y9f+zyJOa+29laGFtB3+dwiAGZFXjbp5YYZqnbj3XFiNYYW YWKpAdvbjsP38JKVn9Dm6NVu+Q6IHOsEoZCdccMM9CdjCTL71YJGB+L8BIhMvYfsk8Ns j3ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Zc3KuQRu; 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; 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 y11si2348761ejp.513.2020.05.01.13.31.42; Fri, 01 May 2020 13:32:15 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=Zc3KuQRu; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726805AbgEAUb1 (ORCPT + 99 others); Fri, 1 May 2020 16:31:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726782AbgEAUbX (ORCPT ); Fri, 1 May 2020 16:31:23 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD7C7C061A0E for ; Fri, 1 May 2020 13:31:23 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id t16so4011695plo.7 for ; Fri, 01 May 2020 13:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DVZsHO3B+82ZVvSvwD+6L84uL6YCwy6wqP9DD2caeKY=; b=Zc3KuQRuQy2OoPJPM+d+PnQiWTvDwpVtt8Zs/O3P2xKcWz2OpXBRQHO7c7IRb3Svou 7tdEiY8sRnRcjQKcq5Zj+0PlJ3VLXU+3aiTRKJ5MlWhFdkPfkoa8RKmQKcnL+YtrFDPP AoyAhLCPYp/Bscc03FLzyMRL/p9YsUHnOlTHVDrPdG/xFXwkBqT1eusZGZHPZcMORFnJ XUnONPMgBLe3uBUsDaF4ihYyjghwSsIq+4toZYrsvYog8R/WKxPl/CIP6xrmB3iChGu+ IP/ZvPS61IFkPnLMCnS1V56OJBpUCNYtLWaCzdi/NkjLIM7PXCLaVmPYfH/gNTtPYD9V IZCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DVZsHO3B+82ZVvSvwD+6L84uL6YCwy6wqP9DD2caeKY=; b=e2ClS7ufJcmGAHwhna6nPJIWvlDe9s7inwKAhCes2f+qs5aKvbd/DOQjiQfKs2RpGV JEZnRbtgQmS9/bOIaGFa0RpP7+Xi4R4hKhbenQz4em97F4EWvZJr9jw4MDt15avek/df gJnosTWWuipGjhChu3ZDulCpx9hNlNMZozUgqZ4bzqDi0sUtrOYHjjh+XbKWsCYKaVQS q/pJgRUmemCjf3QKVfLSEJr4htAVAUR+wLa7ezV3l5OjYt4HDvFTTfDRCUVHlo0rhOJV Tz17pnQKf9K3uSgIFuqDMTwe00WX2xc85VZHhrb6aLAiOCl7gJA5qTT9vd8VAKKRf7k1 yCug== X-Gm-Message-State: AGi0PuZp5oIH/PoQWyy4QCSRB82qq22MKvtc/f5SJ6bADSW893cQ/F8B BlYVIFE8WhySH+/k3YP8RiS21DI3zZ47erWnyxdTFQ== X-Received: by 2002:a17:902:a40e:: with SMTP id p14mr5817749plq.297.1588365082975; Fri, 01 May 2020 13:31:22 -0700 (PDT) MIME-Version: 1.0 References: <20200501083510.1413-1-anders.roxell@linaro.org> In-Reply-To: <20200501083510.1413-1-anders.roxell@linaro.org> From: Brendan Higgins Date: Fri, 1 May 2020 13:31:11 -0700 Message-ID: Subject: Re: [PATCH] kunit: Kconfig: enable a KUNIT_RUN_ALL fragment To: Anders Roxell Cc: Greg KH , "Theodore Ts'o" , adilger.kernel@dilger.ca, Marco Elver , John Johansen , jmorris@namei.org, serge@hallyn.com, Linux Kernel Mailing List , linux-ext4@vger.kernel.org, kasan-dev , "open list:KERNEL SELFTEST FRAMEWORK" , KUnit Development , linux-security-module@vger.kernel.org, David Gow Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, May 1, 2020 at 1:35 AM Anders Roxell wrote: > > Make it easier to enable all KUnit fragments. This is needed for kernel > test-systems, so its easy to get all KUnit tests enabled and if new gets > added they will be enabled as well. Fragments that has to be builtin > will be missed if CONFIG_KUNIT_RUN_ALL is set as a module. > > Adding 'if !KUNIT_RUN_ALL' so individual test can be turned of if > someone wants that even though KUNIT_RUN_ALL is enabled. I would LOVE IT, if you could make this work! I have been trying to figure out the best way to run all KUnit tests for a long time now. That being said, I am a bit skeptical that this approach will be much more successful than just using allyesconfig. Either way, there are tests coming down the pipeline that are incompatible with each other (the KASAN test and the KCSAN test will be incompatible). Even so, tests like the apparmor test require a lot of non-default configuration to compile. In the end, I am not sure how many tests we will really be able to turn on this way. Thoughts?