This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] fileio.exp
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 12 Jun 2003 11:50:25 +0200
- Subject: [PATCH] fileio.exp
- Reply-to: gdb-patches at sources dot redhat dot com
FYI,
Corinna
* gdb.base/fileio.exp: Run only on remote targets.
Index: gdb.base/fileio.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/fileio.exp,v
retrieving revision 1.1
diff -u -p -r1.1 fileio.exp
--- gdb.base/fileio.exp 10 Jun 2003 14:38:04 -0000 1.1
+++ gdb.base/fileio.exp 12 Jun 2003 09:48:25 -0000
@@ -32,6 +32,11 @@ set testfile "fileio"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
+# test only on a remote target board
+if {! [is_remote target]} {
+ return 0;
+}
+
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com