[PATCH] fileio.exp

Corinna Vinschen vinschen@redhat.com
Thu Jun 12 09:50:00 GMT 2003


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



More information about the Gdb-patches mailing list