mirror of
https://github.com/dense-analysis/ale
synced 2024-12-12 01:16:20 +00:00
Fix tests on Windows
This commit is contained in:
parent
4129c356e8
commit
4496c9b3c1
@ -27,7 +27,9 @@ Execute(cppcheck for C should detect compile_commands.json files):
|
|||||||
AssertLinter 'cppcheck',
|
AssertLinter 'cppcheck',
|
||||||
\ ale#path#CdString(ale#path#Simplify(g:dir . '/cppcheck_paths/one'))
|
\ ale#path#CdString(ale#path#Simplify(g:dir . '/cppcheck_paths/one'))
|
||||||
\ . ale#Escape('cppcheck')
|
\ . ale#Escape('cppcheck')
|
||||||
\ . ' -q --language=c --project=''compile_commands.json'' --enable=style %t'
|
\ . ' -q --language=c'
|
||||||
|
\ . ' --project=' . ale#Escape('compile_commands.json')
|
||||||
|
\ . ' --enable=style %t'
|
||||||
|
|
||||||
Execute(cppcheck for C should detect compile_commands.json files in build directories):
|
Execute(cppcheck for C should detect compile_commands.json files in build directories):
|
||||||
call ale#test#SetFilename('cppcheck_paths/with_build_dir/foo.cpp')
|
call ale#test#SetFilename('cppcheck_paths/with_build_dir/foo.cpp')
|
||||||
|
@ -25,7 +25,9 @@ Execute(cppcheck for C++ should detect compile_commands.json files):
|
|||||||
AssertLinter 'cppcheck',
|
AssertLinter 'cppcheck',
|
||||||
\ ale#path#CdString(ale#path#Simplify(g:dir . '/cppcheck_paths/one'))
|
\ ale#path#CdString(ale#path#Simplify(g:dir . '/cppcheck_paths/one'))
|
||||||
\ . ale#Escape('cppcheck')
|
\ . ale#Escape('cppcheck')
|
||||||
\ . ' -q --language=c++ --project=''compile_commands.json'' --enable=style %t'
|
\ . ' -q --language=c++'
|
||||||
|
\ . ' --project=' . ale#Escape('compile_commands.json')
|
||||||
|
\ . ' --enable=style %t'
|
||||||
|
|
||||||
Execute(cppcheck for C++ should detect compile_commands.json files in build directories):
|
Execute(cppcheck for C++ should detect compile_commands.json files in build directories):
|
||||||
call ale#test#SetFilename('cppcheck_paths/with_build_dir/foo.cpp')
|
call ale#test#SetFilename('cppcheck_paths/with_build_dir/foo.cpp')
|
||||||
|
Loading…
Reference in New Issue
Block a user