diff options
Diffstat (limited to 'test/test_c_flag_parsing.vader')
-rw-r--r-- | test/test_c_flag_parsing.vader | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_c_flag_parsing.vader b/test/test_c_flag_parsing.vader index 8b02f2b9..319e10dd 100644 --- a/test/test_c_flag_parsing.vader +++ b/test/test_c_flag_parsing.vader @@ -38,6 +38,14 @@ Execute(The make command should be correct): \ . 'make -n', \ ale#c#GetMakeCommand(bufnr('')) +Execute(Should recognize GNUmakefile as a makefile): + call ale#test#SetFilename('test_c_projects/gnumakefile_project/file.c') + + AssertEqual + \ ale#path#CdString(ale#path#Simplify(g:dir. '/test_c_projects/gnumakefile_project')) + \ . 'make -n --always-make', + \ ale#c#GetMakeCommand(bufnr('')) + Execute(The CFlags parser should be able to parse include directives): call ale#test#SetFilename('test_c_projects/makefile_project/subdir/file.c') |