Added a test for the nm tool.
This commit is contained in:
parent
54206f3ffc
commit
9e291a2200
5 changed files with 7 additions and 0 deletions
BIN
golden-files/input/libieee.a
Normal file
BIN
golden-files/input/libieee.a
Normal file
Binary file not shown.
BIN
golden-files/input/libpcprofile.so
Normal file
BIN
golden-files/input/libpcprofile.so
Normal file
Binary file not shown.
1
golden-files/results/nm-libieee_a
Normal file
1
golden-files/results/nm-libieee_a
Normal file
|
|
@ -0,0 +1 @@
|
|||
00000000 D _LIB_VERSION
|
||||
1
golden-files/results/nm-libpcprofile_so
Normal file
1
golden-files/results/nm-libpcprofile_so
Normal file
|
|
@ -0,0 +1 @@
|
|||
nm: ./input/libpcprofile.so: no symbols
|
||||
|
|
@ -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)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue