summaryrefslogtreecommitdiff
path: root/test/linter/test_llvm_mc.vader
blob: 6d896b26eed00a4a66e2f8b72777faec77e59119 (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('asm', 'llvm_mc')
  call ale#test#SetFilename('test.cpp')
  let b:command_tail = ' --assemble'
  \   . ' --filetype=asm'
  \   . ' -o ' . (has('win32') ? 'nul': '/dev/null')
  \   . ' '

After:
  unlet! b:command_tail

  call ale#assert#TearDownLinterTest()

Execute(The executable should be configurable):
  AssertLinter 'llvm-mc', ale#Escape('llvm-mc') . b:command_tail

  let b:ale_asm_llvm_mc_executable = 'foobar'

  AssertLinter 'foobar', ale#Escape('foobar') . b:command_tail