Skip to contentSkip to conversation

tests/gem_tiled_swapping: Fix up L-shaped testing

PATCH New Daniel Vetter 1 participant 1 message Mar 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/gem_tiled_swapping: Fix up L-shaped testing

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

---
 tests/gem_tiled_swapping.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/gem_tiled_swapping.c +1 -1
index 2361dfcf76a3..072bf9a528fb 100644
@@ -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");
Signature · 6 lines
1.9.3

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx