public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: ACATS legal status cleared by FSF
@ 2001-12-07  3:18 Richard Kenner
  2001-12-07  4:20 ` ACATS B tests guerby
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Kenner @ 2001-12-07  3:18 UTC (permalink / raw)
  To: zack; +Cc: gcc

    This is all fair.  How about a compromise position where you check the
    B tests into the CVS tree but don't bother adding dejagnu harnesses
    for them.  They are then instantly available if they are needed.

The issue is the *baselines*, not either the B tests themselves or the
test harness.  They must be checked in *and* actively maintained if
they are to be "instantly available".

One possibility is to run the B tests in a non-conventional way, where all
the test harness does is to check for the presence of at least one
error line for each line marked ERROR.  I don't know how hard such a
harness is to write, and that's not the way B tests are usually done, but
might work.

That would just leave the issue of splits, not baselines, and those change
less often.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re:  ACATS B tests
@ 2001-12-07  4:29 Richard Kenner
  2001-12-07  4:55 ` guerby
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Kenner @ 2001-12-07  4:29 UTC (permalink / raw)
  To: guerby; +Cc: gcc

    In particular, just testing that errors are reported on lines flagged
    ERROR will not work for at least half of the tests, if you bother to
    look at the first B test:

OK, I give up.  Why is that?  Is it because the error was supposed to be
on the *previous* line?

BTW, what is your plan with regard to macro substitutions?  I assume you'll
remove the CE tests that need absolute filenames, right?

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re:  ACATS B tests
@ 2001-12-07 18:35 dewar
  0 siblings, 0 replies; 5+ messages in thread
From: dewar @ 2001-12-07 18:35 UTC (permalink / raw)
  To: guerby, kenner; +Cc: gcc

<<OK, I give up.  Why is that?  Is it because the error was supposed to be
on the *previous* line?
>>

Nope. Not necessarily, for example there are cases where the ACVC test
expects the error message on the definition instead of the reference
or vice versa, and there are cases where the ACVC expects a cascaded
error where we deliberately suppress it, and there are cases where
GNAT generates cascaded errors where none are expected etc etc.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-12-08  2:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-07  3:18 ACATS legal status cleared by FSF Richard Kenner
2001-12-07  4:20 ` ACATS B tests guerby
2001-12-07  4:29 Richard Kenner
2001-12-07  4:55 ` guerby
2001-12-07 18:35 dewar

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).