summaryrefslogtreecommitdiff
path: root/test/linter
diff options
context:
space:
mode:
authoroffa <bm-dev@yandex.com>2022-02-06 05:08:10 +0000
committerGitHub <noreply@github.com>2022-02-06 14:08:10 +0900
commit7cbb68da6c5664a4e2aba533fe1f969373c60d5c (patch)
treef8968beb750bb1b52a4744a50127a3c2288fa6b1 /test/linter
parent0c276aac90f5a49fcf2609d348a11ee0608dd558 (diff)
downloadale-7cbb68da6c5664a4e2aba533fe1f969373c60d5c.zip
Add oelint-adv support (#4043)
Diffstat (limited to 'test/linter')
-rwxr-xr-xtest/linter/test_bitbake.vader13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/linter/test_bitbake.vader b/test/linter/test_bitbake.vader
new file mode 100755
index 00000000..ba502aa0
--- /dev/null
+++ b/test/linter/test_bitbake.vader
@@ -0,0 +1,13 @@
+Before:
+ call ale#assert#SetUpLinterTest('bitbake', 'oelint_adv')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The default command should be correct):
+ AssertLinter 'oelint-adv', ale#Escape('oelint-adv') . ' --quiet %s'
+
+Execute(The executable should be configurable):
+ let b:ale_bitbake_oelint_adv_executable = 'xyz'
+
+ AssertLinter 'xyz', ale#Escape('xyz') . ' --quiet %s'