From: Damien Lespiau Subject: Re: [PATCH] lib/drmtest: skip suspend tests in simulation Date: Thu, 12 Sep 2013 13:30:11 +0100 Message-ID: <20130912123011.GB1758@strange.amr.corp.intel.com> References: <1378987350-3923-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 89831E63DC for ; Thu, 12 Sep 2013 05:30:14 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1378987350-3923-1-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 , Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org On Thu, Sep 12, 2013 at 02:02:30PM +0200, Daniel Vetter wrote: > The simulator doesn't like this nor really support it :( > = > Cc: Ben Widawsky > Cc: Ville Syrj=E4l=E4 > Cc: Damien Lespiau > Signed-off-by: Daniel Vetter Aye! (I recall we don't really need that for i-g-t, but can't hurt) Reviewed-by: Damien Lespiau -- = Damien > --- > lib/drmtest.c | 2 ++ > 1 file changed, 2 insertions(+) > = > diff --git a/lib/drmtest.c b/lib/drmtest.c > index 9d4c5da..509db13 100644 > --- a/lib/drmtest.c > +++ b/lib/drmtest.c > @@ -2088,6 +2088,8 @@ void igt_system_suspend_autoresume(void) > { > int ret; > = > + igt_skip_on_simulation(); > + > ret =3D system("rtcwake -s 30 -m mem"); > igt_assert(ret =3D=3D 0); > } > -- = > 1.8.4.rc3 > =