* gdb.base/fileio.exp: Run only on remote targets.

This commit is contained in:
Corinna Vinschen 2003-06-12 09:49:05 +00:00
parent 2593f09acc
commit 1bcdb42447
2 changed files with 9 additions and 0 deletions

View 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.

View 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."
}