summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ye <lolz836@gmail.com>2018-09-18 10:59:26 +1000
committerJames Ye <lolz836@gmail.com>2018-09-18 10:59:26 +1000
commit3c067941f1d4768ad803843e3fe33c6a5581f0a7 (patch)
tree13734e7a09b73ec87295afe9ff0487298fd8822d
parent87743faf2ad2ef0f663a904b2516d216db9fcf2e (diff)
downloadale-3c067941f1d4768ad803843e3fe33c6a5581f0a7.zip
add test for arguments with '--'
-rw-r--r--test/test_c_flag_parsing.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_c_flag_parsing.vader b/test/test_c_flag_parsing.vader
index a4e00452..f7bfaa04 100644
--- a/test/test_c_flag_parsing.vader
+++ b/test/test_c_flag_parsing.vader
@@ -74,7 +74,7 @@ Execute(ParseCFlags should ignore -T and other arguments):
\ . ' -DTEST=`date +%s`',
\ ale#c#ParseCFlags(
\ 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')
\ . ' -DTEST=`date +%s` -c file.c'
\ )