public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@redhat.com>
To: Kris Van Hees <kris.van.hees@oracle.com>, pearly.zhao@oracle.com
Cc: Frysk Mailing List <frysk@sourceware.org>
Subject: Re: [patch] fix bug 4612
Date: Mon, 30 Jul 2007 15:38:00 -0000	[thread overview]
Message-ID: <46AE05F6.8050203@redhat.com> (raw)
In-Reply-To: <20070730150949.GB22305@oracle.com>

Kris,

Yes, the dogtail testing.  You'll see that there frysk-gui tree now also 
contains JUnit tests; and we're able to more directly test components 
using that.

Pearly, you may want to talk to Sami about opportunities here.

Andrew


Kris Van Hees wrote:
> Woops, my apologies for sending this off before responding to the first point
> as well (I guess I do need more coffee):
>
> I do agree that testing is important (obviously), and hope that we will be able
> to increase our GUI test coverage as time goes by.  However, it clearly has
> been a problem in the past as well (as witnessed by the very limited amount of
> GUI tests that currently exist), and that is very understandable given the
> framework needed to create those tests.  Andrew even mentioned at OLS thatthe
> GUI is essentially not tested.
>
> But we do need to get these bugs fixed, and make the GUI usable.  Given the
> complexity writing GUI tests (using dogtail), it seem more prudent to wait for
> the affected windows to stabilize to write tests.  Otherwise it's just going
> to be a wasted effort.
>
> 	Cheers,
> 	Kris
>
> On Mon, Jul 30, 2007 at 10:39:27AM -0400, Kris Van Hees wrote:
>   
>> The code duplication between the Disassembler and Memory windows has been
>> mentioned during the conf call where I pointed out the various problems
>> found with those windows (and their implementation).  It certainly could do
>> with a refactoring, although it is too early for that right now.  For one,
>> I do not think it is wise to do it as part of a bug fix, and secondly, the
>> planned changes to the Memory window will cause it to deviate more from the
>> Disassembler window than it does now, so premature refactoring is likely to
>> need a (partial) reversal later on.
>>
>> 	Cheers,
>> 	Kris
>>
>> On Mon, Jul 30, 2007 at 09:02:19AM -0400, Andrew Cagney wrote:
>>     
>>> Pearly,
>>>
>>> The below looks fine.  Will you be around tuesday morning (your time?).  
>>> I'll send you off list some stuff to do with CVS so that you can check this 
>>> in.
>>>
>>> Two things to think about though:
>>>
>>> -> testing;
>>> When making fixes we all endeavor to author the test-case up-front so that 
>>> we can directly demonstrate that the change has the intended effect.
>>>
>>> -> it looks like there is much code duplication between the Disassembler 
>>> and Memory windows;
>>> an opportunity to refactor?
>>>       

  reply	other threads:[~2007-07-30 15:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27  2:16 Zhao Shujing
2007-07-30 13:02 ` Andrew Cagney
2007-07-30 14:39   ` Kris Van Hees
2007-07-30 15:10     ` Kris Van Hees
2007-07-30 15:38       ` Andrew Cagney [this message]
2007-07-30 15:48         ` Sami Wagiaalla
2007-07-30 16:20         ` Sami Wagiaalla
2007-07-30 15:18     ` Andrew Cagney
2007-07-30 17:26   ` Elena Zannoni
2007-07-31 10:24     ` Mark Wielaard

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=46AE05F6.8050203@redhat.com \
    --to=cagney@redhat.com \
    --cc=frysk@sourceware.org \
    --cc=kris.van.hees@oracle.com \
    --cc=pearly.zhao@oracle.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 read-only IMAP folder(s) and NNTP newsgroup(s).