diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-04-25 13:37:09 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-04-25 16:18:19 +0300 |
commit | 5b90833941f17d175204041c86ad84c6662e55df (patch) | |
tree | 69a6123713d43248c2b39567c6b616f0f5363e46 /tests/kms_cursor_crc.c | |
parent | f688a56ee8285f6ebc416d5038eded73f04602bb (diff) |
kms_cursor_crc: Wrap igt_require() in igt_fixture
igt_require() must be within a fixture or subtest.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_cursor_crc.c')
-rw-r--r-- | tests/kms_cursor_crc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c index 6934d6b6..aa92197b 100644 --- a/tests/kms_cursor_crc.c +++ b/tests/kms_cursor_crc.c @@ -350,7 +350,8 @@ static void run_test_generic(data_t *data, int cursor_max_size) int cursor_size; for (cursor_size = 64; cursor_size <= 256; cursor_size *= 2) { - igt_require(cursor_max_size >= cursor_size); + igt_fixture + igt_require(cursor_max_size >= cursor_size); igt_fixture create_cursor_fb(data, cursor_size, cursor_size); |