From: Corinna Vinschen Date: Thu, 12 Jun 2003 09:49:05 +0000 (+0000) Subject: * gdb.base/fileio.exp: Run only on remote targets. X-Git-Tag: ezannoni_pie-20030916-branchpoint~1259 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bcdb42447a4a68d7c3837b3852db3fb632e379b;p=platform%2Fupstream%2Fbinutils.git * gdb.base/fileio.exp: Run only on remote targets. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 50b969c..1a0f779 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 e7e61d5..49e8c38 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." }