Skip tab-completion tests if envar SKIP_READLINE_TESTS is defined.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jan 2020 21:46:05 +0000 (16:46 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jan 2020 21:46:05 +0000 (16:46 -0500)
commite7ee433137b6eb3678deeebc68be53d58aa1e5d3
tree06bcb8a146ce17b1de8de2fdc786265b032b461d
parent9ce77d75c5ab094637cc4a446296dc3be6e3c221
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
src/bin/psql/t/010_tab_completion.pl