diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2021-10-22 09:11:52 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2021-10-22 09:49:07 -0400 |
commit | f4ce6c4d3a30ec3a12c7f64b90a6fc82887ddd7b (patch) | |
tree | 8c1b4b8e9263af041fa4e2d98d68a508e0b227f2 /src/test/modules/commit_ts/sql/commit_timestamp.sql | |
parent | b1ce6c284366ce1dae120f5d10dd59e8804322ee (diff) | |
download | postgresql-f4ce6c4d3a30ec3a12c7f64b90a6fc82887ddd7b.tar.gz postgresql-f4ce6c4d3a30ec3a12c7f64b90a6fc82887ddd7b.zip |
Add module build directory to the PATH for TAP tests
For non-MSVC builds this is make's $(CURDIR), while for MSVC builds it
is $topdir/$Config/$module. The directory is added as the second element
in the PATH, so that the install location takes precedence, but the
added PATH element takes precedence over the rest of the PATH.
The reason for this is to allow tests to find built products that are
not installed, such as the libpq_pipeline test driver.
The libpq_pipeline test is adjusted to take advantage of this.
Based on a suggestion from Andres Freund.
Backpatch to release 14.
Discussion: https://postgr.es/m/4941f5a5-2d50-1a0e-6701-14c5fefe92d6@dunslane.net
Diffstat (limited to 'src/test/modules/commit_ts/sql/commit_timestamp.sql')
0 files changed, 0 insertions, 0 deletions