[Piglit] [PATCH 1/3] arb_enhanced_layouts: Fix error in subtest result reporting

Antia Puentes apuentes at igalia.com
Wed Dec 19 13:32:39 UTC 2018


---
 .../arb_enhanced_layouts/transform-feedback-layout-query-api.c  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/arb_enhanced_layouts/transform-feedback-layout-query-api.c b/tests/spec/arb_enhanced_layouts/transform-feedback-layout-query-api.c
index 44d1aef9a..05175b588 100644
--- a/tests/spec/arb_enhanced_layouts/transform-feedback-layout-query-api.c
+++ b/tests/spec/arb_enhanced_layouts/transform-feedback-layout-query-api.c
@@ -139,7 +139,7 @@ piglit_init(int argc, char **argv)
 		max_active = false;
 	}
 
-	piglit_report_subtest_result(active_res ? PIGLIT_PASS : PIGLIT_FAIL,
+	piglit_report_subtest_result(max_active ? PIGLIT_PASS : PIGLIT_FAIL,
 			"Query MAX_NUM_ACTIVE_VARIABLES");
 
 	GLenum props[] = {GL_BUFFER_BINDING, GL_NUM_ACTIVE_VARIABLES,
-- 
2.17.1



More information about the Piglit mailing list