summaryrefslogtreecommitdiff
path: root/test cases/python/2 extmodule/test.json
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-08-17 16:25:22 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-08-18 17:58:30 -0400
commit1f46b4ce64864c6805b4c64b449a1d4818895435 (patch)
tree7d20980da4175f561dad34bbf4ca4db6fca2d721 /test cases/python/2 extmodule/test.json
parentb0ffb80ecf845c71453aa34c05570b0c3122db3f (diff)
downloadmeson-1f46b4ce64864c6805b4c64b449a1d4818895435.tar.gz
tests: python module should install files correctly
- default to python site-packages - subdir to site-packages/subdir - arbitrary install_dir
Diffstat (limited to 'test cases/python/2 extmodule/test.json')
-rw-r--r--test cases/python/2 extmodule/test.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/test cases/python/2 extmodule/test.json b/test cases/python/2 extmodule/test.json
new file mode 100644
index 000000000..6bd119592
--- /dev/null
+++ b/test cases/python/2 extmodule/test.json
@@ -0,0 +1,13 @@
+{
+ "installed": [
+ { "type": "python_file", "file": "usr/@PYTHON_PLATLIB@/blaster.py" },
+ { "type": "python_lib", "file": "usr/@PYTHON_PLATLIB@/tachyon" },
+ { "type": "py_implib", "file": "usr/@PYTHON_PLATLIB@/tachyon" },
+ { "type": "python_file", "file": "usr/@PYTHON_PURELIB@/pure/blaster.py" },
+ { "type": "python_file", "file": "usr/@PYTHON_PLATLIB@/nested/blaster.py" },
+ { "type": "python_lib", "file": "usr/@PYTHON_PLATLIB@/nested/tachyon" },
+ { "type": "py_implib", "file": "usr/@PYTHON_PLATLIB@/nested/tachyon" },
+ { "type": "python_lib", "file": "usr/lib/tachyon" },
+ { "type": "py_implib", "file": "usr/lib/tachyon" }
+ ]
+}