* [RFA]: Don't execute gdb.mi/mi-syn-frame.exp when gdb,nosignals
@ 2003-02-23 20:48 Stephane Carrez
2003-02-24 7:23 ` Andrew Cagney
0 siblings, 1 reply; 2+ messages in thread
From: Stephane Carrez @ 2003-02-23 20:48 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]
Hi!
The test mi-syn-frame.exp uses signals (signal, alarm, sleep, SIGALRM) but signals
are not always available.
Can you approve this patch to test gdb,nosignals and avoid executing this test?
(see gdb.base/signals.exp which does the same)
Thanks,
Stephane
2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
* mi-syn-frame.exp: Don't run this test when gdb,nosignals is set.
[-- Attachment #2: mi-syn-frame.exp.diffs --]
[-- Type: text/plain, Size: 910 bytes --]
Index: testsuite/gdb.mi/mi-syn-frame.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-syn-frame.exp,v
retrieving revision 1.1
diff -u -p -r1.1 mi-syn-frame.exp
--- testsuite/gdb.mi/mi-syn-frame.exp 2 Feb 2003 05:51:09 -0000 1.1
+++ testsuite/gdb.mi/mi-syn-frame.exp 23 Feb 2003 20:43:45 -0000
@@ -1,4 +1,4 @@
-# Copyright 2002 Free Software Foundation, Inc.
+# Copyright 2002, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,6 +19,11 @@
# Test MI output with synthetic frames on the stack (call dummies,
# signal handlers).
+
+if [target_info exists gdb,nosignals] {
+ verbose "Skipping mi-syn-frame.exp because of nosignals."
+ continue
+}
load_lib mi-support.exp
set MIFLAGS "-i=mi"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-24 7:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-23 20:48 [RFA]: Don't execute gdb.mi/mi-syn-frame.exp when gdb,nosignals Stephane Carrez
2003-02-24 7:23 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox