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
..
2013-12-05 15:32:42 -08:00
2011-03-29 22:52:50 +02:00
2014-02-20 13:42:25 +00:00
2011-03-29 22:52:50 +02:00
2014-03-13 19:44:40 +01:00
2014-02-26 12:06:10 +00:00
2013-03-22 14:45:06 -03:00
2014-03-12 16:39:39 +01:00
2014-03-12 16:39:39 +01:00