This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[committed] Skip relativedebug.exp test case on nosignals targets
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 8 Mar 2007 19:00:23 +0100 (CET)
- Subject: [committed] Skip relativedebug.exp test case on nosignals targets
Hello,
the test case gdb.base/relativedebug.exp, added by this patch:
http://sourceware.org/ml/gdb-patches/2007-01/msg00278.html
fails on spu-elf, and presumably other targets that do not support signals.
Fixed by skipping the test if gdb,nosignals is set in target_info, just
like all the other signal-related test cases.
Tested on spu-elf, committed to mainline.
Bye,
Ulrich
ChangeLog:
* gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
in target_info.
Index: gdb/testsuite/gdb.base/relativedebug.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/relativedebug.exp,v
retrieving revision 1.1
diff -c -p -r1.1 relativedebug.exp
*** gdb/testsuite/gdb.base/relativedebug.exp 9 Jan 2007 22:43:09 -0000 1.1
--- gdb/testsuite/gdb.base/relativedebug.exp 8 Mar 2007 17:53:02 -0000
***************
*** 14,19 ****
--- 14,24 ----
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ if [target_info exists gdb,nosignals] {
+ verbose "Skipping relativedebug.exp because of nosignals."
+ continue
+ }
+
if $tracelevel then {
strace $tracelevel
}
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com