diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-21 14:34:18 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-21 14:36:57 +0000 |
commit | 87a4d8ab64a858d71b73d7c1dd5f8f3ba3506fb6 (patch) | |
tree | a3011a8cd87ab639c0de068d902002a7f496e1ac /tests/gem_ringfill.c | |
parent | a43f40741ba84ab84db0e3ebd76b0d72484dfd95 (diff) |
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>
Diffstat (limited to 'tests/gem_ringfill.c')
-rw-r--r-- | tests/gem_ringfill.c | 21 |
1 files 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); } } |