tools: Dropped splint since its unmaintained and doesn't compile.
This commit is contained in:
parent
b60a8bddae
commit
6f11326fda
5 changed files with 1 additions and 18 deletions
|
|
@ -420,13 +420,6 @@ def perltidy(path):
|
|||
# perl6_syntax.deps={"rakudo"}
|
||||
|
||||
|
||||
@deps(deps={"splint"}, url="splint", executables={"splint"})
|
||||
def splint(path):
|
||||
stdout, stderr, returncode = _do_command(["splint", "-preproc", path])
|
||||
status = Status.ok if returncode == 0 else Status.problem
|
||||
return status, fill3.Text(stdout + stderr)
|
||||
|
||||
|
||||
@deps(deps={"tidy"}, url="tidy", executables={"tidy"})
|
||||
def html_syntax(path):
|
||||
# Maybe only show errors
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ tools_for_extensions = [
|
|||
[["pl", "pm", "t"], ["perl_syntax", "perldoc", "perltidy"]],
|
||||
# [["p6", "pm6"], ["perl6_syntax", "perldoc"]],
|
||||
[["pod", "pod6"], ["perldoc"]], [["java"], ["uncrustify"]],
|
||||
[["c", "h"], ["c_syntax_gcc", "splint", "uncrustify", "cppcheck", "clang_format"]],
|
||||
[["c", "h"], ["c_syntax_gcc", "uncrustify", "cppcheck", "clang_format"]],
|
||||
[["cc", "cpp", "hpp"], ["cpp_syntax_gcc", "bcpp", "uncrustify",
|
||||
"cppcheck", "clang_format"]],
|
||||
[["rb"], ["ruby_syntax"]],
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
Splint 3.1.2 --- 20 Feb 2018
|
||||
|
||||
Finished checking --- no warnings
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Splint 3.1.2 --- 20 Feb 2018
|
||||
|
||||
Finished checking --- no warnings
|
||||
|
|
@ -164,10 +164,6 @@ class ToolsTestCase(unittest.TestCase):
|
|||
def test_c_syntax_gcc(self):
|
||||
self._test_tool(tools.c_syntax_gcc, [("hello.c", tools.Status.ok)])
|
||||
|
||||
def test_splint(self):
|
||||
self._test_tool(tools.splint, [("hello.c", tools.Status.ok),
|
||||
("hello.h", tools.Status.ok)])
|
||||
|
||||
def test_objdump_headers(self):
|
||||
self._test_tool(tools.objdump_headers,
|
||||
[("Mcrt1.o", tools.Status.normal)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue