[cairo-commit] test/cairo-test-runner.c

Chris Wilson ickle at kemper.freedesktop.org
Sat Jun 13 04:20:28 PDT 2009


 test/cairo-test-runner.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 31b7652e1fa2ab2bd9e9df7f5517b7d678faf6aa
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Jun 13 12:19:51 2009 +0100

    [test] Never, ever, blame a crashing test on external factors.

diff --git a/test/cairo-test-runner.c b/test/cairo-test-runner.c
index 3652a9b..7476d1e 100644
--- a/test/cairo-test-runner.c
+++ b/test/cairo-test-runner.c
@@ -453,7 +453,7 @@ _runner_print_results (cairo_test_runner_t *runner)
     _runner_print_summary (runner);
     _runner_print_details (runner);
 
-    if (! runner->passed) {
+    if (! runner->passed && ! runner->num_crashed) {
 	_log (&runner->base,
 "\n"
 "Note: These failures may be due to external factors.\n"


More information about the cairo-commit mailing list