From 66fa38add7864551b7b5f5c1f682e5675f7668a1 Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Wed, 12 Jul 2017 18:44:41 -0700 Subject: [PATCH] riscv-compliance: Halt harts again at the end of the test. --- src/target/riscv/riscv-013.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 1c49b3fe3..336295e51 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -2535,6 +2535,9 @@ int riscv013_test_compliance(struct target *target) { // DCSR.ebreak // DCSR.prv + /* Halt every hart for any follow-up tests*/ + riscv_halt_all_harts(target); + LOG_INFO("PASSED %d of %d TESTS\n", passed_tests, total_tests); if (total_tests == passed_tests) {