]> granicus.if.org Git - postgresql/commitdiff
pg_regress: Increase space available for test names.
authorAndres Freund <andres@anarazel.de>
Thu, 1 Mar 2018 10:45:41 +0000 (02:45 -0800)
committerAndres Freund <andres@anarazel.de>
Thu, 1 Mar 2018 10:48:33 +0000 (02:48 -0800)
A few isolationtester tests with reasonable names are too wide to
nicely align. Increase space.

Author: Thomas Munro
Discussion: https://postgr.es/m/CAEepm=2v7+EHs6zsJzFn+zJOT4F4Kb69Z1xJ7Zf5kgwLr1n=VA@mail.gmail.com

src/test/regress/pg_regress.c

index a1ee1041b42a6b9b5fa4610753040cf83d88e3b4..4b24c4ac71ffca7b13be5ffeeab35877efb27a1c 100644 (file)
@@ -1690,7 +1690,7 @@ run_schedule(const char *schedule, test_function tfunc)
 
                if (num_tests == 1)
                {
-                       status(_("test %-24s ... "), tests[0]);
+                       status(_("test %-28s ... "), tests[0]);
                        pids[0] = (tfunc) (tests[0], &resultfiles[0], &expectfiles[0], &tags[0]);
                        wait_for_tests(pids, statuses, NULL, 1);
                        /* status line is finished below */
@@ -1741,7 +1741,7 @@ run_schedule(const char *schedule, test_function tfunc)
                        bool            differ = false;
 
                        if (num_tests > 1)
-                               status(_("     %-24s ... "), tests[i]);
+                               status(_("     %-28s ... "), tests[i]);
 
                        /*
                         * Advance over all three lists simultaneously.
@@ -1835,7 +1835,7 @@ run_single_test(const char *test, test_function tfunc)
                           *tl;
        bool            differ = false;
 
-       status(_("test %-24s ... "), test);
+       status(_("test %-28s ... "), test);
        pid = (tfunc) (test, &resultfiles, &expectfiles, &tags);
        wait_for_tests(&pid, &exit_status, NULL, 1);