diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-03-26 20:52:00 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-03-26 20:53:06 +0000 |
commit | 11291fd52f53d3c729d5ef4e5b2090f38c36cf69 (patch) | |
tree | 5decd34a09e5eef0fe48a75de598f773955209a9 | |
parent | 47f6b1305cc3752f318a555b932e194e1500c1d8 (diff) |
igt/gem_exec_(blt|nop): IGT magic
$ ./gem_exec_nop --list-subtests
render
bsd
blt
vebox
gem_exec_nop: igt_core.c:946: igt_skip: Assertion `in_fixture' failed.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | tests/gem_exec_blt.c | 2 | ||||
-rw-r--r-- | tests/gem_exec_nop.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_exec_blt.c b/tests/gem_exec_blt.c index cf25207d..8f03b20b 100644 --- a/tests/gem_exec_blt.c +++ b/tests/gem_exec_blt.c @@ -388,7 +388,7 @@ int main(int argc, char **argv) max = sysfs_read("gt_max_freq_mhz"); for (r = rps; r->suffix; r++) { - r->func(); + igt_fixture r->func(); igt_subtest_f("cold%s", r->suffix) run(OBJECT_SIZE, false); diff --git a/tests/gem_exec_nop.c b/tests/gem_exec_nop.c index a7386b41..e92bd8af 100644 --- a/tests/gem_exec_nop.c +++ b/tests/gem_exec_nop.c @@ -227,7 +227,7 @@ igt_main } for (r = rps; r->suffix; r++) { - r->func(); + igt_fixture r->func(); igt_subtest_f("render%s", r->suffix) loop(device, handle, I915_EXEC_RENDER, "render"); |