Fix meson installation of xid_wraparound test.
authorMasahiko Sawada <[email protected]>
Thu, 8 Feb 2024 08:03:59 +0000 (17:03 +0900)
committerMasahiko Sawada <[email protected]>
Thu, 8 Feb 2024 08:03:59 +0000 (17:03 +0900)
Fix for e255b646a, to prevent installation of xid_wraparound test
module during main install.

Reported-by: Peter Eisentraut
Discussion: https://postgr.es/m/84cd416a-0e37-4019-8380-1c8a3cdd8c5c%40eisentraut.org

src/test/modules/xid_wraparound/meson.build

index 602172754ac70d745406d5fabac6bf41ec9350ef..2e5248131b5e14b9d5313416e277dcab32580b32 100644 (file)
@@ -12,14 +12,13 @@ endif
 
 xid_wraparound = shared_module('xid_wraparound',
   xid_wraparound_sources,
-  kwargs: pg_mod_args,
+  kwargs: pg_test_mod_args,
 )
-testprep_targets += xid_wraparound
+test_install_libs += xid_wraparound
 
-install_data(
+test_install_data += files(
   'xid_wraparound.control',
   'xid_wraparound--1.0.sql',
-  kwargs: contrib_data_args,
 )
 
 tests += {