Added tests for object file tools. (".o")
This commit is contained in:
parent
f686497d55
commit
54206f3ffc
6 changed files with 81 additions and 5 deletions
|
|
@ -140,6 +140,12 @@ class ToolsTestCase(unittest.TestCase):
|
|||
self._sub_tests([(tools.splint, "hello.c", tools.Status.ok),
|
||||
(tools.splint, "hello.h", tools.Status.ok)])
|
||||
|
||||
def test_object_file_tools(self):
|
||||
self._sub_tests([
|
||||
(tools.objdump_headers, "Mcrt1.o", tools.Status.normal),
|
||||
(tools.objdump_disassemble, "Mcrt1.o", tools.Status.problem),
|
||||
(tools.readelf, "Mcrt1.o", tools.Status.normal)])
|
||||
|
||||
def test_unzip(self):
|
||||
self._sub_tests([
|
||||
(tools.unzip, "hi.zip", tools.Status.normal)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue