[tools] Added clang syntax tools.
This commit is contained in:
parent
8f39ecf2ce
commit
2b08e4d490
5 changed files with 22 additions and 4 deletions
|
|
@ -156,6 +156,9 @@ class ToolsTestCase(unittest.TestCase):
|
|||
def test_c_syntax_gcc(self):
|
||||
self._test_tool(tools.c_syntax_gcc, [("hello.c", tools.Status.ok)])
|
||||
|
||||
def test_c_syntax_clang(self):
|
||||
self._test_tool(tools.c_syntax_clang, [("hello.c", tools.Status.ok)])
|
||||
|
||||
def test_splint(self):
|
||||
self._test_tool(tools.splint, [("hello.c", tools.Status.ok),
|
||||
("hello.h", tools.Status.ok)])
|
||||
|
|
@ -200,6 +203,9 @@ class ToolsTestCase(unittest.TestCase):
|
|||
def test_cpp_syntax_gcc(self):
|
||||
self._test_tool(tools.cpp_syntax_gcc, [("hello.cpp", tools.Status.ok)])
|
||||
|
||||
def test_cpp_syntax_clang(self):
|
||||
self._test_tool(tools.cpp_syntax_clang, [("hello.cpp", tools.Status.ok)])
|
||||
|
||||
def test_bcpp(self):
|
||||
self._test_tool(tools.bcpp, [("hello.cpp", tools.Status.normal)])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue