Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts.
authorSandra Loosemore <sandra@codesourcery.com>
Fri, 6 Oct 2017 22:24:01 +0000 (15:24 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Fri, 6 Oct 2017 22:24:01 +0000 (15:24 -0700)
2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>

gdb/testsuite/
* gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-threads-interrupt.exp

index a9cd060453f31a7c1d13124f13b4968cbcc714a0..e6c0b7f53972bd8c7cc48a54b820c77d4c7c13f0 100644 (file)
@@ -1,3 +1,7 @@
+2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
+
 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
index ab06837bb21d0678cfcfabc7f5671a858f64c765..23ff69e90353a4cffe0994b649b5fe2f4a5a1c14 100644 (file)
 # 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"