diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-11 16:31:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-11 16:31:51 +0200 |
commit | 4ece152ad60c4fbd5b98b849a39b8ad9a987d319 (patch) | |
tree | 38b58b5acbac02a1b51ea6eba22ae201d2b985ab | |
parent | 0f1227f7d5a3e368f61d396c1640088c079fef91 (diff) |
patch 8.2.3145: Vim9: profile test fails without profile featurev8.2.3145
Problem: Vim9: profile test fails without profile feature.
Solution: Check the profile feature is present.
-rw-r--r-- | src/testdir/test_vim9_script.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim index eb4c5d120c..ab0c031c54 100644 --- 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 index 91a3677d56..82d2d1fa0f 100644 --- 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, |