# HG changeset patch # User Bram Moolenaar # Date 1626014703 -7200 # Node ID 645c7963a586cca21c43c05bfb52f67f0de460df # Parent 3b0dbea898e944e1b61471f6ed91db6a2868fa5d patch 8.2.3145: Vim9: profile test fails without profile feature Commit: https://github.com/vim/vim/commit/4ece152ad60c4fbd5b98b849a39b8ad9a987d319 Author: Bram Moolenaar Date: Sun Jul 11 16:31:51 2021 +0200 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. diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim --- a/src/testdir/test_vim9_script.vim +++ b/src/testdir/test_vim9_script.vim @@ -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() diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -756,6 +756,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3145, +/**/ 3144, /**/ 3143,