From: Elena Zannoni <ezannoni@redhat.com>
To: Fernando Nasser <fnasser@redhat.com>
Cc: Stan Shebs <shebs@apple.com>, Elena Zannoni <ezannoni@redhat.com>,
gdb@sources.redhat.com, Andrew Cagney <cagney@cygnus.com>
Subject: Re: Adding target specific tests
Date: Mon, 29 Apr 2002 15:08:00 -0000 [thread overview]
Message-ID: <15565.50261.162363.800611@localhost.redhat.com> (raw)
In-Reply-To: <3CCC24DB.A37605D5@redhat.com>
Fernando Nasser writes:
> 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.
The altivec tests are enabled only for the altivec triplets.
>
> I would like to configure them out to avoid lots of
> UNSUPPORTED tests. I would add a guard (testing for the
> right target) anyway.
>
Yes, that's what I did.
> 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...
>
Good question. I wonder if we could use something analogous to the
site.exp management of multilibs.
Elena
> --
> Fernando Nasser
> Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
> 2323 Yonge Street, Suite #300
> Toronto, Ontario M4P 2C9
next prev parent reply other threads:[~2002-04-29 22:08 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
2002-04-29 15:08 ` Elena Zannoni [this message]
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=15565.50261.162363.800611@localhost.redhat.com \
--to=ezannoni@redhat.com \
--cc=cagney@cygnus.com \
--cc=fnasser@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