From f0cd0c7c7e91a47b2bdf94207f2d82f06f7f406b Mon Sep 17 00:00:00 2001 From: Julian Ganz Date: Sat, 27 Dec 2025 09:53:46 +0100 Subject: [PATCH] tests: fix comment declaring runtime in rv64 interruptedmemory test The test attempts to trigger a regression for arount 30s. However, a comment just before the computation of the target wall clock time falsly declares the run time to be around 60s. This was the case already when we introduced the test in 5241645c47a9987f4fcc65bab303a444966b7942 (tests: add test with interrupted memory accesses on rv64) Signed-off-by: Julian Ganz Reviewed-by: Daniel Henrique Barboza Signed-off-by: Michael Tokarev --- tests/tcg/riscv64/interruptedmemory.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tcg/riscv64/interruptedmemory.S b/tests/tcg/riscv64/interruptedmemory.S index cd9073ee31..c154f93839 100644 --- a/tests/tcg/riscv64/interruptedmemory.S +++ b/tests/tcg/riscv64/interruptedmemory.S @@ -25,7 +25,7 @@ _start: li a0, 0x03 # 8N1, DLAB=0 sb a0, 3(t1) - # Run test for around 60s + # Run test for around 30s call rtc_get li t0, 30 slli t0, t0, 30 # Approx. 10e9 ns