aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-04-05 16:02:52 -0600
committerBrian Paul <brianp@vmware.com>2013-04-06 08:12:28 -0600
commit5c7f46d73e67d4499c6e6ebf0b3e2f0dc18b1b18 (patch)
tree3d1a396ac54b002ebb1fe1f8bca00df58ba04c74
parent204712709fc5cbc868ff3553600002cf0ac8d3a3 (diff)
downloadpiglit-5c7f46d73e67d4499c6e6ebf0b3e2f0dc18b1b18.tar.gz
draw-pixels: display results when there's a failure
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
-rw-r--r--tests/general/draw-pixels.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/general/draw-pixels.c b/tests/general/draw-pixels.c
index 383f335b..0506ead5 100644
--- a/tests/general/draw-pixels.c
+++ b/tests/general/draw-pixels.c
@@ -871,6 +871,10 @@ piglit_display(void)
}
free(pixels);
pixels = NULL;
+
+ if (!pass) {
+ piglit_present_results();
+ }
}
}
}