From: Andres Freund Date: Thu, 1 Mar 2018 10:45:41 +0000 (-0800) Subject: pg_regress: Increase space available for test names. X-Git-Tag: REL_11_BETA1~685 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1437824564f47e8e7641e98958a08c1544b6b8f4;p=thirdparty%2Fpostgresql.git pg_regress: Increase space available for test names. 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 --- diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c index a1ee1041b42..4b24c4ac71f 100644 --- a/src/test/regress/pg_regress.c +++ b/src/test/regress/pg_regress.c @@ -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);