diff options
Diffstat (limited to 'test cases/python')
| -rw-r--r-- | test cases/python/7 install path/meson.build | 8 | ||||
| -rw-r--r-- | test cases/python/7 install path/test.json | 8 |
2 files changed, 15 insertions, 1 deletions
diff --git a/test cases/python/7 install path/meson.build b/test cases/python/7 install path/meson.build index 5f0f7dfc6..1075c1bac 100644 --- a/test cases/python/7 install path/meson.build +++ b/test cases/python/7 install path/meson.build @@ -8,5 +8,13 @@ project('install path', py = import('python').find_installation() py.install_sources('test.py') py.install_sources('test.py', pure: false) +install_data('test.py', install_dir: py.get_install_dir() / 'data') +install_data('test.py', install_dir: py.get_install_dir(pure: false) / 'data') + +py_plat = import('python').find_installation(pure: false) +py_plat.install_sources('test.py', subdir: 'kw') +py_plat.install_sources('test.py', pure: true, subdir: 'kwrevert') +install_data('test.py', install_dir: py_plat.get_install_dir() / 'kw/data') +install_data('test.py', install_dir: py_plat.get_install_dir(pure: true) / 'kwrevert/data') subdir('structured') diff --git a/test cases/python/7 install path/test.json b/test cases/python/7 install path/test.json index 9b05b6665..cf8e7a91b 100644 --- a/test cases/python/7 install path/test.json +++ b/test cases/python/7 install path/test.json @@ -6,7 +6,13 @@ {"type": "file", "file": "pure/alpha/two.py"}, {"type": "file", "file": "pure/alpha/three.py"}, {"type": "file", "file": "pure/beta/one.py"}, + {"type": "file", "file": "plat/kw/test.py"}, + {"type": "file", "file": "pure/kwrevert/test.py"}, {"type": "file", "file": "plat/test.py"}, - {"type": "file", "file": "pure/test.py"} + {"type": "file", "file": "pure/test.py"}, + {"type": "file", "file": "plat/data/test.py"}, + {"type": "file", "file": "pure/data/test.py"}, + {"type": "file", "file": "plat/kw/data/test.py"}, + {"type": "file", "file": "pure/kwrevert/data/test.py"} ] } |
