Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6648167rwp; Tue, 18 Jul 2023 03:57:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlEpM0rqDEuNTLn3r4F7ydmrgQfX+TaKaqvv0jTKFhyPdh3ukueUDXkKyqWyXVB1OdpiSkRd X-Received: by 2002:aa7:c1cc:0:b0:51d:a73b:0 with SMTP id d12-20020aa7c1cc000000b0051da73b0000mr2072563edp.10.1689677861075; Tue, 18 Jul 2023 03:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689677861; cv=none; d=google.com; s=arc-20160816; b=XmPqY7jflBZwQaiUutH2EkCec8dmUq0DNrY8RlP3R2VnIESJkQIOm4TDeBUvAmrp4n AnTXvBIdWTJQ8r8LikDBYjHT0/W4l/b5LIJdquuwPiXPR8tZfMH92Rb/7fk2xZ++lLSk jgePqxLkfRbhJshwlLQnMPgVDzM5sVtn1SvSJFsyqBTScMJpWToS/c8v/tHKKiqLRD+P z9LMsoGwqb2gi6dzX+2oO+TCQoCXvNB9L+ViCdjTttGrAEuWuZk9QQtz4xcufZK9CD37 w7wy51aQ3DGSWzbosjthYc9RPd4l8pPIY1kkowLHahLjA7Fxf0Y/lMevE8+c/k9SOgvT TxTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=k1QDt0Sf7l7pQV8orH0tWzg0eiS7P4OmFAqlO08Oj7A=; fh=pWvrnPD8NjH+QtkIli3ZdMbnjyFduiMoTNesU8JadOI=; b=rjTCQJfm9AnzrRRCFsMtjncwCmWg4/9WKbCPgO/vKrEnC3b3ETxJdXiMLKFi57bjF6 JgBMA7KQoqbyPfTY6wFqyfg0PHraSw60J3wVL5Bj74PHzhuB4E8vmQp8c1p0BwZgVRZx uzkLUNctJt7dN7jwhvE9+aPrafYBXRjZFxum9/+xVNSDXh+/H/5aKfidUSvgQSCRNaAp QH9WW5nUy2naTifDxF3xFp4WuMxitSSwEiWt5HBQZxwcWHdT32IwM921MA5t4WM3b0YG C99q3evtYMv/soOAMtX5AWKABSpjFKhQW+Q2poG7oD1b93t+2Z8XjH7n6yuI3kLjwe2p F8nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=OwEuP7K0; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i5-20020a056402054500b0051def0da189si981086edx.547.2023.07.18.03.57.17; Tue, 18 Jul 2023 03:57:41 -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=@gmail.com header.s=20221208 header.b=OwEuP7K0; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231134AbjGRKux (ORCPT + 99 others); Tue, 18 Jul 2023 06:50:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230470AbjGRKuw (ORCPT ); Tue, 18 Jul 2023 06:50:52 -0400 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76023E69; Tue, 18 Jul 2023 03:50:51 -0700 (PDT) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-579efc32377so51128097b3.1; Tue, 18 Jul 2023 03:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689677450; x=1692269450; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=k1QDt0Sf7l7pQV8orH0tWzg0eiS7P4OmFAqlO08Oj7A=; b=OwEuP7K0L6BBLEOoRWNgc13+QZSqASstXZdoqrCVLhfxwQx+f8AtBu0wLOadrkZwWF dSbXadM46AKh+Jkifu77ufI5Ul+C6u0Db1lGML54C4Pow0W0QSX/upPygTmQhJXMolRH 7bp9XlsKFhbpUPK5TgMaFIcx3tdBF8j0YyYxHnpCHAAxI2KQjZNCQreecd2OFYzJuR3T KyDdKON0f0Dn8v4vCo47CXbYE8h2MmWcprU8kBn1Y7Ivd3zGOfXNIOif2eMeG5gkU9dj fdHxozKZFkl+0huY8jaG5V4pSJ7iO3C/gttf0ydiApMaLiWb1LO41KfA7sC846XgDfpZ opLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689677450; x=1692269450; h=content-transfer-encoding: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=k1QDt0Sf7l7pQV8orH0tWzg0eiS7P4OmFAqlO08Oj7A=; b=eLeFiLrG+XyOvB9iXZWP5gFr7hbbqCDhr0cA547RAaWdsHICCk8JMqOTJHQqAG9aeb EaszY7GHb/MtMJWsx6x+xnBB2K1xu8o0QoWtBfIwLwkxBYaxun6QTqMICYD6E39bqyBb EgTUa+5BAZOiNfX/bLCsdN23lmmB1xzsxktEBhDfW1DCchoNwBctp/k46hZ/dXqW2Qq7 hxNqIIOvptuCrQT4xoJgJogeihLh6ZwR/AJ0YtMhzzhPENo3N6FAappsTbsdEuK/7mi0 xtlfhFVTTsISjZwyw9PnSfhY6Am1mNIy2bVz6C5FVDlWLwiIM5+XK4V99f+zAZZO1Prb G/sQ== X-Gm-Message-State: ABy/qLYkLHd6FKJ7knozMo7ULN6He+wObV7yI17tb5o1bH2/pAYcX2i8 pDomZrcVmyk+K1W3K5VmbFcQPBgDjVr2SaCGSv4= X-Received: by 2002:a0d:ce07:0:b0:577:cd0:681f with SMTP id q7-20020a0dce07000000b005770cd0681fmr12915048ywd.26.1689677450701; Tue, 18 Jul 2023 03:50:50 -0700 (PDT) MIME-Version: 1.0 References: <20230718052752.1045248-1-ojeda@kernel.org> In-Reply-To: From: Miguel Ojeda Date: Tue, 18 Jul 2023 12:50:39 +0200 Message-ID: Subject: Re: [PATCH v2 0/7] KUnit integration for Rust doctests To: David Gow Cc: Miguel Ojeda , Brendan Higgins , Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Alice Ryhl , Andreas Hindborg , kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Shuah Khan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 On Tue, Jul 18, 2023 at 10:38=E2=80=AFAM David Gow wr= ote: > > I like "location" better, personally. The attributes work is still > ongoing, and while there's some benefit to having "file" and "line" > separate (it could potentially simplify some implementation on the C > side), we'll cross that bridge when we come to it. Yeah, I felt it looked a bit better, but if later on it ends up making things too hard, then yeah, we can definitely simplify it. > This seems to be working well on the existing cases under kunit.py > here. I'll continue to play with it, but no worries on my end thus > far. Thanks for trying it out! > Thanks: while we're still arguing a bit about exactly what the format > of these will look like in the KUnit/KTAP attributes spec/patches, > what you've used matches what we've been proposing so far. > > Let's stick with .location for now, and change it if needed > when the attributes spec is finalised. Sounds good. > These are all (still) looking pretty good to me. If there are no > objections, I'd like to take these into kselftest/kunit as-is and if > we need to change anything (e.g. for consistency with attributes when > they land), do that as a follow-up. > > Thanks again, Miguel, for all the work getting this going! My pleasure -- and thanks for reviewing it so quickly and all your feedback= ! Cheers, Miguel