add test for arguments with '--'

This commit is contained in:
James Ye 2018-09-18 10:59:26 +10:00
parent 87743faf2a
commit 3c067941f1

View File

@ -74,7 +74,7 @@ Execute(ParseCFlags should ignore -T and other arguments):
\ . ' -DTEST=`date +%s`', \ . ' -DTEST=`date +%s`',
\ ale#c#ParseCFlags( \ ale#c#ParseCFlags(
\ ale#path#Simplify(g:dir. '/test_c_projects/makefile_project'), \ ale#path#Simplify(g:dir. '/test_c_projects/makefile_project'),
\ 'gcc -Dgoal=9 -Tlinkerfile.ld blabla -Isubdir ' \ 'gcc -Dgoal=9 -Tlinkerfile.ld blabla -Isubdir --sysroot=subdir '
\ . '-I'. ale#path#Simplify('kernel/include') \ . '-I'. ale#path#Simplify('kernel/include')
\ . ' -DTEST=`date +%s` -c file.c' \ . ' -DTEST=`date +%s` -c file.c'
\ ) \ )