Re: pgsql: Add basic TAP tests for psql's tab-completion logic.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Christoph Berg <myon@debian.org>, Robert Haas <robertmhaas@gmail.com>,
Andres Freund <andres@anarazel.de>,
Amit Kapila <amit.kapila16@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-01-09T21:51:30Z
Lists: pgsql-hackers
I wrote: > Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes: >> I think he means something like >> make check with_readline=no >> not for the actual build. > Oh, I see. I'd rather not codify that though, because it risks > problems if that symbol ever gets used any other way. I was > thinking of making the test script check for some independent > environment variable, say SKIP_READLINE_TESTS. I thought of another problem with the with_readline=no method, which is that it requires the user to be issuing "make check" directly; it wouldn't be convenient for a buildfarm owner, say. (*Perhaps* it'd work to set with_readline=no throughout a buildfarm run, but I think that's asking for trouble with the build part.) I pushed a patch using SKIP_READLINE_TESTS. Christoph should be able to set that for the Ubuntu branches where the test is failing. regards, tom lane
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