summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2017-10-06 15:24:01 -0700
committerSandra Loosemore <sandra@codesourcery.com>2017-10-06 15:24:01 -0700
commitb3b7c423883ad8d8b81f166ad2d2d4b637086bc0 (patch)
tree13e9f471733bf4d8bed94c62e3c37b0db2e0b0c1 /gdb/testsuite/gdb.mi
parent544c67cda1686c1b204cb96c0d7885b08d37b8d6 (diff)
Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts.
2017-10-06 Sandra Loosemore <sandra@codesourcery.com> gdb/testsuite/ * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r--gdb/testsuite/gdb.mi/mi-threads-interrupt.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-threads-interrupt.exp b/gdb/testsuite/gdb.mi/mi-threads-interrupt.exp
index ab06837bb2..23ff69e903 100644
--- a/gdb/testsuite/gdb.mi/mi-threads-interrupt.exp
+++ b/gdb/testsuite/gdb.mi/mi-threads-interrupt.exp
@@ -13,6 +13,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+if [target_info exists gdb,nointerrupts] {
+ verbose "Skipping mi-threads-interrupt.exp because of nointerrupts."
+ continue
+}
+
load_lib mi-support.exp
set MIFLAGS "-i=mi"