diff options
author | w0rp <devw0rp@gmail.com> | 2019-05-20 13:00:32 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-05-20 13:00:32 +0100 |
commit | 5e64acc6abeb61d4a10864b24df763327663f240 (patch) | |
tree | e49da2e872346d8f9bbe15995e285f154d61f47e /test/command_callback/test_asm_gcc_command_callbacks.vader | |
parent | 4ee28d312976e463a3373f6170cd5a0cdd1bcf3c (diff) | |
download | ale-5e64acc6abeb61d4a10864b24df763327663f240.zip |
Fix #2512 - Use -o /dev/null for gcc linting
Diffstat (limited to 'test/command_callback/test_asm_gcc_command_callbacks.vader')
-rw-r--r-- | test/command_callback/test_asm_gcc_command_callbacks.vader | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/command_callback/test_asm_gcc_command_callbacks.vader b/test/command_callback/test_asm_gcc_command_callbacks.vader index 5ad31186..42606ec0 100644 --- a/test/command_callback/test_asm_gcc_command_callbacks.vader +++ b/test/command_callback/test_asm_gcc_command_callbacks.vader @@ -1,8 +1,9 @@ Before: call ale#assert#SetUpLinterTest('asm', 'gcc') call ale#test#SetFilename('test.cpp') - let b:command_tail = ' -x assembler -fsyntax-only -iquote' - \ . ' ' . ale#Escape(g:dir) + let b:command_tail = ' -x assembler' + \ . ' -o ' . (has('win32') ? 'nul': '/dev/null') + \ . '-iquote ' . ale#Escape(g:dir) \ . ' -Wall -' After: |