[Piglit] [PATCH] arb_get_program_binary/retrievable_hint: fix typo

Haixia Shi hshi at chromium.org
Thu Apr 14 18:11:25 UTC 2016


The variable "pass" is incorrectly set to false unconditionally. This
prevents the test from ever passing.

Signed-off-by: Haixia Shi <hshi at chromium.org>
---
 tests/spec/arb_get_program_binary/retrievable_hint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/arb_get_program_binary/retrievable_hint.c b/tests/spec/arb_get_program_binary/retrievable_hint.c
index 8283c5b..4b9264c 100644
--- a/tests/spec/arb_get_program_binary/retrievable_hint.c
+++ b/tests/spec/arb_get_program_binary/retrievable_hint.c
@@ -97,7 +97,7 @@ piglit_init(int argc, char **argv)
 			pass = false;
 		}
 	} else
-		pass = false;
+		pass = true;
 
 	/* The ARB_get_program_binary spec says:
 	 *
-- 
2.8.0.rc3.226.g39d4020



More information about the Piglit mailing list