Add test case for `riscv expose_custom`.
[riscv-tests.git] / debug / targets / RISC-V / spike64-2.py
index f2e0a8a7af89cc190b432f6a94b3b3400711fbfe..23ae06b6b1dce5b97030cd538f318965952c6ac8 100644 (file)
@@ -5,7 +5,9 @@ import spike64  # pylint: disable=import-error
 
 class spike64_2(targets.Target):
     harts = [spike64.spike64_hart(), spike64.spike64_hart()]
-    openocd_config_path = "spike.cfg"
+    openocd_config_path = "spike-2.cfg"
+    timeout_sec = 60
+    implements_custom_test = True
 
     def create(self):
-        return testlib.Spike(self)
+        return testlib.Spike(self, isa="RV64IMAFD")