diff options
author | Eddie Lebow <elebow@users.noreply.github.com> | 2019-08-15 00:00:34 -0400 |
---|---|---|
committer | Eddie Lebow <elebow@users.noreply.github.com> | 2019-09-26 20:28:33 -0400 |
commit | 62602569b33d61d899da4345009dcc4b373d80d8 (patch) | |
tree | 876ada8d24cea3746fc8c0907dcae918e29d7b23 /test/command_callback/test_cpp_clangcheck_command_callbacks.vader | |
parent | 28c93ab1854ef41a46855401cc4addbaf7dfb9d4 (diff) | |
download | ale-62602569b33d61d899da4345009dcc4b373d80d8.zip |
clangcheck: Add -fno-color-diagnostics
Also change to the modern --extra-arg syntax.
Diffstat (limited to 'test/command_callback/test_cpp_clangcheck_command_callbacks.vader')
-rw-r--r-- | test/command_callback/test_cpp_clangcheck_command_callbacks.vader | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/command_callback/test_cpp_clangcheck_command_callbacks.vader b/test/command_callback/test_cpp_clangcheck_command_callbacks.vader index 7aa09eed..188141d5 100644 --- a/test/command_callback/test_cpp_clangcheck_command_callbacks.vader +++ b/test/command_callback/test_cpp_clangcheck_command_callbacks.vader @@ -7,7 +7,7 @@ After: Execute(The executable should be configurable): AssertLinter 'clang-check', \ ale#Escape('clang-check') - \ . ' -analyze %s -extra-arg -Xclang -extra-arg -analyzer-output=text' + \ . ' -analyze %s --extra-arg=-Xclang --extra-arg=-analyzer-output=text --extra-arg=-fno-color-diagnostics' let b:ale_cpp_clangcheck_executable = 'foobar' @@ -15,7 +15,7 @@ Execute(The executable should be configurable): " being generated. AssertLinter 'foobar', \ ale#Escape('foobar') - \ . ' -analyze %s -extra-arg -Xclang -extra-arg -analyzer-output=text' + \ . ' -analyze %s --extra-arg=-Xclang --extra-arg=-analyzer-output=text --extra-arg=-fno-color-diagnostics' Execute(The options should be configurable): let b:ale_cpp_clangcheck_options = '--something' @@ -23,7 +23,7 @@ Execute(The options should be configurable): AssertLinter 'clang-check', \ ale#Escape('clang-check') \ . ' -analyze %s' - \ . ' -extra-arg -Xclang -extra-arg -analyzer-output=text' + \ . ' --extra-arg=-Xclang --extra-arg=-analyzer-output=text --extra-arg=-fno-color-diagnostics' \ . ' --something' Execute(The build directory should be used when set): |