summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/meson.build
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-04-12 19:52:37 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-04-12 19:52:37 +0300
commit65dfe9d167e925cd8892dedb51dde29f69b7388d (patch)
treee26827607d829f497918f22d68a5ac140ca5cafe /src/interfaces/libpq/meson.build
parent084cae55131f71f32e15a6b2b7897aa1c7382c0a (diff)
Move libpq encryption negotiation tests
The test targets libpq's options, so 'src/test/interfaces/libpq/t' is a more natural place for it. While doing this, I noticed that I had missed adding the libpq_encryption subdir to the Makefile. That's why this commit only needs to remove it from the meson.build file. Per Peter Eisentraut's suggestion. Discussion: https://www.postgresql.org/message-id/09d4bf5d-d0fa-4c66-a1d7-5ec757609646@eisentraut.org
Diffstat (limited to 'src/interfaces/libpq/meson.build')
-rw-r--r--src/interfaces/libpq/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/interfaces/libpq/meson.build b/src/interfaces/libpq/meson.build
index be6fadaea23..ed2a4048d18 100644
--- a/src/interfaces/libpq/meson.build
+++ b/src/interfaces/libpq/meson.build
@@ -118,8 +118,13 @@ tests += {
't/002_api.pl',
't/003_load_balance_host_list.pl',
't/004_load_balance_dns.pl',
+ 't/005_negotiate_encryption.pl',
],
- 'env': {'with_ssl': ssl_library},
+ 'env': {
+ 'with_ssl': ssl_library,
+ 'with_gssapi': gssapi.found() ? 'yes' : 'no',
+ 'with_krb_srvnam': 'postgres',
+ },
},
}