test_once was ignoring the return value of draw_and_test_layer so the test would report a pass even if it failed.
Reported-by: Marek Olšák <mar...@gmail.com> --- Oops, sorry about that. Thanks for reporting it. tests/fbo/fbo-depth-array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fbo/fbo-depth-array.c b/tests/fbo/fbo-depth-array.c index b0acd5e..45c8b3b 100644 --- a/tests/fbo/fbo-depth-array.c +++ b/tests/fbo/fbo-depth-array.c @@ -446,7 +446,7 @@ test_once(void) x = 1 + (layer % 3) * (width + 1); y = 1 + (layer / 3) * (height + 1); } - draw_and_test_layer(x, y, layer); + pass = draw_and_test_layer(x, y, layer) && pass; if (piglit_use_fbo && !test_single_size && layer < layers-1) { glClearColor(0.2, 0.1, 0.1, 1.0); -- 1.9.3 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit