qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Zhi Hui Li <zhihuili@linux.vnet.ibm.com>
Cc: zhihuili@cn.ibm.com, QEMU-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] A error abou t gtester-report, can anyone help me, thank you !
Date: Wed, 16 May 2012 08:14:46 -0500	[thread overview]
Message-ID: <4FB3A846.9020401@codemonkey.ws> (raw)
In-Reply-To: <4FB35C95.9030503@linux.vnet.ibm.com>

On 05/16/2012 02:51 AM, Zhi Hui Li wrote:
> When I use gtest.
>
> Compiler did not have a problem, the use of gtester implementation and generate
> xml file testlog also no problem, but in the use of
> gterster-report, the output is as follows:
>
> gtester-report test.log > test-report.html

There's a bug in gtester-report on some distros.

If you use 'make checkreport.html', it works around the bug using some scripts 
in the tree.

Regards,

Anthony Liguori

>
>
>
> 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'
> li@mm:~/ceshi/g_test$ gtester-report test.log > test-report.html
> 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'
>
>
> I don't know why the error " KeyError: 'package' " appear. can anybody help me ?
> Thank you very much!
>
>

      reply	other threads:[~2012-05-16 13:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16  7:51 [Qemu-devel] A error abou t gtester-report, can anyone help me, thank you ! Zhi Hui Li
2012-05-16 13:14 ` Anthony Liguori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FB3A846.9020401@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    --cc=zhihuili@cn.ibm.com \
    --cc=zhihuili@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).