OSDN Git Service

* gdb.base/fileio.exp: Run only on remote targets.
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 12 Jun 2003 09:49:05 +0000 (09:49 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 12 Jun 2003 09:49:05 +0000 (09:49 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/fileio.exp

index 50b969c..1a0f779 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-12  Corinna Vinschen  <vinschen@redhat.com>
+
+       * gdb.base/fileio.exp: Run only on remote targets.
+
 2003-06-10  Corinna Vinschen  <vinschen@redhat.com>
 
        * gdb.base/fileio.c: New file, testing File-I/O.
index e7e61d5..49e8c38 100644 (file)
@@ -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."
 }