All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff McGee <jeff.mcgee@intel.com>
To: Daniel Vetter <daniel@ffwll.ch>,
	intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: IGT conventions
Date: Wed, 22 Jan 2014 14:40:42 -0600	[thread overview]
Message-ID: <20140122204041.GG14542@jeffdesk> (raw)
In-Reply-To: <20140116164336.GD14542@jeffdesk>

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

  reply	other threads:[~2014-01-22 20:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15 23:26 IGT conventions Jeff McGee
2014-01-15 23:55 ` Daniel Vetter
2014-01-16  9:27   ` Daniel Vetter
2014-01-16 16:43     ` Jeff McGee
2014-01-22 20:40       ` Jeff McGee [this message]
2014-01-22 20:53         ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140122204041.GG14542@jeffdesk \
    --to=jeff.mcgee@intel.com \
    --cc=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.