diff mbox

[i-g-t] tests/gem_busy: Fix passing invalid fd for basic-parallel-* tests.

Message ID 1461587100-28037-1-git-send-email-marius.c.vlad@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marius Vlad April 25, 2016, 12:25 p.m. UTC
Caught by check target.

Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
---
 tests/gem_busy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chris Wilson April 25, 2016, 12:39 p.m. UTC | #1
On Mon, Apr 25, 2016 at 03:25:00PM +0300, Marius Vlad wrote:
> Caught by check target.
> 
> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>

Ugh, gcc-6 and -Windent for me I guess.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris
diff mbox

Patch

diff --git a/tests/gem_busy.c b/tests/gem_busy.c
index d81604d..af634c5 100644
--- a/tests/gem_busy.c
+++ b/tests/gem_busy.c
@@ -407,8 +407,8 @@  igt_main
 					      e->exec_id == I915_EXEC_BSD,
 					      "MI_STORE_DATA broken on gen6 bsd\n");
 				gem_quiescent_gpu(fd);
-			}
 				one(fd, e->exec_id, e->flags, PARALLEL);
+			}
 		}
 	}