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 <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2016-03-21 14:34:18 +00:00
parent a43f40741b
commit 87a4d8ab64

View File

@ -202,30 +202,31 @@ igt_main
const struct { const struct {
const char *suffix; const char *suffix;
unsigned flags; unsigned flags;
bool basic;
} modes[] = { } modes[] = {
{ "", 0 }, { "", 0, true},
{ "-interruptible", INTERRUPTIBLE }, { "-interruptible", INTERRUPTIBLE, true },
{ "-hang", HANG }, { "-hang", HANG, true },
{ "-child", CHILD }, { "-child", CHILD },
{ "-forked", FORKED }, { "-forked", FORKED, true },
{ "-bomb", BOMB | INTERRUPTIBLE }, { "-bomb", BOMB | INTERRUPTIBLE },
{ "-S3", BOMB | SUSPEND }, { "-S3", BOMB | SUSPEND },
{ "-S4", BOMB | HIBERNATE }, { "-S4", BOMB | HIBERNATE },
{ NULL, 0 } { NULL }
}, *mode; }, *m;
const struct intel_execution_engine *e; const struct intel_execution_engine *e;
int fd; int fd;
igt_fixture igt_fixture
fd = drm_open_driver_master(DRIVER_INTEL); 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++) { for (e = intel_execution_engines; e->name; e++) {
igt_subtest_f("%s%s%s", igt_subtest_f("%s%s%s",
e->exec_id ? "" : "basic-", m->basic && !e->exec_id ? "" : "basic-",
e->name, e->name,
mode->suffix) m->suffix)
run_test(fd, e->exec_id | e->flags, mode->flags); run_test(fd, e->exec_id | e->flags, m->flags);
} }
} }