Re: pgsql: Add basic TAP tests for psql's tab-completion logic.
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
On 2020-01-09 16:50, Tom Lane wrote: > Christoph Berg <myon@debian.org> writes: >> Fwiw if libedit in xenial is Just Broken and fixing the tests would >> just codify the brokenness without adding any value, I'll just disable >> that test in that particular build. It looks like setting >> with_readline=no on the make command line should work. > > That would disable psql's tab completion, command editing, and history > altogether, which I doubt is what you want for production builds. > If we conclude we can't work around the testing issues for ancient > libedit, probably the right answer is to provide a switch to > disable just the test. I've been trying to dance around that > conclusion, but maybe we should just do it and move on. I think he means something like make check with_readline=no not for the actual build. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Skip tab-completion tests if envar SKIP_READLINE_TESTS is defined.
- e7ee433137b6 13.0 landed
-
Minor style improvements for tab-completion test.
- 8c081a2f4e8e 13.0 landed
-
Avoid reading ~/.inputrc in tab-completion test, and revert other changes.
- 48e03583cd37 13.0 landed
-
Don't try to force TERM to a fixed value in tab-completion test.
- 7e42478186aa 13.0 landed
-
In tab-completion test, print out the value of TERM before changing it.
- 60ab7c80b4de 13.0 landed
-
Make tab-completion tests more robust.
- fac1c04feca6 13.0 landed
-
Further fixes for tab-completion TAP tests.
- 56a3921a2f51 13.0 landed
-
Add an ugly workaround for a bug in some recent libedit versions.
- ddd87d564508 13.0 landed
-
Add basic TAP tests for psql's tab-completion logic.
- 7c015045b914 13.0 cited
-
Fix running out of file descriptors for spill files.
- d20703805383 13.0 cited