From 575ffec62e9b24513db48cd5af3a1100fc79143f Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 3 May 2018 18:56:34 +0530 Subject: python module: Move tests to test cases/unit The tests are only run via unit tests, so that's where they should be. --- test cases/python/1 extmodule/meson.build | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 test cases/python/1 extmodule/meson.build (limited to 'test cases/python/1 extmodule/meson.build') 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 -- cgit v1.2.3