Added tests for object file tools. (".o")

This commit is contained in:
Andrew Hamilton 2016-02-09 22:46:14 +00:00
parent f686497d55
commit 54206f3ffc
6 changed files with 81 additions and 5 deletions

View file

@ -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)])