aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2015-12-14 15:02:59 -0800
committerSandra Loosemore <sandra@codesourcery.com>2015-12-14 15:02:59 -0800
commit87a3a92c46c770e6aa2ca1209f46af16eae2c4e9 (patch)
tree20befb6166c28a18b2fe0a63829e3c964daa7d3e /gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.exp
parentTarget remote mode fork and exec event documentation (diff)
downloadbinutils-gdb-87a3a92c46c770e6aa2ca1209f46af16eae2c4e9.tar.gz
binutils-gdb-87a3a92c46c770e6aa2ca1209f46af16eae2c4e9.tar.bz2
binutils-gdb-87a3a92c46c770e6aa2ca1209f46af16eae2c4e9.zip
Skip tests that send ctrl-c to GDB if nointerrupts target property is set.
2015-12-14 Sandra Loosemore <sandra@codesourcery.com> gdb/testsuite/ * gdb.base/completion.exp: Skip tests that interrupt GDB with ctrl-C if nointerrupts target property is set. * gdb.base/double-prompt-target-event-error.exp: Likewise. * gdb.base/paginate-after-ctrl-c-running.exp: Likewise. * gdb.base/paginate-bg-execution.exp: Likewise. * gdb.base/paginate-execution-startup.exp: Likewise. * gdb.base/random-signal.exp: Likewise. * gdb.base/range-stepping.exp: Likewise. * gdb.cp/annota2.exp: Likewise. * gdb.cp/annota3.exp: Likewise. * gdb.gdb/selftest.exp: Likewise. * gdb.threads/continue-pending-status.exp: Likewise. * gdb.threads/leader-exit.exp: Likewise. * gdb.threads/manythreads.exp: Likewise. * gdb.threads/pthreads.exp: Likewise. * gdb.threads/schedlock.exp: Likewise. * gdb.threads/sigthread.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.exp')
-rw-r--r--gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.exp b/gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.exp
index d721990a44d..aae31226b01 100644
--- a/gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.exp
+++ b/gdb/testsuite/gdb.base/paginate-after-ctrl-c-running.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 paginate-after-ctrl-c-running.exp because of nointerrupts."
+ return
+}
+
standard_testfile
if {[build_executable "failed to prepare" $testfile $srcfile debug] == -1} {