From 1bcdb42447a4a68d7c3837b3852db3fb632e379b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 12 Jun 2003 09:49:05 +0000 Subject: [PATCH] * gdb.base/fileio.exp: Run only on remote targets. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/fileio.exp | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 50b969ce599..1a0f779a59c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-06-12 Corinna Vinschen + + * gdb.base/fileio.exp: Run only on remote targets. + 2003-06-10 Corinna Vinschen * gdb.base/fileio.c: New file, testing File-I/O. diff --git a/gdb/testsuite/gdb.base/fileio.exp b/gdb/testsuite/gdb.base/fileio.exp index e7e61d53f19..49e8c384611 100644 --- a/gdb/testsuite/gdb.base/fileio.exp +++ b/gdb/testsuite/gdb.base/fileio.exp @@ -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." } -- 2.30.2