2022-02-06 05:08:10 +00:00
|
|
|
Before:
|
2023-09-16 21:22:01 +00:00
|
|
|
call ale#assert#SetUpLinterTest('bitbake', 'oelint_adv')
|
2022-02-06 05:08:10 +00:00
|
|
|
|
|
|
|
After:
|
2023-09-16 21:22:01 +00:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2022-02-06 05:08:10 +00:00
|
|
|
|
|
|
|
Execute(The default command should be correct):
|
2023-09-16 21:22:01 +00:00
|
|
|
AssertLinter 'oelint-adv', ale#Escape('oelint-adv') . ' --quiet %s'
|
2022-02-06 05:08:10 +00:00
|
|
|
|
|
|
|
Execute(The executable should be configurable):
|
2023-09-16 21:22:01 +00:00
|
|
|
let b:ale_bitbake_oelint_adv_executable = 'xyz'
|
2022-02-06 05:08:10 +00:00
|
|
|
|
2023-09-16 21:22:01 +00:00
|
|
|
AssertLinter 'xyz', ale#Escape('xyz') . ' --quiet %s'
|