Daniel Vetter a388f3b98f lib: allow igt_skip_on_simulation outside of fixtures.
Thomas noticed that in simulation mode a lot of the tests fall over
instead of skipping properly. This is due to recently added
self-checks which ensure that any call to igt_skip happens either
within a fixture or subtest block (or it's a simple test without
subtests). This is to catch bugs since pretty much always not wrapping
up hardware setup and checks into these blocks is a bug.

Bug simulation skipping is a bit different, so allow that exception.
Otherwise we'd need to fix up piles of tests (and likely need to play
a game of whack-a-mole).

Also add a library testcase for all the different variants to make
sure it really works.

Cc: Thomas Wood <thomas.wood@intel.com>
Cc: Ben Widawsky <benjamin.widawsky@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-03-22 14:28:03 +01:00
..
2014-02-19 14:42:54 +00: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
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2014-03-19 13:15:24 -07:00
2013-11-01 21:10:59 +01:00
2014-01-10 09:24:33 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 22:18:20 +01:00
2013-11-01 21:10:59 +01:00
2014-03-21 16:25:37 +01:00
2014-03-11 21:13:09 +01:00
2013-11-01 21:10:59 +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