From b9a11a18de447dd97b6b1bde12ccf23d8d8491fc Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Wed, 10 Apr 2019 12:49:04 +0200 Subject: 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 Reviewed-by: Chris Wilson --- tests/kms_flip.c | 7 +++++++ 1 file changed, 7 insertions(+) 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); -- cgit v1.2.3