summaryrefslogtreecommitdiff
path: root/unittests/allplatformstests.py
diff options
context:
space:
mode:
authorDaniele Nicolodi <daniele@grinta.net>2025-07-20 16:56:49 +0200
committerDylan Baker <dylan@pnwbakers.com>2025-07-22 13:23:16 -0700
commitc07eb44c2b54025a98162e0ccd4c70c0f9b2d244 (patch)
tree5f9336a782c288491b4be571fc0b6e192fc717dc /unittests/allplatformstests.py
parent3114bc65885a7499f5a255e76875fa88010e8589 (diff)
downloadmeson-c07eb44c2b54025a98162e0ccd4c70c0f9b2d244.tar.gz
mintro: Record rpath_dirs_to_remove in install_plan
This is required by meson-python to fix RPATH entries when building a wheel.
Diffstat (limited to 'unittests/allplatformstests.py')
-rw-r--r--unittests/allplatformstests.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index 905ae4d7b..c006961ad 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -4812,120 +4812,140 @@ class AllPlatformTests(BasePlatformTests):
expected = {
'targets': {
get_path(f'{self.builddir}/out1-notag.txt'): {
+ 'build_rpaths': [],
'destination': '{datadir}/out1-notag.txt',
'install_rpath': None,
'tag': None,
'subproject': None,
},
get_path(f'{self.builddir}/out2-notag.txt'): {
+ 'build_rpaths': [],
'destination': '{datadir}/out2-notag.txt',
'install_rpath': None,
'tag': None,
'subproject': None,
},
get_path(f'{self.builddir}/libstatic.a'): {
+ 'build_rpaths': [],
'destination': '{libdir_static}/libstatic.a',
'install_rpath': None,
'tag': 'devel',
'subproject': None,
},
get_path(f'{self.builddir}/' + exe_name('app')): {
+ 'build_rpaths': [],
'destination': '{bindir}/' + exe_name('app'),
'install_rpath': None,
'tag': 'runtime',
'subproject': None,
},
get_path(f'{self.builddir}/' + exe_name('app-otherdir')): {
+ 'build_rpaths': [],
'destination': '{prefix}/otherbin/' + exe_name('app-otherdir'),
'install_rpath': None,
'tag': 'runtime',
'subproject': None,
},
get_path(f'{self.builddir}/subdir/' + exe_name('app2')): {
+ 'build_rpaths': [],
'destination': '{bindir}/' + exe_name('app2'),
'install_rpath': None,
'tag': 'runtime',
'subproject': None,
},
get_path(f'{self.builddir}/' + shared_lib_name('shared')): {
+ 'build_rpaths': [],
'destination': '{libdir_shared}/' + shared_lib_name('shared'),
'install_rpath': None,
'tag': 'runtime',
'subproject': None,
},
get_path(f'{self.builddir}/' + shared_lib_name('both')): {
+ 'build_rpaths': [],
'destination': '{libdir_shared}/' + shared_lib_name('both'),
'install_rpath': None,
'tag': 'runtime',
'subproject': None,
},
get_path(f'{self.builddir}/' + static_lib_name('both')): {
+ 'build_rpaths': [],
'destination': '{libdir_static}/' + static_lib_name('both'),
'install_rpath': None,
'tag': 'devel',
'subproject': None,
},
get_path(f'{self.builddir}/' + shared_lib_name('bothcustom')): {
+ 'build_rpaths': [],
'destination': '{libdir_shared}/' + shared_lib_name('bothcustom'),
'install_rpath': None,
'tag': 'custom',
'subproject': None,
},
get_path(f'{self.builddir}/' + static_lib_name('bothcustom')): {
+ 'build_rpaths': [],
'destination': '{libdir_static}/' + static_lib_name('bothcustom'),
'install_rpath': None,
'tag': 'custom',
'subproject': None,
},
get_path(f'{self.builddir}/subdir/' + shared_lib_name('both2')): {
+ 'build_rpaths': [],
'destination': '{libdir_shared}/' + shared_lib_name('both2'),
'install_rpath': None,
'tag': 'runtime',
'subproject': None,
},
get_path(f'{self.builddir}/subdir/' + static_lib_name('both2')): {
+ 'build_rpaths': [],
'destination': '{libdir_static}/' + static_lib_name('both2'),
'install_rpath': None,
'tag': 'devel',
'subproject': None,
},
get_path(f'{self.builddir}/out1-custom.txt'): {
+ 'build_rpaths': [],
'destination': '{datadir}/out1-custom.txt',
'install_rpath': None,
'tag': 'custom',
'subproject': None,
},
get_path(f'{self.builddir}/out2-custom.txt'): {
+ 'build_rpaths': [],
'destination': '{datadir}/out2-custom.txt',
'install_rpath': None,
'tag': 'custom',
'subproject': None,
},
get_path(f'{self.builddir}/out3-custom.txt'): {
+ 'build_rpaths': [],
'destination': '{datadir}/out3-custom.txt',
'install_rpath': None,
'tag': 'custom',
'subproject': None,
},
get_path(f'{self.builddir}/subdir/out1.txt'): {
+ 'build_rpaths': [],
'destination': '{datadir}/out1.txt',
'install_rpath': None,
'tag': None,
'subproject': None,
},
get_path(f'{self.builddir}/subdir/out2.txt'): {
+ 'build_rpaths': [],
'destination': '{datadir}/out2.txt',
'install_rpath': None,
'tag': None,
'subproject': None,
},
get_path(f'{self.builddir}/out-devel.h'): {
+ 'build_rpaths': [],
'destination': '{includedir}/out-devel.h',
'install_rpath': None,
'tag': 'devel',
'subproject': None,
},
get_path(f'{self.builddir}/out3-notag.txt'): {
+ 'build_rpaths': [],
'destination': '{datadir}/out3-notag.txt',
'install_rpath': None,
'tag': None,