Add block test.
[riscv-tests.git] / debug / testlib.py
index e7397b2891be119b697e088a3932c6f4a898b9e1..bb604a7dcf4928f55dee37b91642c3c0c3a4faef 100644 (file)
@@ -145,10 +145,12 @@ class Gdb(object):
         return value
 
     def stepi(self):
-        return self.command("stepi")
+        output = self.command("stepi")
+        assert "Cannot" not in output
+        return output
 
     def load(self):
-        output = self.command("load")
+        output = self.command("load", timeout=120)
         assert "failed" not in  output
         assert "Transfer rate" in output