Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10081474imu; Wed, 5 Dec 2018 15:55:39 -0800 (PST) X-Google-Smtp-Source: AFSGD/UZ24BtOEfoDVZRv5dsQREtFkkO+8ZD0m1a7GJjCLIbEFG5cN7YWQ87iz2I1PRkIdsmhwhl X-Received: by 2002:a63:4c04:: with SMTP id z4mr22549563pga.312.1544054139850; Wed, 05 Dec 2018 15:55:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544054139; cv=none; d=google.com; s=arc-20160816; b=nI4TCFYxsAZIARS6IMLtaTK3KEbHFWkMynFKiIaVfP1WVWg2TL02q0gJ2kHwds/SLF E4yCQC1mpTuJEg6ViWPvGtoZHGomACCC/LBUU9ZGrX1eqQWNXuJ9To3DGvf+l5Ar8iYH gS9Vbo2OhMB8uMWf8HZl0dz4V86eq6/l5rzK0HH68FedfdzZ0BDY/5n8p9FRUgxJ8tUy IFYAvlPs30cGkqMxRbXpxk5CVh2WFMH8jcP0i0TsxIJ8WeItNFxIx1iVy5g0mO4gnXQy vTRt3DMU/wY6JE4Lw8UoEZGYlSFJvOEBPQOS1ize+q2RhaefioFj91vK3EkYHSi+8gMm W6Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2UVwzh6sr4ACaI1A0FxZsGSIrRettlWSwdFkbLEetD8=; b=vUB7lwFazCaa0wOaK/ma47UIpvPAIlMgXZh4l6D98MdpNz9OI1doba9iNd63tI6LdC ZHxlIz1U5gszFeXVDZLIsuC2nNVLOvYs1Og2j81hL1IRfFWbD4i9pPpy16Ubh85wl5zh gUvpScSYSfyrDzU/tDh43pP5K24WSo4wJ0+kBjdkQoH78LrRe+vo7zqYpDatVYw2UKzq /nPR919kZ1ulpXKgODQXk1v24t08x2ZuTUfP3nhb/YYT9edOaaKfmOeRO1JvLwjvQoNT NDSfENZFjoHfqYl/Ay0WWx8OwRKk+zMdYOWWPPbbMRUIHUoihwbKkC98lh8LAJ581GNE QRfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JIcPu7As; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p11si18605179pgb.219.2018.12.05.15.55.25; Wed, 05 Dec 2018 15:55:39 -0800 (PST) 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=@google.com header.s=20161025 header.b=JIcPu7As; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728880AbeLEXyr (ORCPT + 99 others); Wed, 5 Dec 2018 18:54:47 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:43525 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728411AbeLEXyr (ORCPT ); Wed, 5 Dec 2018 18:54:47 -0500 Received: by mail-ot1-f66.google.com with SMTP id a11so20369135otr.10 for ; Wed, 05 Dec 2018 15:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2UVwzh6sr4ACaI1A0FxZsGSIrRettlWSwdFkbLEetD8=; b=JIcPu7AsunttTaEi20pi43i6RTMLMhTT249wGURdJgU/L8PdKZaEz3o+ropZJyPZwB 6UNOJSyFWEIpu2WhZqkoVr8JK3akXkfdHOUtruZ/MsldT58DKhtz0ojOZC4ibyZ8CkHB 1OJlf0orXUY+IAibcK+rWVpbVqKt4WD8+mego7OC9eLR3QlLSTTTpvo0AAYuBGa2Hu1X rwM2o1xYNz3JLQ/PilKhr/AmMrofrVXCU6lX2L+sE0YVwFXHSI1f78oqljpY3fM906LV Yza2stjbOotvTxPyRqkaU1fcWWgI3WFlmEgcEH8LijcWfogWhWByQPEXKlZxVVqjD6R+ qQ0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2UVwzh6sr4ACaI1A0FxZsGSIrRettlWSwdFkbLEetD8=; b=XP7AR5GtkGC2/PvlLvh43cVRfYrFAZ+Dg2MT8caBC5JXLDftN0NVBUUg90qdPH5MDS lHONQnRXnKP8CPsaygS5YMkA00lDeodxYl735dlSL6EKabuUuLqC93O+73xNFy8/2VZU WoEpx/Av1fiDCl/NwTvEKN3hcFJcl/tdVrpY0KuihY0V2Wc7XYkdo86fHZwv5XmhAgBr XA1rCIhPkTM7Il2qvIl2cbgkg98X9LSZDfKuTGxCqSIBTn2zGEjbdos8SnZOrz6tPGSV 6mM48g2JTFiQah7bqVEzjp/FV6Ada5aSjEGvHnLA6eS5rlByPLxQKSd4S7a0KK8BbTTZ Df+A== X-Gm-Message-State: AA+aEWbIc3A5Mb+cqdGMGWTTZtwqUNc21IuiZLmPfHW3i3WekFpJ3JiO 0/tzI5mhs+K/YZBY8if7y0kuSUrRWXQb9o9iK5JRPQ== X-Received: by 2002:a05:6830:1005:: with SMTP id a5mr15796921otp.113.1544054085851; Wed, 05 Dec 2018 15:54:45 -0800 (PST) MIME-Version: 1.0 References: <20181128193636.254378-1-brendanhiggins@google.com> <20181128193636.254378-19-brendanhiggins@google.com> <990bfc7d-dc5e-d8d3-c151-9b321ff2ac10@gmail.com> In-Reply-To: <990bfc7d-dc5e-d8d3-c151-9b321ff2ac10@gmail.com> From: Brendan Higgins Date: Wed, 5 Dec 2018 15:54:34 -0800 Message-ID: Subject: Re: [RFC v3 18/19] of: unittest: split out a couple of test cases from unittest To: Frank Rowand Cc: Greg KH , Kees Cook , mcgrof@kernel.org, shuah@kernel.org, Joel Stanley , mpe@ellerman.id.au, joe@perches.com, brakmo@fb.com, rostedt@goodmis.org, Tim.Bird@sony.com, khilman@baylibre.com, Julia Lawall , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, Linux Kernel Mailing List , jdike@addtoit.com, richard@nod.at, linux-um@lists.infradead.org, Daniel Vetter , dri-devel@lists.freedesktop.org, Rob Herring , dan.j.williams@intel.com, linux-nvdimm@lists.01.org, kieran.bingham@ideasonboard.com, Knut Omang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 4, 2018 at 2:58 AM Frank Rowand wrote: > > Hi Brendan, > > On 11/28/18 11:36 AM, Brendan Higgins wrote: > > Split out a couple of test cases that these features in base.c from the > > unittest.c monolith. The intention is that we will eventually split out > > all test cases and group them together based on what portion of device > > tree they test. > > Why does splitting this file apart improve the implementation? This is in preparation for patch 19/19 and other hypothetical future patches where test cases are split up and grouped together by what portion of DT they test (for example the parsing tests and the platform/device tests would probably go separate files as well). This patch by itself does not do anything useful, but I figured it made patch 19/19 (and, if you like what I am doing, subsequent patches) easier to review.