Add test case for `riscv expose_custom`.
[riscv-tests.git] / debug / targets / RISC-V / spike64-2.py
index c6321dcebb2e4e5be1baa9dcffd92d21f09d74ac..23ae06b6b1dce5b97030cd538f318965952c6ac8 100644 (file)
@@ -5,8 +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"
-    timeout_sec = 30
+    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")