aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2021-01-07 16:12:14 -0800
committerGitHub <noreply@github.com>2021-01-07 16:12:14 -0800
commitcd6ebbc31cea80d396b8d6ecaebf96925a8937aa (patch)
treea88368f6d1bc46969e22558e30ce54101f87dddf
parent363e5cf20ec969e983f4ea1d86ab77838df122e3 (diff)
downloadriscv-tests-cd6ebbc31cea80d396b8d6ecaebf96925a8937aa.zip
riscv-tests-cd6ebbc31cea80d396b8d6ecaebf96925a8937aa.tar.gz
riscv-tests-cd6ebbc31cea80d396b8d6ecaebf96925a8937aa.tar.bz2
Park other harts in TranslateTest. (#313)
This fixes an intermitten failure when running these tests.
-rwxr-xr-xdebug/gdbserver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/gdbserver.py b/debug/gdbserver.py
index 314a775..768c4c4 100755
--- a/debug/gdbserver.py
+++ b/debug/gdbserver.py
@@ -1563,6 +1563,7 @@ class TranslateTest(GdbTest):
self.disable_pmp()
self.gdb.load()
+ self.parkOtherHarts()
self.gdb.b("main")
output = self.gdb.c()
assertRegex(output, r"\bmain\b")