This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts.
- From: Sandra Loosemore <sandra at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 6 Oct 2017 22:25:58 -0000
- Subject: [binutils-gdb] Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b3b7c423883ad8d8b81f166ad2d2d4b637086bc0
commit b3b7c423883ad8d8b81f166ad2d2d4b637086bc0
Author: Sandra Loosemore <sandra@codesourcery.com>
Date: Fri Oct 6 15:24:01 2017 -0700
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.
Diff:
---
gdb/testsuite/ChangeLog | 4 ++++
gdb/testsuite/gdb.mi/mi-threads-interrupt.exp | 5 +++++
2 files changed, 9 insertions(+)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index a9cd060..e6c0b7f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/gdb.mi/mi-threads-interrupt.exp b/gdb/testsuite/gdb.mi/mi-threads-interrupt.exp
index ab06837..23ff69e 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"