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

Daniel Vetter daniel.vetter at ffwll.ch
Thu Sep 12 14:02:30 CEST 2013


The simulator doesn't like this nor really support it :(

Cc: Ben Widawsky <benjamin.widawsky at intel.com>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 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




More information about the Intel-gfx mailing list