aboutsummaryrefslogtreecommitdiff
path: root/debug/targets/RISC-V/spike64-2.py
diff options
context:
space:
mode:
authorAnatoly Parshintsev <114445139+aap-sc@users.noreply.github.com>2024-05-01 23:09:09 +0300
committerGitHub <noreply@github.com>2024-05-01 13:09:09 -0700
commit1dde0ef3bee0d3f86c6f41796f28625924dc6ba0 (patch)
treeade9fafdcdfe4b0c524e13aeb66ae4a44a13984d /debug/targets/RISC-V/spike64-2.py
parent6b1d7372d951ed75811e0a09c0fe9e065c141c2d (diff)
downloadriscv-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.py')
-rw-r--r--debug/targets/RISC-V/spike64-2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/targets/RISC-V/spike64-2.py b/debug/targets/RISC-V/spike64-2.py
index e4c7524..ea31636 100644
--- a/debug/targets/RISC-V/spike64-2.py
+++ b/debug/targets/RISC-V/spike64-2.py
@@ -7,7 +7,7 @@ class spike64_2(targets.Target):
harts = [spike64.spike64_hart(misa=0x8000000000141129),
spike64.spike64_hart(misa=0x8000000000141129)]
openocd_config_path = "spike-2.cfg"
- timeout_sec = 5
+ timeout_sec = 180
implements_custom_test = True
support_memory_sampling = False # Needs SBA
support_unavailable_control = True