diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2019-04-10 12:49:04 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2019-04-10 17:51:43 +0200 |
commit | b9a11a18de447dd97b6b1bde12ccf23d8d8491fc (patch) | |
tree | cb176da3031843bf4178c03c57c6ca1683ad9750 /tests/kms_flip.c | |
parent | ba075d1797f7e3e2dbf2324fc0b28faa713317df (diff) |
tests/kms_flip: Make busy-flip test less strict.
Remove the -interruptible test, the test only tests that we get an
-EBUSY after doing a pageflip. Doing this interruptibly adds the
possibility the test will take too long from retrying.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/kms_flip.c')
-rwxr-xr-x | tests/kms_flip.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c index dfa5a69e..08f3bd29 100755 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -1575,6 +1575,13 @@ int main(int argc, char **argv) !(tests[i].flags & TEST_VBLANK_ABSOLUTE)) continue; + /* + * -EBUSY needs to complete in a single vblank, skip them for + * interruptible tests + */ + if (tests[i].flags & TEST_EBUSY) + continue; + igt_subtest_f( "%s-interruptible", tests[i].name) run_test(tests[i].duration, tests[i].flags); |