From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1C439211E00F0 for ; Thu, 21 Mar 2019 18:47:38 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id 10so375704pfo.5 for ; Thu, 21 Mar 2019 18:47:38 -0700 (PDT) Subject: Re: [RFC v3 18/19] of: unittest: split out a couple of test cases from unittest 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 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Brendan Higgins Cc: brakmo@fb.com, dri-devel , linux-kselftest@vger.kernel.org, shuah@kernel.org, Rob Herring , Frank Rowand , linux-nvdimm , Richard Weinberger , Knut Omang , Kieran Bingham , Joel Stanley , Jeff Dike , "Bird," Timothy" , Kees Cook ," linux-um@lists.infradead.org, Steven Rostedt , Julia Lawall , kunit-dev@googlegroups.com, Greg KH , Linux Kernel Mailing List , Luis Chamberlain , Daniel Vetter , Michael Ellerman , Joe Perches , Kevin Hilman List-ID: 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! > _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm