[Piglit] [PATCH] shader_runner: report PIGLIT_FAIL if linking unexpectedly fails

Brian Paul brianp at vmware.com
Tue Oct 18 23:28:53 UTC 2016


We were previously reporting 'pass' if linking failed.
---
 tests/shaders/shader_runner.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index b0bde2c..94865b7 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -3529,6 +3529,7 @@ piglit_display(void)
 
 	if (!link_ok && !link_error_expected) {
 		program_must_be_in_use();
+		full_result = PIGLIT_FAIL;
 	}
 
 	piglit_present_results();
-- 
1.9.1



More information about the Piglit mailing list