Re: [PATCH] lib/drmtest: skip suspend tests in simulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <benjamin.widawsky@xxxxxxxxx>
> Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> Cc: Damien Lespiau <damien.lespiau@xxxxxxxxx>
> Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>

Aye! (I recall we don't really need that for i-g-t, but can't hurt)

Reviewed-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>

-- 
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 = system("rtcwake -s 30 -m mem");
>  	igt_assert(ret == 0);
>  }
> -- 
> 1.8.4.rc3
> 
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux