diff mbox

[RFA,3/3] Fix gdb.multi/multi-term-settings.exp blocking under high load/slow gdb

Message ID 20190323200022.28689-4-philippe.waroquiers@skynet.be
State New
Headers show

Commit Message

Philippe Waroquiers March 23, 2019, 8 p.m. UTC
Similarly to multi-arch-exec.exp, increase the alarm timer to avoid
test blocking under high load or with a slow gdb.

2019-03-23  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

	* gdb.multi/multi-term-settings.c (main): Increase alarm timer.
---
 gdb/testsuite/gdb.multi/multi-term-settings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kevin Buettner March 24, 2019, 10:58 p.m. UTC | #1
On Sat, 23 Mar 2019 21:00:22 +0100
Philippe Waroquiers <philippe.waroquiers@skynet.be> wrote:

> Similarly to multi-arch-exec.exp, increase the alarm timer to avoid
> test blocking under high load or with a slow gdb.
> 
> 2019-03-23  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
> 
> 	* gdb.multi/multi-term-settings.c (main): Increase alarm timer.

Okay.

Kevin
diff mbox

Patch

diff --git a/gdb/testsuite/gdb.multi/multi-term-settings.c b/gdb/testsuite/gdb.multi/multi-term-settings.c
index 6b115cccad..17be6ea4e7 100644
--- a/gdb/testsuite/gdb.multi/multi-term-settings.c
+++ b/gdb/testsuite/gdb.multi/multi-term-settings.c
@@ -31,7 +31,7 @@  main ()
   /* In case we inherit SIG_IGN.  */
   signal (SIGTTOU, SIG_DFL);
 
-  alarm (30);
+  alarm (240);
 
   int count = 0;
   while (1)