From 860b3c14f9e98face626e6ca025daf22844dd156 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Sun, 24 Jul 2016 16:38:08 +0300 Subject: 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: Marius Vlad --- tests/prime_busy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/prime_busy.c') 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); -- cgit v1.2.3