0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.2.3145: Vim9: profile test fails without profile feature

Problem:    Vim9: profile test fails without profile feature.
Solution:   Check the profile feature is present.
This commit is contained in:
Bram Moolenaar
2021-07-11 16:31:51 +02:00
parent 0f1227f7d5
commit 4ece152ad6
2 changed files with 4 additions and 0 deletions

View File

@@ -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()

View File

@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3145,
/**/
3144,
/**/