aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-07-09 00:47:46 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2023-07-10 17:21:11 +0300
commit4166bf1eb2874b78658f27606efb3d6b3d27d11a (patch)
tree82ec138ff7b2fd0e7781d46900f4c2347d888675 /test cases
parentecbba0c45b05b53563b23b84191a0acccdfcc291 (diff)
downloadmeson-4166bf1eb2874b78658f27606efb3d6b3d27d11a.zip
meson-4166bf1eb2874b78658f27606efb3d6b3d27d11a.tar.gz
meson-4166bf1eb2874b78658f27606efb3d6b3d27d11a.tar.bz2
Revert "backends: Cache creation of install data"
This reverts commit 904b47085fdd985175b4b2c3224f65b9d33f04d7. This is not a real bottleneck, and we want to create it thrice -- once before the backend is generated. The final install data needs to be created fresh. Update unittest to demonstrate the issue. Fixes https://bugs.gentoo.org/910050
Diffstat (limited to 'test cases')
-rw-r--r--test cases/unit/39 external, internal library rpath/built library/foo.py0
-rw-r--r--test cases/unit/39 external, internal library rpath/built library/meson.build2
2 files changed, 2 insertions, 0 deletions
diff --git a/test cases/unit/39 external, internal library rpath/built library/foo.py b/test cases/unit/39 external, internal library rpath/built library/foo.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/unit/39 external, internal library rpath/built library/foo.py
diff --git a/test cases/unit/39 external, internal library rpath/built library/meson.build b/test cases/unit/39 external, internal library rpath/built library/meson.build
index 07fe7bb..6399cdc 100644
--- a/test cases/unit/39 external, internal library rpath/built library/meson.build
+++ b/test cases/unit/39 external, internal library rpath/built library/meson.build
@@ -2,6 +2,8 @@ project('built library', 'c')
cc = meson.get_compiler('c')
+import('python').find_installation().install_sources('foo.py')
+
if host_machine.system() != 'cygwin'
# bar_in_system has undefined symbols, but still must be found
bar_system_dep = cc.find_library('bar_in_system')