This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Skip args test if target doesn't support args
- From: Michael Snyder <msnyder at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 29 Jan 2003 15:26:46 -0800
- Subject: [commit] Skip args test if target doesn't support args
- Organization: Red Hat, Inc.
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}