[poppler] regtest/HTMLReport.py

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Sun Apr 1 10:12:46 PDT 2012


 regtest/HTMLReport.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 1c8e1bb637347d0d31945f9d265b29e7b49396e2
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Sun Apr 1 19:11:57 2012 +0200

    regtest: Don't show results for crashed or failed to run tests in HTML report

diff --git a/regtest/HTMLReport.py b/regtest/HTMLReport.py
index ff254a4..85abd34 100644
--- a/regtest/HTMLReport.py
+++ b/regtest/HTMLReport.py
@@ -205,6 +205,8 @@ class TestResult:
     def get_failed_html(self):
         html = ""
         for backend in self._results:
+            if self._results[backend].is_crashed() or self._results[backend].is_failed_to_run():
+                continue
             backend_html = self._results[backend].get_failed_html()
             if not backend_html:
                 continue


More information about the poppler mailing list