Added a test for the nm tool.

This commit is contained in:
Andrew Hamilton 2016-02-09 22:56:36 +00:00
parent 54206f3ffc
commit 9e291a2200
5 changed files with 7 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
00000000 D _LIB_VERSION

View file

@ -0,0 +1 @@
nm: ./input/libpcprofile.so: no symbols

View file

@ -159,6 +159,11 @@ class ToolsTestCase(unittest.TestCase):
self._sub_tests([
(tools.tar_bz2, "hi.tar.bz2", tools.Status.normal)])
def test_nm(self):
self._sub_tests([
(tools.nm, "libieee.a", tools.Status.normal),
(tools.nm, "libpcprofile.so", tools.Status.normal)])
def test_html_syntax(self):
self._sub_tests([
(tools.html_syntax, "hi.html", tools.Status.problem)])