pgsql: Skip tab-completion tests if envar SKIP_READLINE_TESTS is define

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Skip tab-completion tests if envar SKIP_READLINE_TESTS is define
Date: 2020-01-09 21:47:17
Message-ID: E1ipfe9-0003ng-9B@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Skip tab-completion tests if envar SKIP_READLINE_TESTS is defined.

Experience so far suggests that getting these tests to pass on
all libedit versions that are out there may be impossible, or
require dumbing down the tests to the point of uselessness.
So we need to provide a way to skip them when the user knows they'll
fail. An environment variable is probably the most convenient way
to deal with this; it's easy for, e.g., a buildfarm animal's
configuration to set up.

Discussion: https://postgr.es/m/9594.1578586797@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e7ee433137b6eb3678deeebc68be53d58aa1e5d3

Modified Files
--------------
src/bin/psql/t/010_tab_completion.pl | 10 ++++++++++
1 file changed, 10 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-01-09 21:51:30 Re: pgsql: Add basic TAP tests for psql's tab-completion logic.
Previous Message Robert Haas 2020-01-09 17:04:55 Re: pgsql: Add pg_shmem_allocations view.