]> granicus.if.org Git - vim/commitdiff
patch 9.0.0014: missing part of the test override change v9.0.0014
authorBram Moolenaar <Bram@vim.org>
Thu, 30 Jun 2022 21:28:08 +0000 (22:28 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 30 Jun 2022 21:28:08 +0000 (22:28 +0100)
Problem:    Missing part of the test override change.
Solution:   Add the missing part.

src/testing.c
src/version.c

index c49df4b494d8bd34527a4b0409652e4859f51f27..66a3281d8f2847a7bf116efe6a014cabc743a390 100644 (file)
@@ -1058,6 +1058,8 @@ f_test_override(typval_T *argvars, typval_T *rettv UNUSED)
            disable_vterm_title_for_testing = val;
        else if (STRCMP(name, (char_u *)"uptime") == 0)
            override_sysinfo_uptime = val;
+       else if (STRCMP(name, (char_u *)"alloc_lines") == 0)
+           ml_get_alloc_lines = val;
        else if (STRCMP(name, (char_u *)"autoload") == 0)
            override_autoload = val;
        else if (STRCMP(name, (char_u *)"ALL") == 0)
@@ -1070,6 +1072,7 @@ f_test_override(typval_T *argvars, typval_T *rettv UNUSED)
            ui_delay_for_testing = 0;
            reset_term_props_on_termresponse = FALSE;
            override_sysinfo_uptime = -1;
+           // ml_get_alloc_lines is not reset by "ALL"
            if (save_starting >= 0)
            {
                starting = save_starting;
index 17a25cf01565a0a92930fd9120592d1bd932fbf5..38b873bcb7b58a8a4e0e19bd08c235ae6594fa2e 100644 (file)
@@ -735,6 +735,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    14,
 /**/
     13,
 /**/