From 87a4d8ab64a858d71b73d7c1dd5f8f3ba3506fb6 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 21 Mar 2016 14:34:18 +0000 Subject: [PATCH] igt/gem_ringfill: Fine-tune list of BAT tests Drop -bomb as with forking * interruptible repeating, it takes too long to include in the BAT. Signed-off-by: Chris Wilson --- tests/gem_ringfill.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/tests/gem_ringfill.c b/tests/gem_ringfill.c index 269b2cf1..4079ce30 100644 --- a/tests/gem_ringfill.c +++ b/tests/gem_ringfill.c @@ -202,30 +202,31 @@ igt_main const struct { const char *suffix; unsigned flags; + bool basic; } modes[] = { - { "", 0 }, - { "-interruptible", INTERRUPTIBLE }, - { "-hang", HANG }, + { "", 0, true}, + { "-interruptible", INTERRUPTIBLE, true }, + { "-hang", HANG, true }, { "-child", CHILD }, - { "-forked", FORKED }, + { "-forked", FORKED, true }, { "-bomb", BOMB | INTERRUPTIBLE }, { "-S3", BOMB | SUSPEND }, { "-S4", BOMB | HIBERNATE }, - { NULL, 0 } - }, *mode; + { NULL } + }, *m; const struct intel_execution_engine *e; int fd; igt_fixture fd = drm_open_driver_master(DRIVER_INTEL); - for (mode = modes; mode->suffix; mode++) { + for (m = modes; m->suffix; m++) { for (e = intel_execution_engines; e->name; e++) { igt_subtest_f("%s%s%s", - e->exec_id ? "" : "basic-", + m->basic && !e->exec_id ? "" : "basic-", e->name, - mode->suffix) - run_test(fd, e->exec_id | e->flags, mode->flags); + m->suffix) + run_test(fd, e->exec_id | e->flags, m->flags); } }