Mika Kuoppala 53ad1e4a70 tests/gem_reset_stats: check gpu state before each subtest
Some tests, namely the close pending variety, tries to
carefully drop all handles to gpu when hang is intruduced,
to expose bugs in reset handling without any clients.

Add guards after and before tests to really know if
the gpu is still alive as the particular test might
report success and then gpu dies few seconds after.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
2014-04-10 17:50:49 +03:00
..
2012-04-10 16:23:18 +02:00
2013-07-21 22:04:20 -07:00
2013-11-04 19:49:10 +01:00
2013-11-04 19:49:10 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2013-11-01 22:18:20 +01:00
2013-11-01 21:10:59 +01:00
2013-07-21 22:04:20 -07:00
2012-01-15 16:05:43 +01:00