Public bug reported:

I'm trying to set up some unit tests on a bunch of C code I'm writing,
and decided to use GLib's testing framework.

Running the tests using "gtester test-executable -o output.xml"  runs
okay, but running gtester-report to generate a html report raises an
error. The output is:

...

At the beginning, it outputs valid html, until  the beginning of the
<body> tag:

...
<body>
<h2>GTester Unit Test Report</h2>
Traceback (most recent call last):
  File "/usr/bin/gtester-report", line 492, in <module>
    main()
  File "/usr/bin/gtester-report", line 486, in main
    HTMLReportWriter(rr.get_info(), rr.binary_list()).printout()
  File "/usr/bin/gtester-report", line 350, in printout
    self.handle_info ()
  File "/usr/bin/gtester-report", line 244, in handle_info
    self.oprint ('<h3>Package: %(package)s, version: %(version)s</h3>\n' % 
self.info)
KeyError: 'package'

** Affects: glib2.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: glib gtester gtester-report

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1036260

Title:
  Running gtester-report on gtester output raises KeyError

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1036260/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to