Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6491996rwp; Tue, 18 Jul 2023 00:50:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlHkLRrjgMwZAaK9j1IZbBl5t7huqrunz4aT5m7aB8UBQ+OsnsYlVuQL7IXJo/bw9FXQm84a X-Received: by 2002:a05:6a21:99a4:b0:133:bf18:ef7b with SMTP id ve36-20020a056a2199a400b00133bf18ef7bmr13848129pzb.24.1689666638751; Tue, 18 Jul 2023 00:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689666638; cv=none; d=google.com; s=arc-20160816; b=j8yf8/JXrv7S8kbvCNWn0dc1cgEfKhk/r6uWCU5KdNaVDWdEL8iCuGjxPPsSxKwqq4 sER5GYsX0vgWQ7Anabd7goe2qDnOJyOzdrva8SD71BzuOlD7XA4QXkH/HLTIVtLjAg70 uruCprMrjXU+Oe5S1FdTD/E8IyEtbyifZN02+o7edCBFoSOIPDHYfKcxNTyjl7GK5Ar9 9hYz1/wuvr8faZEip9RxILN36I1phh8HxhoQAeQumtvFHHzB7TXa5Jz5AoM4hUUVL29O MAmsDLur6k/r+fV4KGaRyJsi40XiPKuPyuCTapJAAu3SwplLLTWbV73XXdjAl1Kq+8aI bUNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=OWrVhQaVdWKAEqWhsxyEjXAhJbs36fDqLBdQn37b9Dw=; fh=L7oH5M+T1MlIwVp1Gmto8D/kSs/oJug5gdpk5/Eui40=; b=IdNuxV8z9l3F1B9VT2vUFGbHFQX52ieapYzAy2rtZmN8rh4GydgwOJuSy1dPBHO1Ud TXw3tKfvDMRuin7MJ4/FcitYvll8KwEeDzSwbjdBC3ilDb1GWUowvvTsLMYNFlycljd2 jZrUmlYxR694Pp2WLux/CjMcy/ef8nTvaU8oJzvJeBAnHBsZ+lxgzWP5ky+OY4dJbexD RfVOKpbNa165XSuDPa9QOasDi2iVYGxMlAy0Oyrj+yN4eINLn80WKaBfBRUFsMKVdZdW SYTADFmHI6Uc3asSTe05z10gatVtZaxb4HWuOeLL8TwhQ6HADReh5j607/nBPKELn7jI 6TNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=l3ilyHvI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s124-20020a632c82000000b00543ad7aa643si1216645pgs.815.2023.07.18.00.50.24; Tue, 18 Jul 2023 00:50:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=l3ilyHvI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231754AbjGRHj4 (ORCPT + 99 others); Tue, 18 Jul 2023 03:39:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231753AbjGRHjw (ORCPT ); Tue, 18 Jul 2023 03:39:52 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DCAD170D for ; Tue, 18 Jul 2023 00:39:39 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3fbb07e7155so63955e9.0 for ; Tue, 18 Jul 2023 00:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1689665977; x=1692257977; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OWrVhQaVdWKAEqWhsxyEjXAhJbs36fDqLBdQn37b9Dw=; b=l3ilyHvIeBocZY9PCEHHpeUY1v4oXG9XOl42A6WQSa9GxA+COjX8s2prW8pSRKD2yx lTPU3xELejwK0A+YcOYgAc6g+PB1pzw8kVh9nWZE8gE3g9yP/7kzhHJNID9jmz4Al6d2 vqDtj0RdgLrXkQmVHno5EiREyBj+grXZzGO1oSJlCXbB9mxEonVQoE2+5JjwfOsJuNoR IC8nv9MBuO8TCJQ60qs5XJJbH4+/nuo99S5et3zCwrtZPx9+Zy0evqVojoRaP1EWPa0j JvT6yDCloIfArl54ZfHoj4oTx7j6/wXsCQx8Zl34mPqJ1HjKuDT6fvFS0mEnFGBK7yUz jG2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689665977; x=1692257977; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OWrVhQaVdWKAEqWhsxyEjXAhJbs36fDqLBdQn37b9Dw=; b=l26xfBxEnkFolTUbIEuUBx8vl4jWrrxm1b57MMcKae2w2UBUkQUU44WWwNHyVg1u2c k57WeouCyjasrovXksegfRvXA9b9buOfARrMb1yG1myDr9mK/r6doKePx/5bVu4G8sV2 1gxWS+Nr3ELAkth1eJkQKZXMe7NEy8I05SfWSsdCYwcI/st9TUaDsQpyD7lZFI4/ea6v V10tROJRUrX/inQic/CNS5PkQbj/Cqf+/8IxIvsleQbxd8EPPVHcDJkoM5nMr6qgdcnl gYtC8YNpY/6/6pPu75yU0rA5uisskmJaSfcXbDtBEIjjMybDXeYDswsBSvpfu8PuY2wr sGVA== X-Gm-Message-State: ABy/qLZJI4SgBaNv1w7O/e4BzILNssF/ftQclkztT5X3Q9mbnDvFW2Ax pPGtJceIpQoBAxJi00EuL55LgS09Q4wuIXlMBuiyrQ== X-Received: by 2002:a05:600c:3b1e:b0:3f7:e59f:2183 with SMTP id m30-20020a05600c3b1e00b003f7e59f2183mr48349wms.5.1689665977689; Tue, 18 Jul 2023 00:39:37 -0700 (PDT) MIME-Version: 1.0 References: <20230707210947.1208717-1-rmoar@google.com> <20230707210947.1208717-8-rmoar@google.com> In-Reply-To: <20230707210947.1208717-8-rmoar@google.com> From: David Gow Date: Tue, 18 Jul 2023 15:39:26 +0800 Message-ID: Subject: Re: [RFC v2 7/9] kunit: time: Mark test as slow using test attributes To: Rae Moar Cc: shuah@kernel.org, dlatypov@google.com, brendan.higgins@linux.dev, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, keescook@chromium.org, linux-hardening@vger.kernel.org, jstultz@google.com, tglx@linutronix.de, sboyd@kernel.org Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="00000000000066f60c0600be0428" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --00000000000066f60c0600be0428 Content-Type: text/plain; charset="UTF-8" On Sat, 8 Jul 2023 at 05:10, Rae Moar wrote: > > Mark the time KUnit test, time64_to_tm_test_date_range, as slow using test > attributes. > > This test ran relatively much slower than most other KUnit tests. > > By marking this test as slow, the test can now be filtered using the KUnit > test attribute filtering feature. Example: --filter "speed>slow". This will > run only the tests that have speeds faster than slow. The slow attribute > will also be outputted in KTAP. > > Signed-off-by: Rae Moar > --- Thanks: this test is slow enough to really annoy me on some machines. (It's possibly even on the edge of "very_slow" territory, though I suspect "slow" is better.) Reviewed-by: David Gow Cheers, -- David > > Changes since v1: > - No changes. > > kernel/time/time_test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/time/time_test.c b/kernel/time/time_test.c > index 831e8e779ace..ca058c8af6ba 100644 > --- a/kernel/time/time_test.c > +++ b/kernel/time/time_test.c > @@ -86,7 +86,7 @@ static void time64_to_tm_test_date_range(struct kunit *test) > } > > static struct kunit_case time_test_cases[] = { > - KUNIT_CASE(time64_to_tm_test_date_range), > + KUNIT_CASE_SLOW(time64_to_tm_test_date_range), > {} > }; > > -- > 2.41.0.255.g8b1d071c50-goog > --00000000000066f60c0600be0428 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIPnwYJKoZIhvcNAQcCoIIPkDCCD4wCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg ggz5MIIEtjCCA56gAwIBAgIQeAMYYHb81ngUVR0WyMTzqzANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA3MjgwMDAwMDBaFw0yOTAzMTgwMDAwMDBaMFQxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMSowKAYDVQQDEyFHbG9iYWxTaWduIEF0bGFz IFIzIFNNSU1FIENBIDIwMjAwggEiMA0GCSqGSIb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