Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: Stan Shebs <shebs@apple.com>
Cc: Elena Zannoni <ezannoni@redhat.com>,
	gdb@sources.redhat.com, Andrew Cagney <cagney@cygnus.com>
Subject: Re: Adding target specific tests
Date: Sun, 28 Apr 2002 09:39:00 -0000	[thread overview]
Message-ID: <3CCC24DB.A37605D5@redhat.com> (raw)
In-Reply-To: <3CC9B863.6AABD20C@apple.com>

Stan Shebs wrote:
> 
> Elena Zannoni wrote:
> >
> > I am about to add 2 new testfiles to the gdb testsuite. Both are
> > specific to Altivec. One is a generic test for the ABI (function calls
> > and return values), the other deals with the AltiVec registers.
> >
> > Where should I put them?
> 
> I would suggest a gdb.arch or gdb.target for random target
> specific tests, and put the altivec tests directly in it,
> unless you anticipate scores or hundreds of altivec test
> files a la gdb.hp.
> 

That is not a bad idea.  I liked the gdb.altivec one because 
we could configure or not that directory, but we can perhaps do
the same with the files in a gdb.target (or gdb.arch) directory.

I would like to configure them out to avoid lots of 
UNSUPPORTED tests.  I would add a guard (testing for the 
right target) anyway.

P.S.: Question: how would the GDB testsuite handle multiarched
targets?  We will need to "set arch" to one architecture, run
the tests, set arch to another, re-run the tests (all?).
I guess our tests for target will have to stop being on a
configuration triplet and start using a gdb command to set
the arch and confirm that it is available).  All the 
xfail/kfail mechanism would have to change as well...

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


  reply	other threads:[~2002-04-28 16:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26 11:19 Elena Zannoni
2002-04-26 13:28 ` Stan Shebs
2002-04-28  9:39   ` Fernando Nasser [this message]
2002-04-29 15:08     ` Elena Zannoni
2002-04-26 11:54 Michael Elizabeth Chastain
2002-04-28  9:10 ` Eli Zaretskii

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=3CCC24DB.A37605D5@redhat.com \
    --to=fnasser@redhat.com \
    --cc=cagney@cygnus.com \
    --cc=ezannoni@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=shebs@apple.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