global gdb_cmd # pylint: disable=global-statement
gdb_cmd = parsed.gdb
- todo = [("ExamineTarget", ExamineTarget)]
+ todo = []
+ if (parsed.misa):
+ self.target.misa = parsed.misa
+ else:
+ todo.append(("ExamineTarget", ExamineTarget))
+
for name in dir(module):
definition = getattr(module, name)
if type(definition) == type and hasattr(definition, 'test') and \
help="Run only tests that are named here.")
parser.add_argument("--gdb",
help="The command to use to start gdb.")
+ parser.add_argument("--misa", "-m",
+ help="Don't run ExamineTarget, just assume the misa which is specified.")
def header(title, dash='-'):
if title: