summaryrefslogtreecommitdiff
path: root/test cases/common/252 install data structured/test.json
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-19 16:04:48 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-07-08 01:58:23 -0400
commite7d87b6f58c653c3962479f59867397ffc15c32f (patch)
tree61e39ad22650fbe94d5bdb9c9b2edd263aa14dc3 /test cases/common/252 install data structured/test.json
parentb89451847af56dc5f224a0e09605ad965d58aabe (diff)
downloadmeson-e7d87b6f58c653c3962479f59867397ffc15c32f.tar.gz
implement the new preserve_path kwarg for install_data too
Primarily interesting to me because it is then available for the python module's install_sources method. Based on the new feature in install_headers.
Diffstat (limited to 'test cases/common/252 install data structured/test.json')
-rw-r--r--test cases/common/252 install data structured/test.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/test cases/common/252 install data structured/test.json b/test cases/common/252 install data structured/test.json
new file mode 100644
index 000000000..f4dc2dff1
--- /dev/null
+++ b/test cases/common/252 install data structured/test.json
@@ -0,0 +1,18 @@
+{
+ "installed": [
+ {"type": "python_file", "file": "usr/@PYTHON_PURELIB@/mod/__init__.py"},
+ {"type": "python_file", "file": "usr/@PYTHON_PURELIB@/mod/foo.py"},
+ {"type": "python_file", "file": "usr/@PYTHON_PURELIB@/mod/bar.py"},
+ {"type": "python_file", "file": "usr/@PYTHON_PURELIB@/mod/submod/__init__.py"},
+ {"type": "python_file", "file": "usr/@PYTHON_PURELIB@/mod/submod/baz.py"},
+ {"type": "file", "file": "usr/share/dir1/file1"},
+ {"type": "file", "file": "usr/share/dir1/file2"},
+ {"type": "file", "file": "usr/share/dir1/file3"},
+ {"type": "file", "file": "usr/share/dir2/file1"},
+ {"type": "file", "file": "usr/share/dir2/file2"},
+ {"type": "file", "file": "usr/share/dir2/file3"},
+ {"type": "file", "file": "usr/share/dir3/file1"},
+ {"type": "file", "file": "usr/share/dir3/file2"},
+ {"type": "file", "file": "usr/share/dir3/file3"}
+ ]
+}