diff options
Diffstat (limited to 'tests/prime_busy.c')
-rw-r--r-- | tests/prime_busy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/prime_busy.c b/tests/prime_busy.c index c7ff8720..7b41fae2 100644 --- a/tests/prime_busy.c +++ b/tests/prime_busy.c @@ -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); |