diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-09-12 20:56:13 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-09-12 20:56:13 +0200 |
commit | 21ec8c78b3b8860b59e772416b5858ed6b41554f (patch) | |
tree | 648d453dabc67a8181d30f889f739b6557c8c020 /tests/gen3_render_linear_blits.c | |
parent | b8245e18fe6a80e55aa0ece17d6b3a0cf3b1182c (diff) |
tests: mark gen3-only tests as such
... instead of hanging the gpu.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gen3_render_linear_blits.c')
-rw-r--r-- | tests/gen3_render_linear_blits.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/gen3_render_linear_blits.c b/tests/gen3_render_linear_blits.c index 2d5e26e46..a4d8e2b0b 100644 --- a/tests/gen3_render_linear_blits.c +++ b/tests/gen3_render_linear_blits.c @@ -394,6 +394,11 @@ int main(int argc, char **argv) fd = drm_open_any(); + if (!IS_GEN3(intel_get_drm_devid(fd))) { + printf("gen3-only test, doing nothing\n"); + return 0; + } + count = 0; if (argc > 1) count = atoi(argv[1]); |