summaryrefslogtreecommitdiff
path: root/test/linter/test_xvlog.vader
blob: 564ac979ac76b733bb8676376ffe9df63560a2eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Before:
  call ale#assert#SetUpLinterTest('verilog', 'xvlog')

After:
  unlet! b:command_tail

  call ale#assert#TearDownLinterTest()

Execute(The executable should be configurable):
  AssertLinter 'xvlog', ale#Escape('xvlog') . '  %t'

  let b:ale_verilog_xvlog_executable = 'foobar'

  AssertLinter 'foobar', ale#Escape('foobar') . '  %t'

Execute(The options should be configurable):
  let b:ale_verilog_xvlog_options = '--something'

  AssertLinter 'xvlog', ale#Escape('xvlog') . '  --something %t'