Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Question re: testsuite, "isnative", "is_remote" etc.
@ 2011-01-12 23:14 Michael Snyder
  2011-01-12 23:19 ` Joel Brobecker
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Michael Snyder @ 2011-01-12 23:14 UTC (permalink / raw)
  To: gdb

What's the recommended way of skipping a test case if it shouldn't run 
remotely?

I see a lot of tests that use "if not isnative", but that surely isn't 
right, since that test only compares the host and target board names.

Then there is a test called is_remote, but that mostly does the same 
thing, except it also tests a board variable called "isremote", which is 
only true if you happen to remember to set it in your board file.

I'm thinking that there should be some test that checks for
"use_gdb_stub" or "gdb_protocol".  But of course you have to set those 
in your board file too.

What's the right answer?   ;-/


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

end of thread, other threads:[~2011-01-14  1:26 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-12 23:14 Question re: testsuite, "isnative", "is_remote" etc Michael Snyder
2011-01-12 23:19 ` Joel Brobecker
2011-01-12 23:20 ` Joel Brobecker
2011-01-12 23:23   ` Michael Snyder
     [not found]     ` <AANLkTi=R-L9-=O6cWW_aTBAoZFmmo_MMB57g2HZy85je@mail.gmail.com>
2011-01-13 18:27       ` Michael Snyder
2011-01-13 18:37         ` Joel Brobecker
2011-01-13 18:51           ` Michael Snyder
2011-01-13 18:40 ` Nathan Froyd
2011-01-13 19:04   ` Michael Snyder
2011-01-13 19:32     ` Joel Brobecker
2011-01-13 19:54       ` Michael Snyder
2011-01-13 20:53         ` Joel Brobecker
2011-01-13 20:59           ` Michael Snyder
2011-01-13 21:00             ` Nathan Froyd
2011-01-14  1:26               ` Michael Snyder
2011-01-13 21:27             ` Joel Brobecker
2011-01-13 21:29               ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox