summaryrefslogtreecommitdiff
path: root/test cases/python/1 extmodule/meson.build
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-05-03 18:56:34 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-05-03 18:56:34 +0530
commit575ffec62e9b24513db48cd5af3a1100fc79143f (patch)
treec38440e34dc1adc1ca369e4e74708fa704c5724d /test cases/python/1 extmodule/meson.build
parent8bda86faabc5943954d85720967caadc1de95c46 (diff)
downloadmeson-575ffec62e9b24513db48cd5af3a1100fc79143f.tar.gz
python module: Move tests to test cases/unit
The tests are only run via unit tests, so that's where they should be.
Diffstat (limited to 'test cases/python/1 extmodule/meson.build')
-rw-r--r--test cases/python/1 extmodule/meson.build23
1 files changed, 0 insertions, 23 deletions
diff --git a/test cases/python/1 extmodule/meson.build b/test cases/python/1 extmodule/meson.build
deleted file mode 100644
index 479865482..000000000
--- a/test cases/python/1 extmodule/meson.build
+++ /dev/null
@@ -1,23 +0,0 @@
-project('Python extension module', 'c',
- default_options : ['buildtype=release'])
-
-py_mod = import('python')
-
-py = py_mod.find_installation(get_option('python'), required : false)
-
-if py.found()
- py_dep = py.dependency()
-
- if py_dep.found()
- subdir('ext')
-
- test('extmod',
- py,
- args : files('blaster.py'),
- env : ['PYTHONPATH=' + pypathdir])
- else
- error('MESON_SKIP_TEST: Python libraries not found, skipping test.')
- endif
-else
- error('MESON_SKIP_TEST: Python not found, skipping test.')
-endif