git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b1307b8) | patch
meson: Prevent installation of test files during main install
Fri, 3 Mar 2023 06:18:20 +0000 (07:18 +0100)
Fri, 3 Mar 2023 06:45:52 +0000 (07:45 +0100)
commit b6a0d469cae4410a05b5e109748278065a931b68
meson: Prevent installation of test files during main install

Previously, meson installed modules under src/test/modules/ as part of
a normal installation, even though these files are only meant for use
by tests. This is because there is no way to set up up the build
system to install extra things only when told.

This patch fixes that with a workaround: We don't install these
modules as part of meson install, but we create a new "test" that runs
before the real tests whose action it is to install these files. The
installation is done by manual copies using a small helper script.

Author: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/2a039e8e-f31f-31e8-afe7-bab3130ad2de%40enterprisedb.com
29 files changed:
meson.build diff | blob | blame | history
src/backend/meson.build diff | blob | blame | history
src/test/modules/delay_execution/meson.build diff | blob | blame | history
src/test/modules/dummy_index_am/meson.build diff | blob | blame | history
src/test/modules/dummy_seclabel/meson.build diff | blob | blame | history
src/test/modules/plsample/meson.build diff | blob | blame | history
src/test/modules/spgist_name_ops/meson.build diff | blob | blame | history
src/test/modules/ssl_passphrase_callback/meson.build diff | blob | blame | history
src/test/modules/test_bloomfilter/meson.build diff | blob | blame | history
src/test/modules/test_copy_callbacks/meson.build diff | blob | blame | history
src/test/modules/test_custom_rmgrs/meson.build diff | blob | blame | history
src/test/modules/test_ddl_deparse/meson.build diff | blob | blame | history
src/test/modules/test_extensions/meson.build diff | blob | blame | history
src/test/modules/test_ginpostinglist/meson.build diff | blob | blame | history
src/test/modules/test_integerset/meson.build diff | blob | blame | history
src/test/modules/test_lfind/meson.build diff | blob | blame | history
src/test/modules/test_oat_hooks/meson.build diff | blob | blame | history
src/test/modules/test_parser/meson.build diff | blob | blame | history
src/test/modules/test_pg_db_role_setting/meson.build diff | blob | blame | history
src/test/modules/test_pg_dump/meson.build diff | blob | blame | history
src/test/modules/test_predtest/meson.build diff | blob | blame | history
src/test/modules/test_rbtree/meson.build diff | blob | blame | history
src/test/modules/test_regex/meson.build diff | blob | blame | history
src/test/modules/test_rls_hooks/meson.build diff | blob | blame | history
src/test/modules/test_shm_mq/meson.build diff | blob | blame | history
src/test/modules/test_slru/meson.build diff | blob | blame | history
src/test/modules/worker_spi/meson.build diff | blob | blame | history
src/test/regress/meson.build diff | blob | blame | history
src/tools/install_test_files [new file with mode: 0644] blob
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /