This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Skip args test if target doesn't support args


Fairly obvious...
2003-01-29  Michael Snyder  <msnyder@redhat.com>

	* gdb.base/args.exp: Skip if target does not support args passing.

Index: args.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/args.exp,v
retrieving revision 1.2
diff -p -r1.2 args.exp
*** args.exp	16 Jan 2003 01:13:18 -0000	1.2
--- args.exp	29 Jan 2003 23:24:22 -0000
*************** if $tracelevel then {
*** 26,31 ****
--- 26,36 ----
  
  global GDBFLAGS
  
+ # Skip test if target does not support argument passing.
+ if [target_info exists noargs] {
+     return;
+ }
+ 
  set testfile "args"
  set srcfile ${testfile}.c
  set binfile ${objdir}/${subdir}/${testfile}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]