From: Daniel Jacobowitz <drow@mvista.com>
To: Fernando Nasser <fnasser@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: RFC: Additional testsuite alternative
Date: Thu, 26 Sep 2002 13:25:00 -0000 [thread overview]
Message-ID: <20020926202541.GA1899@nevyn.them.org> (raw)
In-Reply-To: <3D936C24.3070709@redhat.com>
On Thu, Sep 26, 2002 at 04:20:52PM -0400, Fernando Nasser wrote:
> Daniel,
>
> I don't think something like this would be of general use. The .exp
> files have the full power of a script language and nothing can beat
> that. Compiler tests are pretty much different from debugger tests,
> because debuggers are interactive beasts.
>
> But as a special harness to drive C++ tests I think it is a good idea.
> The majority of tests deal with checking for some formatted output of a
> C++ construct and maybe the full power of scripting is not needed.
> Maybe it can even be adapted to other languages where what is being
> tested is of similar nature. There is a precedent already in that the
> gdbtk tests use their own spec files (.test).
>
> Anyway, I suggest that you do not try and make it too general, but just
> something that is capable of simplifying these types of C++ tests. Use
> .exp for the non-trivial tests.
OK... I may just use it for type formatting for now, then. That's and
simple expression printing is what it is best suited for.
> One more question: You still need a minimum .exp file, I believe, which
> is what runtest will find and try to run. It is also part of what
> identify tests in the results and so one.
Yeah. I've been just using the harness as the .exp file; I'll keep it
that way for now unless this is needed somewhere else.
I'll submit the harness in a couple of days then.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-09-26 20:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-16 12:25 Daniel Jacobowitz
2002-09-26 11:21 ` Daniel Jacobowitz
2002-09-26 12:51 ` David Carlton
2002-09-26 13:22 ` Fernando Nasser
2002-09-26 13:25 ` Daniel Jacobowitz [this message]
2002-09-26 14:05 ` Jim Blandy
2002-09-26 14:09 ` Daniel Jacobowitz
2002-09-26 13:47 ` Andrew Cagney
2002-09-26 13:57 ` Daniel Jacobowitz
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=20020926202541.GA1899@nevyn.them.org \
--to=drow@mvista.com \
--cc=fnasser@redhat.com \
--cc=gdb@sources.redhat.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