From: Jim Blandy Date: Thu, 18 Jul 2002 23:52:49 +0000 (+0000) Subject: * gdb.base/interrupt.exp: Correct logic for skipping tests on X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eecf4bedc4056f0ecb66b870100a2948bdeed0c5;p=binutils-gdb.git * gdb.base/interrupt.exp: Correct logic for skipping tests on targets that don't support interrupts. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bdc0926d14f..e671898b1ba 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-07-18 Jim Blandy + + * gdb.base/interrupt.exp: Correct logic for skipping tests on + targets that don't support interrupts. + 2002-07-10 Paul N. Hilfinger * gdb.base/attach.exp: Add patterns to match output from /proc-based diff --git a/gdb/testsuite/gdb.base/interrupt.exp b/gdb/testsuite/gdb.base/interrupt.exp index fc3a30cc12d..6d5401d71aa 100644 --- a/gdb/testsuite/gdb.base/interrupt.exp +++ b/gdb/testsuite/gdb.base/interrupt.exp @@ -18,11 +18,9 @@ # Please email any bugs, comments, and/or additions to this file to: # bug-gdb@prep.ai.mit.edu -if [host_info exists name] { - if [board_info host exists gdb,nointerrupts] { - verbose "Skipping interrupt.exp because of nointerrupts." - continue - } +if [target_info exists gdb,nointerrupts] { + verbose "Skipping interrupt.exp because of nointerrupts." + continue } if [target_info exists gdb,noinferiorio] {