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]

[rfa/testsuite] gdb_suppress_entire_file if not supported


Hello,

The attached changes the gdb.asm testsuite so that it 
``gdb_supress_entire_file'' when the target isn't supported.  That way 
the tests are still run but fail.

Ok?

Andrew
2001-11-08  Andrew Cagney  <ac131313@redhat.com>

	* gdb.asm/asm-source.exp: Supress file, instead of skip, when not
	implemented.

Index: testsuite/gdb.asm/asm-source.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v
retrieving revision 1.4
diff -p -r1.4 asm-source.exp
*** asm-source.exp	2001/11/08 19:06:18	1.4
--- asm-source.exp	2001/11/09 04:34:01
*************** if [istarget "d10v-*-*"] then {
*** 38,45 ****
      set asm-arch d10v
  }
  if { "${asm-arch}" == "" } {
!     verbose "Skipping assembly source test -- not implemented for this target."
!     return 
  }
  
  set testfile "asm-source"
--- 38,44 ----
      set asm-arch d10v
  }
  if { "${asm-arch}" == "" } {
!     gdb_suppress_entire_file "Assembly source test -- not implemented for this target."
  }
  
  set testfile "asm-source"

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