From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff McGee Subject: Re: IGT conventions Date: Wed, 22 Jan 2014 14:40:42 -0600 Message-ID: <20140122204041.GG14542@jeffdesk> References: <20140115232628.GC14542@jeffdesk> <20140115235516.GB4770@phenom.ffwll.local> <20140116164336.GD14542@jeffdesk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id BC560FBBCC for ; Wed, 22 Jan 2014 12:33:54 -0800 (PST) Content-Disposition: inline In-Reply-To: <20140116164336.GD14542@jeffdesk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Daniel Vetter , intel-gfx List-Id: intel-gfx@lists.freedesktop.org There doesn't seem to be anything like the exit handlers for running when a subtest exits. I need a failed subtest to be able to cleanup after itself to avoid contaminating subsequent subtests. Have I missed something? Perhaps this is not a problem when running subtests individually through piglit? I guess one simple approach is to wrap igt_assert with the cleanup function, like the restore_assert that was originally used in pm_rps. Jeff