diff options
author | Anatoly Parshintsev <114445139+aap-sc@users.noreply.github.com> | 2024-05-01 23:09:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 13:09:09 -0700 |
commit | 1dde0ef3bee0d3f86c6f41796f28625924dc6ba0 (patch) | |
tree | ade9fafdcdfe4b0c524e13aeb66ae4a44a13984d /debug/targets/RISC-V/spike64-2-hwthread.py | |
parent | 6b1d7372d951ed75811e0a09c0fe9e065c141c2d (diff) | |
download | riscv-tests-1dde0ef3bee0d3f86c6f41796f28625924dc6ba0.zip riscv-tests-1dde0ef3bee0d3f86c6f41796f28625924dc6ba0.tar.gz riscv-tests-1dde0ef3bee0d3f86c6f41796f28625924dc6ba0.tar.bz2 |
[debug tests] increase remotetimeout for all spike-based targets (#553)
Spike simulator is very demanding to CPU resources. This causes debug
tests to sporadically fail on slower machines. Increasing of gdb's
`remotetimeout` should get rid of such failures, unless we run the
testsuite on a potato.
The only downside is that if OpenOCD is broken, tests can run longer.
However, I think this is the sacrifice we can make, since execution time
is not affected if everything works as expected.
Diffstat (limited to 'debug/targets/RISC-V/spike64-2-hwthread.py')
-rw-r--r-- | debug/targets/RISC-V/spike64-2-hwthread.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/debug/targets/RISC-V/spike64-2-hwthread.py b/debug/targets/RISC-V/spike64-2-hwthread.py index d1d2bf7..4d6e4ba 100644 --- a/debug/targets/RISC-V/spike64-2-hwthread.py +++ b/debug/targets/RISC-V/spike64-2-hwthread.py @@ -7,9 +7,7 @@ class spike64_2(targets.Target): harts = [spike64.spike64_hart(misa=0x8000000000341129), spike64.spike64_hart(misa=0x8000000000341129)] openocd_config_path = "spike-2-hwthread.cfg" - # Increased timeout because we use abstract_rti to artificially slow things - # down. - timeout_sec = 20 + timeout_sec = 180 implements_custom_test = True support_hasel = False support_memory_sampling = False # Needs SBA |