From 91c7e795193792b734563ccef44bf7bfdb8e9b8e Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Fri, 21 Apr 2023 23:41:45 +0100 Subject: Use release buildtype in Cython tests, and skip unless ninja backend This matches the tests for Python extensions. Also include some other cleanups to these `meson.build` files: Adding `python_dep` is no longer needed, this is automatic now. Use a single line for `import('python').find_installation()`, because the result of `import('python')` by itself is not used for anything. --- test cases/python/3 cython/libdir/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test cases/python/3 cython/libdir') diff --git a/test cases/python/3 cython/libdir/meson.build b/test cases/python/3 cython/libdir/meson.build index 2b6ebc7af..d148b00a7 100644 --- a/test cases/python/3 cython/libdir/meson.build +++ b/test cases/python/3 cython/libdir/meson.build @@ -1,11 +1,11 @@ pyx_c = custom_target('storer_pyx', output : 'storer_pyx.c', input : 'storer.pyx', - command : [cython, '@INPUT@', '-o', '@OUTPUT@'], + command : [cython, '@INPUT@', '-o', '@OUTPUT@', '-3'], ) slib = py3.extension_module('storer', 'storer.c', pyx_c, - dependencies : py3_dep) +) pydir = meson.current_build_dir() -- cgit v1.2.3