diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-02-25 19:54:47 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-02-25 20:01:33 +0000 |
commit | d627e30c9e7be7c8ab03fe486ce7ab0d68b5c33c (patch) | |
tree | cf1f0d5ce3fb41d39725d571b217e188d2a9acef /tests | |
parent | cf569c216b7b53c2a2f78d9e76a0ea093184c27b (diff) |
igt/gem_concurrent_blit: Pretend tests exist
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_concurrent_all.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/tests/gem_concurrent_all.c b/tests/gem_concurrent_all.c index 641b0343..f62901c9 100644 --- a/tests/gem_concurrent_all.c +++ b/tests/gem_concurrent_all.c @@ -1523,14 +1523,16 @@ run_basic_modes(const char *prefix, static void run_modes(const char *style, const struct access_mode *mode, unsigned allow_mem) { - if (mode->require && !mode->require()) - return; - - igt_debug("%s: using 2x%d buffers, each 1MiB\n", - style, num_buffers); - if (!__intel_check_memory(2*num_buffers, 1024*1024, allow_mem, - NULL, NULL)) - return; + if (!igt_only_list_subtests()) { + if (mode->require && !mode->require()) + return; + + igt_debug("%s: using 2x%d buffers, each 1MiB\n", + style, num_buffers); + if (!__intel_check_memory(2*num_buffers, 1024*1024, allow_mem, + NULL, NULL)) + return; + } run_basic_modes(style, mode, "", run_single); run_basic_modes(style, mode, "-child", run_child); |