From: Chris Wilson Subject: Re: [PATCH 2/7] lib/drmtest: Add drmtest_subtest_block macro Date: Mon, 12 Aug 2013 10:15:06 +0100 Message-ID: <20130812091506.GA21651@cantiga.alporthouse.com> References: <1376298601-18641-1-git-send-email-daniel.vetter@ffwll.ch> <1376298601-18641-3-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (s16502780.onlinehome-server.info [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id 772BDE673D for ; Mon, 12 Aug 2013 02:15:16 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1376298601-18641-3-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Daniel Vetter Cc: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Mon, Aug 12, 2013 at 11:09:56AM +0200, Daniel Vetter wrote: > Doesn't do more than an if (drmtest_run_test(name)) right now, but > as soon as we get a bit of infrastructure to handle test failures and > skipping, this will get more interesting. Just use drm_subtest("name") { } drm_subtest_block() reads like a function and so one expects "block" to be a verb. -Chris -- Chris Wilson, Intel Open Source Technology Centre