Skip to content

Commit

Permalink
Disable test on Windows: system(...) fails somehow
Browse files Browse the repository at this point in the history
  • Loading branch information
dpelle committed Jan 15, 2017
1 parent ae77836 commit c5f89eb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/testdir/test_profile.vim
Expand Up @@ -4,6 +4,9 @@ if !has('profile')
endif

func Test_profile_func()
if !has('unix')
return
endif
let lines = [
\ "func! Foo1()",
\ "endfunc",
Expand Down Expand Up @@ -32,7 +35,7 @@ func Test_profile_func()
\ ]

call writefile(lines, 'Xprofile_func.vim')
let a = system(v:progpath
call system(v:progpath
\ . " -es -u NONE -U NONE -i NONE --noplugin"
\ . " -c 'profile start Xprofile_func.log'"
\ . " -c 'profile func Foo*'"
Expand Down Expand Up @@ -85,6 +88,9 @@ func Test_profile_func()
endfunc

func Test_profile_file()
if !has('unix')
return
endif
let lines = [
\ 'func! Foo()',
\ 'endfunc',
Expand All @@ -96,7 +102,7 @@ func Test_profile_file()
\ ]

call writefile(lines, 'Xprofile_file.vim')
let a = system(v:progpath
call system(v:progpath
\ . " -es -u NONE -U NONE -i NONE --noplugin"
\ . " -c 'profile start Xprofile_file.log'"
\ . " -c 'profile file Xprofile_file.vim'"
Expand Down

0 comments on commit c5f89eb

Please sign in to comment.