diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-17 15:07:50 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-17 15:10:29 +0000 |
commit | fb7bc2e8d1dcc626778f4e8f3346a2ecbdfe4b04 (patch) | |
tree | e3618a9a104459d7bc4f97245e62539efaa10e91 /tests/gem_lut_handle.c | |
parent | d5517a1301f066465c3b2941542fb8aec66aa5e3 (diff) |
tests/gem_lut_handle: Limit testing LUT interface to recent kernels
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_lut_handle.c')
-rw-r--r-- | tests/gem_lut_handle.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/gem_lut_handle.c b/tests/gem_lut_handle.c index 6b58538d..a051003e 100644 --- a/tests/gem_lut_handle.c +++ b/tests/gem_lut_handle.c @@ -185,9 +185,12 @@ int main(int argc, char **argv) gem_write(fd, handle, 0, batch, sizeof(batch)); do_or_die(exec(fd, handle, NORMAL)); - do_or_die(exec(fd, handle, USE_LUT)); - fail(exec(fd, handle, BROKEN)); + + if (exec(fd, handle, USE_LUT)) + return 77; + + do_or_die(exec(fd, handle, USE_LUT)); fail(exec(fd, handle, USE_LUT | BROKEN)); for (i = 2; i <= 65536; i *= 2) { |