summaryrefslogtreecommitdiff
path: root/test cases/python3/2 extmodule/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/python3/2 extmodule/meson.build')
-rw-r--r--test cases/python3/2 extmodule/meson.build12
1 files changed, 12 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..858bbea9f
--- /dev/null
+++ b/test cases/python3/2 extmodule/meson.build
@@ -0,0 +1,12 @@
+project('Python extension module', 'c',
+ default_options : ['buildtype=release'])
+# Because Windows Python ships only with optimized libs,
+# we must build this project the same way.
+
+py3_dep = dependency('python3')
+
+subdir('ext')
+
+test('extmod',
+ find_program('blaster.py'),
+ env : ['PYTHONPATH=' + pypathdir])