Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2711293iog; Mon, 20 Jun 2022 03:06:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t3Fmv3jjjaRsYTptf0XDERtmfIYKFszs6TckiuAnKyP9oZs4HdADuz0p92eNykDF9FUcCd X-Received: by 2002:a17:907:7da8:b0:722:ca29:b58e with SMTP id oz40-20020a1709077da800b00722ca29b58emr2150602ejc.732.1655719611906; Mon, 20 Jun 2022 03:06:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655719611; cv=none; d=google.com; s=arc-20160816; b=dDO1YfqA89vPAwszFKu5qIggJF2+FAEHBedJpFL3CRkOojsk7vLwX9Uv9LJaFA6dU9 HvtjsJd5gFgnJcZ26aJqDKTmsTivwzjtU8GK+spEdg3CBYD8UZqQj4Y2pJm+YKgpst2l UFB4Rfh4+IgS54CoejTyaXLhghd7sFQUFbsd3csYyRdjRwYWgkDuycUJ5jLJO5rjCNPS 6r+j3iARPXh0BOcF9DUuh56CcTK+geT5nHsPX9NI5DQ9M06RlJKlXrrEwRLRZ05xOEqW pRSUPjLrBIzXHLgF3Cj7hD46MgPio28uerMXjC+nTGCTh0VAxRGVcLNlu9iaqF0VIPpf 8QmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BcnzPCl+w6LzQQ4CxVrsHze1QzVlSp7IFQFI+hTRtqQ=; b=tAFNjh7pJo8rdzN5LQaPSzVyUm09ThBq2jHJgg2GxrE551M2HXuFDFmZwBmsoShQR7 94BKfgKIOzJyvPiauUofyEnWKbkd0Gz0FFcVvhEyJVpYZVAG7v9hknzQKOZODkg7DLhE PnbGDXREw3d+TYmZwzChApcNzEjnuyo5MvO1fdSLk41hkQws9tItCwyV05XMDQW0Sbkp /EJqcivutL92wMIJ+SEEqzAulr+4YKY0AagYy9aoyWe9+Hz8UxG+oufyICbhTMjUEcCN oAqCnGtyY15fL88mNtCMvIo9QAIO/K0uk1Exgfr1GmVXSrQvy13Vh70rNsWpgn3oXt/Q avng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=U3TOvjVc; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p34-20020a056402502200b0043565c5a2fbsi9363382eda.89.2022.06.20.03.06.26; Mon, 20 Jun 2022 03:06:51 -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=@amazon.com header.s=amazon201209 header.b=U3TOvjVc; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239837AbiFTJ1K (ORCPT + 99 others); Mon, 20 Jun 2022 05:27:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240692AbiFTJ1G (ORCPT ); Mon, 20 Jun 2022 05:27:06 -0400 Received: from smtp-fw-2101.amazon.com (smtp-fw-2101.amazon.com [72.21.196.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3889213CC7; Mon, 20 Jun 2022 02:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1655717224; x=1687253224; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=BcnzPCl+w6LzQQ4CxVrsHze1QzVlSp7IFQFI+hTRtqQ=; b=U3TOvjVcBH1pMniB0N+9oY0ip9wG9wG/eRthIKyZYuCmuR4aYZXfW/ny PAChnbbSMBbCTnNikbjpEfPvkJEe5gSzpgl+8sY31gg75aEdifnNClUu/ 7fE3BXfAlqof5+61MeK+7iK9zvJjVe3moWiNgmLwn8QVOMVBpIwXQhNLU s=; X-IronPort-AV: E=Sophos;i="5.92,306,1650931200"; d="scan'208";a="209430580" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-pdx-2b-c275e159.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-2101.iad2.amazon.com with ESMTP; 20 Jun 2022 09:26:49 +0000 Received: from EX13D16EUB003.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2b-c275e159.us-west-2.amazon.com (Postfix) with ESMTPS id 50FBF81570; Mon, 20 Jun 2022 09:26:48 +0000 (UTC) Received: from [192.168.24.192] (10.43.162.51) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.36; Mon, 20 Jun 2022 09:26:39 +0000 Message-ID: Date: Mon, 20 Jun 2022 12:26:14 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 4/5] nitro_enclaves: test: Use kunit_test_suite() macro Content-Language: en-US To: David Gow , Brendan Higgins , Luis Chamberlain , Jeremy Kerr , Daniel Latypov , Shuah Khan , Andrew Jeffery , Mika Westerberg , Longpeng CC: , , , =?UTF-8?Q?Ma=c3=adra_Canal?= , , , , , , Matt Johnston References: <20220618090310.1174932-1-davidgow@google.com> <20220618090310.1174932-5-davidgow@google.com> From: "Paraschiv, Andra-Irina" In-Reply-To: <20220618090310.1174932-5-davidgow@google.com> X-Originating-IP: [10.43.162.51] X-ClientProxiedBy: EX13D41UWB004.ant.amazon.com (10.43.161.135) To EX13D16EUB003.ant.amazon.com (10.43.166.99) Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,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 CgpPbiAxOC4wNi4yMDIyIDEyOjAzLCBEYXZpZCBHb3cgd3JvdGU6Cj4gCj4gVGhlIGt1bml0X3Rl c3Rfc3VpdGUoKSBtYWNybyBwcmV2aW91c2x5IGNvbmZsaWN0ZWQgd2l0aCBtb2R1bGVfaW5pdCwK PiBtYWtpbmcgaXQgdW5zdWl0YWJsZSBmb3IgdXNlIGluIHRoZSBuaXRyb19lbmNsYXZlcyB0ZXN0 LiBOb3cgdGhhdCBpdCdzCj4gZml4ZWQsIHdlIGNhbiB1c2UgaXQgaW5zdGVhZCBvZiBhIGN1c3Rv bSBjYWxsIGludG8gaW50ZXJuYWwgS1VuaXQKPiBmdW5jdGlvbnMgdG8gcnVuIHRoZSB0ZXN0Lgo+ IAo+IEFzIGEgc2lkZS1lZmZlY3QsIHRoaXMgbWVhbnMgdGhhdCB0aGUgdGVzdCByZXN1bHRzIGFy ZSBwcm9wZXJseSBpbmNsdWRlZAo+IHdp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