Skip GDB test reconnect-ctrl-c.exp if nointerrupts is set.
authorSandra Loosemore <sandra@codesourcery.com>
Sun, 4 Aug 2019 21:34:31 +0000 (14:34 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Sun, 4 Aug 2019 21:34:31 +0000 (14:34 -0700)
2019-08-04  Sandra Loosemore  <sandra@codesourcery.com>

gdb/testsuite/
* gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.server/reconnect-ctrl-c.exp

index b4c834d84e993be45c8f9d8da355a13e891ca7c7..fe156eaeaca8ef667c0b55da01c73bd15ef01d09 100644 (file)
@@ -1,3 +1,7 @@
+2019-08-04  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
+
 2019-08-04  Sandra Loosemore  <sandra@codesourcery.com>
 
        * lib/completion-support.exp (test_gdb_complete_none): Skip
index af77428e5dd6ab9d5531c05d0ecac6dc21066064..519ee1ae8577f9d21504c50c87dbf413fdf9a3b4 100644 (file)
@@ -24,6 +24,11 @@ if { [skip_gdbserver_tests] } {
     return -1
 }
 
+if [target_info exists gdb,nointerrupts] {
+    verbose "Skipping reconnect-ctrl-c.exp because of nointerrupts."
+    continue
+}
+
 standard_testfile
 if [prepare_for_testing "failed to prepare" $testfile $srcfile] {
     return -1