Add test case for `riscv expose_custom`.
[riscv-tests.git] / debug / targets / RISC-V / spike32-2.py
index 719009dbcf88437eb646528ed24af6d41a4c5eb8..6c90b7c87f808d9b2a229072417365e3a67357b1 100644 (file)
@@ -7,6 +7,7 @@ class spike32_2(targets.Target):
     harts = [spike32.spike32_hart(), spike32.spike32_hart()]
     openocd_config_path = "spike-2.cfg"
     timeout_sec = 30
+    implements_custom_test = True
 
     def create(self):
-        return testlib.Spike(self)
+        return testlib.Spike(self, isa="RV32IMAFC", progbufsize=0)