Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3948648iog; Tue, 21 Jun 2022 09:00:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tADCfVM+ZBUOxHJWPS6SLrC/NYrKbF2/pnf/nHeaTBf3/992Qsl+BFQenwbCTwuTBiIxd8 X-Received: by 2002:a05:6402:274a:b0:435:9807:7752 with SMTP id z10-20020a056402274a00b0043598077752mr4185143edd.63.1655827236265; Tue, 21 Jun 2022 09:00:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655827236; cv=none; d=google.com; s=arc-20160816; b=Qc+6qjj/NPmSsMvJkdxfNWK28lkg2QXTR0wP5BNGR6ZC+DpX4vOjofHUtyRSs/AGRG izTDe3vnsmzI1+VyytWGMsF0Z0alxBXxFJFDULFnCMXtg25qhOZ+aRJxc/c+gFcN7oHL pY8liqyHTsg5QxhCrDqdxKyTnKOB81moQK4S1k8MavpMRNyPucPTy4EIfVIj43NAr+rY mpjCCUF16dN057oBK5lu7vnoEY96lzumotxC8EZQwIdHvoyYOtmH2InkzcmHxJb2qxLf xcf/Dvu89g9qTT/M2czpTlQu84Ldu4wX/fZRoDy3vxtGYAcCgMZqnWSwHCXtMQpZKyuu Ao/w== 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=6mIaPxRsGigk5Fmzx4C3+h9sWlkBF9gn2ObKcp08TGs=; b=isw02hTOqkrivmBEdNwn+2T/TQD2SGC+7LYTxS8KaDiPGGesHPQlPohiHL35ciH8uu kq+ZLx/zJIjw6M+PcFqSsAQ8szqXpl3QbYpYm6SKvIWORmp1Bxr6oDEL793LYsUkIwbT PkgWyFUNJSRU14IEpzGwhpgmA1PCMDL/p4YTQmg9iI+MI9v8r54T5Xid9+q3XiQHKDXC aABuo/QdQjggbHuJtZachGDQrzLjiOiXKG/e24IHOwN8SciXShtMmOctV9JW0JcJd0i0 5X303S5t68ACeByaoWF5pLTRDVGfeQFHMfHIlgm64ftL2+n8XM6kt2enJ311BcbH3nz3 oBfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=kGIMxMAi; 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 sc10-20020a1709078a0a00b00718d2cbefd9si748102ejc.807.2022.06.21.09.00.05; Tue, 21 Jun 2022 09:00:36 -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=kGIMxMAi; 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 S1350254AbiFUP6J (ORCPT + 99 others); Tue, 21 Jun 2022 11:58:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353347AbiFUP5x (ORCPT ); Tue, 21 Jun 2022 11:57:53 -0400 Received: from smtp-fw-6001.amazon.com (smtp-fw-6001.amazon.com [52.95.48.154]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7DD02CE21; Tue, 21 Jun 2022 08:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1655827063; x=1687363063; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=6mIaPxRsGigk5Fmzx4C3+h9sWlkBF9gn2ObKcp08TGs=; b=kGIMxMAiYJRDLhLbah/sVK66LxQFKMvJt4X+WrUNWGL1V7e2/hXKQ8zn WUfP0lPM20apgR+5SsidjP8SNm8++WkkbkIHoxEk1UGnbfVyvveFaDuRK +KCtIK7pJKyEN8wrnOUQhi2Ftr0gfFbBVRJh6tRBiFlMXdRYzK46CqFM5 8=; Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-pdx-2b-2520d768.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-6001.iad6.amazon.com with ESMTP; 21 Jun 2022 15:57:30 +0000 Received: from EX13D16EUB003.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2b-2520d768.us-west-2.amazon.com (Postfix) with ESMTPS id 6220743479; Tue, 21 Jun 2022 15:57:29 +0000 (UTC) Received: from [192.168.13.50] (10.43.161.183) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.36; Tue, 21 Jun 2022 15:57:20 +0000 Message-ID: Date: Tue, 21 Jun 2022 18:57:10 +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 v2 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 , Greg KH CC: , Christophe Leroy , , , , =?UTF-8?Q?Ma=c3=adra_Canal?= , , , , , , Matt Johnston References: <20220621085345.603820-1-davidgow@google.com> <20220621085345.603820-5-davidgow@google.com> From: "Paraschiv, Andra-Irina" In-Reply-To: <20220621085345.603820-5-davidgow@google.com> X-Originating-IP: [10.43.161.183] X-ClientProxiedBy: EX13D07UWB003.ant.amazon.com (10.43.161.66) 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,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 CgpPbiAyMS4wNi4yMDIyIDExOjUzLCBEYXZpZCBHb3cgd3JvdGU6Cj4gCj4gVGhlIGt1bml0X3Rl c3Rfc3VpdGUoKSBtYWNybyBwcmV2aW91c2x5IGNvbmZsaWN0ZWQgd2l0aCBtb2R1bGVfaW5pdCwK PiBtYWtpbmcgaXQgdW5zdWl0YWJsZSBmb3IgdXNlIGluIHRoZSBuaXRyb19lbmNsYXZlcyB0ZXN0 LiBOb3cgdGhhdCBpdCdzCj4gZml4ZWQsIHdlIGNhbiB1c2UgaXQgaW5zdGVhZCBvZiBhIGN1c3Rv bSBjYWxsIGludG8gaW50ZXJuYWwgS1VuaXQKPiBmdW5jdGlvbnMgdG8gcnVuIHRoZSB0ZXN0Lgo+ IAo+IEFzIGEgc2lkZS1lZmZlY3QsIHRoaXMgbWVhbnMgdGhhdCB0aGUgdGVzdCByZXN1bHRzIGFy ZSBwcm9wZXJseSBpbmNsdWRlZAo+IHdpdGggb3RoZXIgc3VpdGVzIHdoZW4gYnVpbHQtaW4uIFRv IGNlbGVicmF0ZSwgZW5hYmxlIH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