Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp232857img; Thu, 21 Mar 2019 18:48:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRasKKdC8UNHwb06LVA9NDUz4JC7EAZzipMtEpyrFvgsBrsSGjLg+aIHwbrhzLgtyLLG6o X-Received: by 2002:a65:65c4:: with SMTP id y4mr6317772pgv.305.1553219335206; Thu, 21 Mar 2019 18:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553219335; cv=none; d=google.com; s=arc-20160816; b=rkSe6hI6t14urqGWMWr8XnkrtRKT3AohyvhXiHhpRMdVaP4kUy4E4p+R8ySQImwhyb Thp1/rgGopgg8bpORKN5IasdmGW25cJTxed85Ix3e/dHZzWE0nU6fbmJBN5sK9tKoRsR j3BUm1B7qxY4JCTmejHfEB83geBVgQar14q8txlM2DdH+sBcRV618K0qPVDtJFWlj3UW RE5DZYhOl0lA8w8mjs3d2gpi3KkWazEMG2EPyGw8VsQ3FE0BKD9Vr+g0sPFUPAVJoWQ+ rRfmDu2s/jJxRf+NWlIEv0xGtNrlbSYS3AlwasEUWfMIUzjRgeqd8b7Mqzfrj8SZuhPB V9Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=8Rdn/0bCCJC02mpdJgqbDeyik9/k0VweQXkLGqLKN8o=; b=OWptpROLt0ciT8ZWe/k4pjDPJZuAHNflXJ+tbi6nJJla8PNvPoe8BA6Tdo4/Y/w8eO uRcxdfQG5rMfa70x2Hc6rTdZ6MThBGbZ+VDWjEeFaYHaBcUynfMFHymrjlcqsWpIqV/7 1LlkzpBWBy4Zyb1WXnCPZxP54skNoP0pebMKyMkzaLazvqDo4vn/Eiz7Rv/nB1IMIITQ XK/Wlz8qVwayeby9dOVW1/bb5YODUmIXOBxLA8amc4Sq7euQYvtV0C04PNfvF/nbahmS +w01fwmEn2tOTpzm47+XbVhLAEw+gOBWHD/zLkmXh4Q+bJab3jCqa9diFYBacX+NsGS0 tujQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Jed/ZBxo"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s36si6078574pld.342.2019.03.21.18.48.37; Thu, 21 Mar 2019 18:48:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Jed/ZBxo"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727581AbfCVBrj (ORCPT + 99 others); Thu, 21 Mar 2019 21:47:39 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:36523 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727397AbfCVBrj (ORCPT ); Thu, 21 Mar 2019 21:47:39 -0400 Received: by mail-pf1-f193.google.com with SMTP id p10so381745pff.3; Thu, 21 Mar 2019 18:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=8Rdn/0bCCJC02mpdJgqbDeyik9/k0VweQXkLGqLKN8o=; b=Jed/ZBxo0WgVo38E2ViocCFdUtZfyYZOpW7AYrnxcXPwOwvcJBfeCzacJifmi09A5h 5WrXcEW67FY0Uxfl2mX1qZWXPnqVplZhJi1xyEp9t2RC1HLPEH9pVDtnMeFjRTfxuFEA GwzJ2PNYW0Swioa+WSEby0d7BIb+sYQ9cbvCOhpBxt5hH1K4kZ+oq8BFQ0s8yRRGW/ER d9nftZ4ivV6a51uSskU6tCwDe8vBD4s8LRP+sFcj5TbO8ZyCp3LtfUCM1yyBrdYl7R5X cO8klcg1G3BTdR6eVjU1fBzfS01tGcJy7aSbL5m9Y4gJRt4Nu8YuT/IWMTlguAQ+vLtJ 3YrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8Rdn/0bCCJC02mpdJgqbDeyik9/k0VweQXkLGqLKN8o=; b=eLWUV9pNcooA0uZPVJF+W/LG+6XR9oOSHxNZKq91jMowr8HBfDWTlHomyZbOXC6H2B dh0F+M+h0ItHAAzqHhYDjIBLuq3sai/dGkxZGP+QNnC4ghneYAXdZPfmRiTPWU2W0IsU Gu0bIZ0d52xVuxmu57fm4qVkmLOJcjiUvaAfMlIYHLHhU/ZIkHPcmDgtu1tZ6wHZrVPg ubSPVTVZcjCrPWl/u6vqW65buRpWEGtq94TB762bpApibuWMpyDyhm3+Yw24hlfbwoTw DprYVqQZtMoIalIrO2s5OHE1rYSfIMQNQRRjX5L1YVWZkkGRot7PnrNmqPVgI51iq79M RUZA== X-Gm-Message-State: APjAAAUy/e+zrBRRg71ALEzXSts9p+hp/njvFivoP+17swGFsusV9KCn 43jcue5eLBYVN4+ccASMebk= X-Received: by 2002:a17:902:284b:: with SMTP id e69mr6689994plb.11.1553219258560; Thu, 21 Mar 2019 18:47:38 -0700 (PDT) Received: from [192.168.1.70] (c-24-6-192-50.hsd1.ca.comcast.net. [24.6.192.50]) by smtp.gmail.com with ESMTPSA id 71sm9969386pgc.23.2019.03.21.18.47.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 18:47:37 -0700 (PDT) Subject: Re: [RFC v3 18/19] of: unittest: split out a couple of test cases from unittest To: Brendan Higgins Cc: Greg KH , Kees Cook , Luis Chamberlain , shuah@kernel.org, Joel Stanley , Michael Ellerman , Joe Perches , brakmo@fb.com, Steven Rostedt , "Bird, Timothy" , Kevin Hilman , Julia Lawall , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, Linux Kernel Mailing List , Jeff Dike , Richard Weinberger , linux-um@lists.infradead.org, Daniel Vetter , dri-devel , Rob Herring , Dan Williams , linux-nvdimm , Kieran Bingham , Knut Omang , Frank Rowand References: <20181128193636.254378-1-brendanhiggins@google.com> <20181128193636.254378-19-brendanhiggins@google.com> <990bfc7d-dc5e-d8d3-c151-9b321ff2ac10@gmail.com> <88fe0546-7850-5bb4-9673-b1aef2dccb3e@gmail.com> <0e311e88-c4d4-e98d-1720-53a04bd526fc@gmail.com> <72cd1c5b-6f68-73ad-c8fd-f3a3268a0529@gmail.com> From: Frank Rowand Message-ID: Date: Thu, 21 Mar 2019 18:47:35 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/21/19 6:30 PM, Brendan Higgins wrote: > On Thu, Mar 21, 2019 at 5:22 PM Frank Rowand wrote: >> >> On 2/27/19 7:52 PM, Brendan Higgins wrote: < snip > but thanks for the comments in the snipped section. >> >> Thanks for leaving 18/19 and 19/19 off in v4. > > Sure, no problem. It was pretty clear that it was a waste of both of > our times to continue discussing those at this juncture. :-) > > Do you still want me to try to convert the DT not-exactly-unittest to > KUnit? I would kind of prefer (I don't feel *super* strongly about the > matter) we don't call it that since I was intending for it to be the > flagship initial example, but I certainly don't mind trying to clean > this patch up to get it up to snuff. It's really just a question of > whether it is worth it to you. In the long term, if KUnit is adopted by the kernel, then I think it probably makes sense for devicetree unittest to convert from using our own unittest() function to report an individual test pass/fail to instead use something like KUNIT_EXPECT_*() to provide more consistent test messages to test frameworks. That is assuming KUNIT_EXPECT_*() provides comparable functionality. I still have not looked into that question since the converted tests (patch 15/17 in v4) still does not execute without throwing internal errors. If that conversion occurred, I would also avoid the ASSERTs. > > < snip > > > Cheers! >