* New files checked in.
@ 1999-03-14 9:05 Anthony Green
1999-04-01 0:00 ` Anthony Green
1999-04-01 4:02 ` Andrew Haley
0 siblings, 2 replies; 3+ messages in thread
From: Anthony Green @ 1999-03-14 9:05 UTC (permalink / raw)
To: mauve-discuss
I've checked in a few of the new tests from HP. Andrew Haley did the
initial conversion to make them work in our framework.
If you run them, you'll see that the test count isn't significantly
higher than before. It has to do with how the tests are counted.
Their code tries all kinds of things and only register failures when
they happen, whereas we like to keep track of `passes' as well. My
hope is that that these files will slowly migrate over to using the
harness.check methods rather than just harness.fail. If anyone feels
inspired, that would be very helpful.
There's plenty more to say, but I have to run. More later.
AG
--
Anthony Green Cygnus Solutions
Sunnyvale, California
^ permalink raw reply [flat|nested] 3+ messages in thread
* New files checked in.
1999-03-14 9:05 New files checked in Anthony Green
@ 1999-04-01 0:00 ` Anthony Green
1999-04-01 4:02 ` Andrew Haley
1 sibling, 0 replies; 3+ messages in thread
From: Anthony Green @ 1999-04-01 0:00 UTC (permalink / raw)
To: mauve-discuss
I've checked in a few of the new tests from HP. Andrew Haley did the
initial conversion to make them work in our framework.
If you run them, you'll see that the test count isn't significantly
higher than before. It has to do with how the tests are counted.
Their code tries all kinds of things and only register failures when
they happen, whereas we like to keep track of `passes' as well. My
hope is that that these files will slowly migrate over to using the
harness.check methods rather than just harness.fail. If anyone feels
inspired, that would be very helpful.
There's plenty more to say, but I have to run. More later.
AG
--
Anthony Green Cygnus Solutions
Sunnyvale, California
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New files checked in.
1999-03-14 9:05 New files checked in Anthony Green
1999-04-01 0:00 ` Anthony Green
@ 1999-04-01 4:02 ` Andrew Haley
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Haley @ 1999-04-01 4:02 UTC (permalink / raw)
To: mauve-discuss
> Date: Sun, 14 Mar 1999 09:05:45 -0800
> From: Anthony Green <green@cygnus.com>
>
> I've checked in a few of the new tests from HP. Andrew Haley did the
> initial conversion to make them work in our framework.
>
> If you run them, you'll see that the test count isn't significantly
> higher than before. It has to do with how the tests are counted.
> Their code tries all kinds of things and only register failures when
> they happen, whereas we like to keep track of `passes' as well. My
> hope is that that these files will slowly migrate over to using the
> harness.check methods rather than just harness.fail. If anyone feels
> inspired, that would be very helpful.
I've converted every instance of
if (testcase)
harness.fail ("Error");
to
harness.check (!(testcase),
"Error");
I did this automatically and have not attempted to rationalize any of
the tests. This means that you'll see a lot of things like
harness.check(!( !nan.isNaN())
but at least you'll now get a more accurate count of test passes.
This doesn't work in every case, because there are many instances of
things like
try {
testcase;
}
catch ( Exception e )
{
harness.fail("Error");
}
and
if (testcase)
{
System.out.print (diagnostic);
harness.fail("Error");
}
which do not easily fit into the harness.check() way of doing things.
Andrew.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-04-01 4:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-14 9:05 New files checked in Anthony Green
1999-04-01 0:00 ` Anthony Green
1999-04-01 4:02 ` Andrew Haley
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).