Skip to content

Commit

Permalink
patch 8.2.3145: Vim9: profile test fails without profile feature
Browse files Browse the repository at this point in the history
Problem:    Vim9: profile test fails without profile feature.
Solution:   Check the profile feature is present.
  • Loading branch information
brammool committed Jul 11, 2021
1 parent 0f1227f commit 4ece152
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/testdir/test_vim9_script.vim
Expand Up @@ -4175,6 +4175,8 @@ enddef
" Execute this near the end, profiling doesn't stop until Vim exists.
" This only tests that it works, not the profiling output.
def Test_xx_profile_with_lambda()
CheckFeature profile

profile start Xprofile.log
profile func ProfiledFunc
ProfiledFunc()
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -755,6 +755,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3145,
/**/
3144,
/**/
Expand Down

0 comments on commit 4ece152

Please sign in to comment.