Fix gdb.multi/multi-arch-exec.exp blocking under high load/slow gdb
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 9 Feb 2019 10:43:35 +0000 (11:43 +0100)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Thu, 28 Mar 2019 20:15:20 +0000 (21:15 +0100)
commit80047cfc27459d4d31fe275ddd02231d812ddb61
tree7ebbd593912e9142e1c2b3e2e332c00f14da04c3
parent65d2b333a830b3f36c8b7ae9d9ed6c77f8be9270
Fix gdb.multi/multi-arch-exec.exp blocking under high load/slow gdb

When running multi-arch-exec.exp under valgrind, the test succeeds
when the machine is not loaded, but blocks when the machine is highly
loaded (e.g. when running the testsuite with valgrind with -j X
where X is one more than the nr of available cores).

The problem is that the hello program dies too early due to the alarm (30).

So, increase the alarm timer.
Note that this does not make the test take longer (it takes about
3.5 seconds on my system).  As I understand, the alarm is just there
to avoid hello staying there forever in case of another problem.

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

* gdb.multi/hello.c (main): Increase alarm timer.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.multi/hello.c
This page took 0.031347 seconds and 4 git commands to generate.