Commit 860b3c14 authored by Marius Vlad's avatar Marius Vlad

tests/prime_busy: Remove unstable sub-test from BAT/add flag to bring them...

tests/prime_busy: Remove unstable sub-test from BAT/add flag to bring them back when they're stable to be run in CI.

The following BAT are causing problems:

prime_busy@basic-after-default, fails on all platforms
since it was added, and it sometimes hangs BSW machine
prime_busy@basic-before-default, fails on all platforms
since it was added.
prime_busy@basic-wait-after-default, fails on all platforms
since it was added, and it sometimes hangs BSW machine
prime_busy@basic-wait-before-default, fails on all platforms
since it was added.
Signed-off-by: default avatarMarius Vlad <marius.c.vlad@intel.com>
parent 5188745c
......@@ -37,6 +37,7 @@ static bool prime_busy(struct pollfd *pfd, bool excl)
#define AFTER 0x2
#define HANG 0x4
#define POLL 0x8
#define BASIC 0x10
static void busy(int fd, unsigned ring, unsigned flags)
{
......@@ -187,7 +188,7 @@ static void run_busy(int fd,
}
igt_subtest_f("%s%s-%s",
!e->exec_id && !(flags & HANG) ? "basic-" : "",
!e->exec_id && !(flags & HANG) && (flags & BASIC) ? "basic-" : "",
name, e->name)
busy(fd, e->exec_id | e->flags, flags);
......@@ -213,7 +214,7 @@ static void run_poll(int fd,
}
igt_subtest_f("%swait-%s-%s",
!e->exec_id && !(flags & HANG) ? "basic-" : "",
!e->exec_id && !(flags & HANG) && (flags & BASIC) ? "basic-" : "",
name, e->name)
busy(fd, e->exec_id | e->flags, flags | POLL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment