diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-06-12 09:49:05 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-06-12 09:49:05 +0000 |
commit | 1bcdb42447a4a68d7c3837b3852db3fb632e379b (patch) | |
tree | 4f3f24aacfb0999e97931e4886ce0249fa97c05e /gdb/testsuite | |
parent | 2593f09acc1c244047833a192d227de4064c4735 (diff) | |
download | gdb-1bcdb42447a4a68d7c3837b3852db3fb632e379b.zip gdb-1bcdb42447a4a68d7c3837b3852db3fb632e379b.tar.gz gdb-1bcdb42447a4a68d7c3837b3852db3fb632e379b.tar.bz2 |
* gdb.base/fileio.exp: Run only on remote targets.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/fileio.exp | 5 |
2 files changed, 9 insertions, 0 deletions
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 <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. 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." } |