summaryrefslogtreecommitdiff
path: root/test cases/python3/2 extmodule/meson.build
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-02-12 21:57:31 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-02-21 14:52:36 +0200
commit98d00386b141771a62668198f36bd38b1a9e6112 (patch)
treed017e379bb55282bafe6cc4138bb8d14b2196ee8 /test cases/python3/2 extmodule/meson.build
parenta8120eb5195ed0e7b44662f107baa23dbbda73a9 (diff)
downloadmeson-98d00386b141771a62668198f36bd38b1a9e6112.tar.gz
Can build a Python extension module.
Diffstat (limited to 'test cases/python3/2 extmodule/meson.build')
-rw-r--r--test cases/python3/2 extmodule/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/python3/2 extmodule/meson.build b/test cases/python3/2 extmodule/meson.build
new file mode 100644
index 000000000..a86a1222c
--- /dev/null
+++ b/test cases/python3/2 extmodule/meson.build
@@ -0,0 +1,9 @@
+project('Python extension module', 'c')
+
+py3_dep = dependency('python3')
+
+subdir('ext')
+
+test('extmod',
+ find_program('blaster.py'),
+ env : ['PYTHONPATH=' + pypathdir])