[poppler] regtest/commands

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


 regtest/commands/create-report.py |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 2749db77eb8ccdbc4b0771163c8942f882f259f4
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Sun Apr 1 19:20:37 2012 +0200

    regtest: Fix crash when creating HTML report for a single test

diff --git a/regtest/commands/create-report.py b/regtest/commands/create-report.py
index 768da62..f17aabe 100644
--- a/regtest/commands/create-report.py
+++ b/regtest/commands/create-report.py
@@ -53,9 +53,6 @@ class CreateReport(Command):
             docs_dir = os.path.dirname(doc)
 
         report = HTMLReport(docs_dir, options['refs_dir'], options['out_dir'])
-        if doc == docs_dir:
-            report.create()
-        else:
-            report.create_for_file(os.path.basename(doc))
+        report.create()
 
 register_command('create-report', CreateReport)


More information about the poppler mailing list