[PATCH] tests/gem_tiled_swapping: Fix up L-shaped testing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've fumbled this, resulting in this this skipping everywhere.
Unfortunately no QA test report for this regression ...

Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
---
 tests/gem_tiled_swapping.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gem_tiled_swapping.c b/tests/gem_tiled_swapping.c
index 2361dfcf76a3..072bf9a528fb 100644
--- a/tests/gem_tiled_swapping.c
+++ b/tests/gem_tiled_swapping.c
@@ -169,7 +169,7 @@ static void check_memory_layout(void)
 	igt_assert(tiling_debugfs_file);
 
 	while (getline(&line, &sz, tiling_debugfs_file) > 0) {
-		if (strstr(line, "L-shaped") != 0)
+		if (strstr(line, "L-shaped") == NULL)
 			continue;
 
 		igt_skip("L-shaped memory configuration detected\n");
-- 
1.9.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux