From db488fc1b2aba317876c90eca1f4e5eb787c4238 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 10 Nov 2003 09:12:20 +0000 Subject: [PATCH] * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio. Don't run tests if nofileio flag is given. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/fileio.exp | 11 +++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 137deabb13..834647cf07 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-11-10 Corinna Vinschen + + * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio. + Don't run tests if nofileio flag is given. + 2003-11-07 Elena Zannoni * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint' diff --git a/gdb/testsuite/gdb.base/fileio.exp b/gdb/testsuite/gdb.base/fileio.exp index 98c64db8bc..128cbb608f 100644 --- a/gdb/testsuite/gdb.base/fileio.exp +++ b/gdb/testsuite/gdb.base/fileio.exp @@ -1,4 +1,4 @@ -# Copyright 2002 +# Copyright 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -20,16 +20,11 @@ # This file was written by Corinna Vinschen -if [target_info exists gdb,nointerrupts] { - verbose "Skipping interrupt.exp because of nointerrupts." +if [target_info exists gdb,nofileio] { + verbose "Skipping fileio.exp because of no fileio capabilities." continue } -if [target_info exists gdb,noinferiorio] { - verbose "Skipping interrupt.exp because of noinferiorio." - return -} - if $tracelevel then { strace $tracelevel }