mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-09 13:02:28 +08:00
* Shell commands should by called async with the help of a command chain
* The makefile parser unit test should only test the cflag parser itself #1167
This commit is contained in:
@@ -42,7 +42,7 @@ Execute(The C GCC handler should include 'include' directories for projects with
|
||||
\ . '-iquote ' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/makefile_project/subdir')) . ' '
|
||||
\ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/makefile_project/include')) . ' '
|
||||
\ . ' -'
|
||||
\ , ale_linters#c#gcc#GetCommand(bufnr(''))
|
||||
\ , ale_linters#c#gcc#GetCommand(bufnr(''), [])
|
||||
|
||||
Execute(The C GCC handler should include 'include' directories for projects with a configure file):
|
||||
runtime! ale_linters/c/gcc.vim
|
||||
@@ -55,7 +55,7 @@ Execute(The C GCC handler should include 'include' directories for projects with
|
||||
\ . '-iquote ' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/configure_project/subdir')) . ' '
|
||||
\ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/configure_project/include')) . ' '
|
||||
\ . ' -'
|
||||
\ , ale_linters#c#gcc#GetCommand(bufnr(''))
|
||||
\ , ale_linters#c#gcc#GetCommand(bufnr(''), [])
|
||||
|
||||
Execute(The C GCC handler should include root directories for projects with .h files in them):
|
||||
runtime! ale_linters/c/gcc.vim
|
||||
@@ -68,7 +68,7 @@ Execute(The C GCC handler should include root directories for projects with .h f
|
||||
\ . '-iquote ' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/h_file_project/subdir')) . ' '
|
||||
\ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/h_file_project')) . ' '
|
||||
\ . ' -'
|
||||
\ , ale_linters#c#gcc#GetCommand(bufnr(''))
|
||||
\ , ale_linters#c#gcc#GetCommand(bufnr(''), [])
|
||||
|
||||
Execute(The C GCC handler should include root directories for projects with .hpp files in them):
|
||||
runtime! ale_linters/c/gcc.vim
|
||||
@@ -81,7 +81,7 @@ Execute(The C GCC handler should include root directories for projects with .hpp
|
||||
\ . '-iquote ' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/hpp_file_project/subdir')) . ' '
|
||||
\ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/hpp_file_project')) . ' '
|
||||
\ . ' -'
|
||||
\ , ale_linters#c#gcc#GetCommand(bufnr(''))
|
||||
\ , ale_linters#c#gcc#GetCommand(bufnr(''), [])
|
||||
|
||||
Execute(The C Clang handler should include 'include' directories for projects with a Makefile):
|
||||
runtime! ale_linters/c/clang.vim
|
||||
@@ -94,7 +94,7 @@ Execute(The C Clang handler should include 'include' directories for projects wi
|
||||
\ . '-iquote ' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/makefile_project/subdir')) . ' '
|
||||
\ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/makefile_project/include')) . ' '
|
||||
\ . ' -'
|
||||
\ , ale_linters#c#clang#GetCommand(bufnr(''))
|
||||
\ , ale_linters#c#clang#GetCommand(bufnr(''), [])
|
||||
|
||||
Execute(The C Clang handler should include 'include' directories for projects with a configure file):
|
||||
runtime! ale_linters/c/clang.vim
|
||||
@@ -107,7 +107,7 @@ Execute(The C Clang handler should include 'include' directories for projects wi
|
||||
\ . '-iquote ' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/h_file_project/subdir')) . ' '
|
||||
\ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/h_file_project')) . ' '
|
||||
\ . ' -'
|
||||
\ , ale_linters#c#clang#GetCommand(bufnr(''))
|
||||
\ , ale_linters#c#clang#GetCommand(bufnr(''), [])
|
||||
|
||||
Execute(The C Clang handler should include root directories for projects with .h files in them):
|
||||
runtime! ale_linters/c/clang.vim
|
||||
@@ -120,7 +120,7 @@ Execute(The C Clang handler should include root directories for projects with .h
|
||||
\ . '-iquote ' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/h_file_project/subdir')) . ' '
|
||||
\ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/h_file_project')) . ' '
|
||||
\ . ' -'
|
||||
\ , ale_linters#c#clang#GetCommand(bufnr(''))
|
||||
\ , ale_linters#c#clang#GetCommand(bufnr(''), [])
|
||||
|
||||
Execute(The C Clang handler should include root directories for projects with .hpp files in them):
|
||||
runtime! ale_linters/c/clang.vim
|
||||
@@ -133,7 +133,7 @@ Execute(The C Clang handler should include root directories for projects with .h
|
||||
\ . '-iquote ' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/hpp_file_project/subdir')) . ' '
|
||||
\ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/hpp_file_project')) . ' '
|
||||
\ . ' -'
|
||||
\ , ale_linters#c#clang#GetCommand(bufnr(''))
|
||||
\ , ale_linters#c#clang#GetCommand(bufnr(''), [])
|
||||
|
||||
Execute(The C++ GCC handler should include 'include' directories for projects with a Makefile):
|
||||
runtime! ale_linters/cpp/gcc.vim
|
||||
|
||||
Reference in New Issue
Block a user