Exempt WebAssembly tools, since not yet in Ubuntu.
This commit is contained in:
parent
057e21869a
commit
b0768a0467
2 changed files with 6 additions and 4 deletions
|
|
@ -19,7 +19,7 @@ tools_for_extensions = [
|
||||||
[["php"], ["php7_syntax"]],
|
[["php"], ["php7_syntax"]],
|
||||||
[["go"], ["go_vet", "golint", "godoc"]],
|
[["go"], ["go_vet", "golint", "godoc"]],
|
||||||
[["bash", "sh", "dash", "ksh"], ["shellcheck"]],
|
[["bash", "sh", "dash", "ksh"], ["shellcheck"]],
|
||||||
[["wasm"], ["wasm-validate", "wasm-objdump"]],
|
[["wasm"], ["wasm_validate", "wasm_objdump"]],
|
||||||
[["pdf"], ["pdf2txt"]],
|
[["pdf"], ["pdf2txt"]],
|
||||||
[["html", "htm"], ["html_syntax", "html2text", "pandoc"]],
|
[["html", "htm"], ["html_syntax", "html2text", "pandoc"]],
|
||||||
[["yaml", "yml"], ["yamllint"]],
|
[["yaml", "yml"], ["yamllint"]],
|
||||||
|
|
@ -234,12 +234,12 @@ tools_for_extensions = [
|
||||||
url = "https://github.com/golang/lint"
|
url = "https://github.com/golang/lint"
|
||||||
command = "golint -set_exit_status"
|
command = "golint -set_exit_status"
|
||||||
|
|
||||||
[wasm-validate]
|
[wasm_validate]
|
||||||
dependencies = ["git/github.com/WebAssembly/wabt"]
|
dependencies = ["git/github.com/WebAssembly/wabt"]
|
||||||
url = "https://github.com/WebAssembly/wabt"
|
url = "https://github.com/WebAssembly/wabt"
|
||||||
command = "wasm-validate"
|
command = "wasm-validate"
|
||||||
|
|
||||||
[wasm-objdump]
|
[wasm_objdump]
|
||||||
dependencies = ["git/github.com/WebAssembly/wabt"]
|
dependencies = ["git/github.com/WebAssembly/wabt"]
|
||||||
url = "https://github.com/WebAssembly/wabt"
|
url = "https://github.com/WebAssembly/wabt"
|
||||||
command = "wasm-objdump --disassemble"
|
command = "wasm-objdump --disassemble"
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,9 @@ ERIS_ROOT = os.path.dirname(__file__)
|
||||||
class ExecutablesTestCase(unittest.TestCase):
|
class ExecutablesTestCase(unittest.TestCase):
|
||||||
|
|
||||||
def test_executables_exist_in_path(self):
|
def test_executables_exist_in_path(self):
|
||||||
for tool in tools.tools_all():
|
# Tools not in ubuntu:
|
||||||
|
exceptions = {tools.wasm_validate, tools.wasm_objdump}
|
||||||
|
for tool in tools.tools_all() - exceptions:
|
||||||
if hasattr(tool, "executables"):
|
if hasattr(tool, "executables"):
|
||||||
for executable in tool.executables:
|
for executable in tool.executables:
|
||||||
with self.subTest(executable=executable, tool=tool):
|
with self.subTest(executable=executable, tool=tool):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue