diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2023-01-13 01:08:43 +0000 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2023-01-13 01:08:43 +0000 |
commit | 66e97803490ef55770cee7db81eade2d05c4ea0a (patch) | |
tree | 96be4a0acb7598455b7f6325fada560d078c49d0 /gcc/gimple-array-bounds.cc | |
parent | ecd637e9761485437498f311ddf09af5286d6d0f (diff) | |
download | gcc-66e97803490ef55770cee7db81eade2d05c4ea0a.zip gcc-66e97803490ef55770cee7db81eade2d05c4ea0a.tar.gz gcc-66e97803490ef55770cee7db81eade2d05c4ea0a.tar.bz2 |
testsuite: extend timeout into all gm2 tests
Add timeout capability to gm2-torture.exp. Also add a simple
gm2_push_timeout/gm2_pop timeout facility and calibrate all
tests to use the default of 10 seconds. 15 seconds (for the
coroutine tests) and 60 seconds for whole program optimization.
gcc/testsuite/ChangeLog:
* gm2/coroutines/pim/run/pass/coroutines-pim-run-pass.exp
(timeout-dg.exp): Load.
Call gm2_push_timeout 15.
Call gm2_pop_timeout at the end.
* gm2/link/min/pass/link-min-pass.exp: Set path
argument to "".
* gm2/switches/whole-program/pass/run/switches-whole-program-pass-run.exp:
Call gm2_push_timeout 60.
Call gm2_pop_timeout at the end.
* lib/gm2-torture.exp (gm2_previous_timeout): Set to 10 or
individual_timeout.
Configure dejagnu to timeout for 10 seconds.
(gm2_push_timeout): New proc.
(gm2_pop_timeout): New proc.
* lib/gm2.exp (gm2_previous_timeout): Set to 10 or
individual_timeout.
Configure dejagnu to timeout for 10 seconds.
(gm2_push_timeout): New proc.
(gm2_pop_timeout): New proc.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions