We were previously reporting 'pass' if linking failed.

v2: return the result of program_must_be_in_use(), per Dylan.
---
 tests/shaders/shader_runner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to