mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-01 00:53:29 +08:00
#3633 - Move linter tests into test/linter
This commit is contained in:
14
test/linter/test_iverilog.vader
Normal file
14
test/linter/test_iverilog.vader
Normal file
@@ -0,0 +1,14 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('verilog', 'iverilog')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The default iverilog command should be correct):
|
||||
AssertLinter 'iverilog', 'iverilog -t null -Wall %t'
|
||||
|
||||
Execute(iverilog options should be configurable):
|
||||
" Additional args for the linter
|
||||
let g:ale_verilog_iverilog_options = '-y.'
|
||||
|
||||
AssertLinter 'iverilog', 'iverilog -t null -Wall -y. %t'
|
||||
Reference in New Issue
Block a user