This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfa/testsuite] gdb_suppress_entire_file if not supported
- To: gdb-patches at sources dot redhat dot com
- Subject: [rfa/testsuite] gdb_suppress_entire_file if not supported
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 08 Nov 2001 23:36:23 -0500
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"