gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Re: Testing API


From: Rob Savoye
Subject: [Gnash-dev] Re: Testing API
Date: Fri, 04 Jun 2010 08:09:33 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Lightning/1.0b1 Thunderbird/3.0.4

On 06/04/10 07:58, strk wrote:

> Could you please say more about what you don't like about
> the check API ? I said what I like about it. Will repeat it:
> the 'check' API reports both success/failure both
> expected/obtained results in case of failure.

  I dislike the check API for being overly terse. Being the author of
DejaGnu (and the GCC, GDB, Binutils testsuites), I prefer that API of
course. :-) We're not going to depreciate the DejaGnu testing API, so
just get used to it. You don't have to use it, and both APIs co-exist
just fine. The other big point about using the DejaGnu API is that  then
our testsuites automatically support cross testing on embedded
platforms. Although we currently don't use this feature, we could, and
in the future we might.

> In the specific case detected by Ben, if we were using check_equals
> we would see as part of the failure message the results obtained with
> the proprietary player, which should become what we expect.

  Which can be done with the DejaGnu API as well. I'm really into not
arguing about this... Just please accept that we use both APIs, and will
continue to do so.

        - rob -



reply via email to

[Prev in Thread] Current Thread [Next in Thread]