summaryrefslogtreecommitdiff
path: root/tests/prime_busy.c
diff options
context:
space:
mode:
authorMarius Vlad <marius.c.vlad@intel.com>2016-07-24 16:38:08 +0300
committerMarius Vlad <marius.c.vlad@intel.com>2016-07-25 14:12:52 +0300
commit860b3c14f9e98face626e6ca025daf22844dd156 (patch)
tree584bf3954c5e8d39faa66e8a53362c5bc66c949c /tests/prime_busy.c
parent5188745c4b531d09508cf0897fb90a3634299283 (diff)
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 <marius.c.vlad@intel.com>
Diffstat (limited to 'tests/prime_busy.c')
-rw-r--r--tests/prime_busy.c5
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);