diff options
author | Jim Blandy <jimb@codesourcery.com> | 2002-07-18 23:52:49 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2002-07-18 23:52:49 +0000 |
commit | ec4095133f8e7ed2f59a4faf219f216a82075995 (patch) | |
tree | e75b60b971695c5d7cd91492dad42990123331f9 /gdb/testsuite/gdb.base | |
parent | 5a7c0ab5bf3fb5a2135dbdebe0794f419f5b980c (diff) | |
download | gdb-ec4095133f8e7ed2f59a4faf219f216a82075995.tar.gz |
* gdb.base/interrupt.exp: Correct logic for skipping tests on
targets that don't support interrupts.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/interrupt.exp | 8 |
1 files changed, 3 insertions, 5 deletions
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] { |