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

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

 



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>
---
 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