Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] Don't try to run auxv tests in simulator
@ 2006-05-11  9:44 Fred Fish
  2006-05-11 12:41 ` Daniel Jacobowitz
  0 siblings, 1 reply; 6+ messages in thread
From: Fred Fish @ 2006-05-11  9:44 UTC (permalink / raw)
  To: gdb-patches; +Cc: fnf

AFAIK all available simulators don't support auxv info, so trying to
run the auxv tests will fail.  They also need corefile support.

I see that corefile.exp has:

  # are we on a target board
  if ![isnative] then {
      return
  }

which may be too restrictive for auxv.  So I'd propose suppressing the
auxv tests just for simulators, for now at least.

2006-05-11  Fred Fish  <fnf@specifix.com>

	* gdb.base/auxv.exp: Simulators don't support auxv info
	so don't run test if executing in a simulator.

Index: gdb.base/auxv.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/auxv.exp,v
retrieving revision 1.4
diff -u -p -r1.4 auxv.exp
--- gdb.base/auxv.exp	2 May 2005 20:57:30 -0000	1.4
+++ gdb.base/auxv.exp	11 May 2006 09:43:40 -0000
@@ -30,6 +30,12 @@ if $tracelevel then {
 set prms_id 0
 set bug_id 0
 
+# Simulators don't support auxv.
+if [target_info exists is_simulator] {
+    unsupported "auxv tests running in simulator"
+    return
+}
+
 set testfile "auxv"
 set srcfile ${testfile}.c
 set binfile ${objdir}/${subdir}/${testfile}



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

end of thread, other threads:[~2006-05-12 20:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-11  9:44 [RFA] Don't try to run auxv tests in simulator Fred Fish
2006-05-11 12:41 ` Daniel Jacobowitz
2006-05-11 13:13   ` Fred Fish
2006-05-11 13:08     ` Daniel Jacobowitz
2006-05-11 17:38   ` Nathan J. Williams
2006-05-12 20:48   ` Mark Kettenis

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