diff options
author | w0rp <devw0rp@gmail.com> | 2019-06-03 22:14:18 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-06-03 22:14:18 +0100 |
commit | 4496c9b3c12874477dc1971b3cb841f1d5f20d98 (patch) | |
tree | a76f803e7643a2df2301c5057be91d4044eabfe2 /test | |
parent | 4129c356e85ef05836d2dd726cae679ae7f4afc9 (diff) | |
download | ale-4496c9b3c12874477dc1971b3cb841f1d5f20d98.zip |
Fix tests on Windows
Diffstat (limited to 'test')
-rw-r--r-- | test/command_callback/test_c_cppcheck_command_callbacks.vader | 4 | ||||
-rw-r--r-- | test/command_callback/test_cpp_cppcheck_command_callbacks.vader | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/test/command_callback/test_c_cppcheck_command_callbacks.vader b/test/command_callback/test_c_cppcheck_command_callbacks.vader index 7f1a7c2f..3d487a31 100644 --- a/test/command_callback/test_c_cppcheck_command_callbacks.vader +++ b/test/command_callback/test_c_cppcheck_command_callbacks.vader @@ -27,7 +27,9 @@ Execute(cppcheck for C should detect compile_commands.json files): AssertLinter 'cppcheck', \ ale#path#CdString(ale#path#Simplify(g:dir . '/cppcheck_paths/one')) \ . 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): call ale#test#SetFilename('cppcheck_paths/with_build_dir/foo.cpp') diff --git a/test/command_callback/test_cpp_cppcheck_command_callbacks.vader b/test/command_callback/test_cpp_cppcheck_command_callbacks.vader index 13b0741e..02bdf748 100644 --- a/test/command_callback/test_cpp_cppcheck_command_callbacks.vader +++ b/test/command_callback/test_cpp_cppcheck_command_callbacks.vader @@ -25,7 +25,9 @@ Execute(cppcheck for C++ should detect compile_commands.json files): AssertLinter 'cppcheck', \ ale#path#CdString(ale#path#Simplify(g:dir . '/cppcheck_paths/one')) \ . 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): call ale#test#SetFilename('cppcheck_paths/with_build_dir/foo.cpp') |