From 59467c03c7c3006e502cd387d60d0f2b37efcfcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Thu, 14 Mar 2024 15:42:49 +0100 Subject: [PATCH] meson: Wire up test-suite --- meson.build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meson.build b/meson.build index 366fb6c..47c83e2 100644 --- a/meson.build +++ b/meson.build @@ -97,3 +97,10 @@ configure_file(input: 'config.h.in', subdir('src') subdir('frida') + +test('frida-python', import('python').find_installation(), + args: ['-m', 'unittest', 'discover'], + workdir: meson.current_source_dir(), + env: {'PYTHONPATH': meson.current_build_dir() / 'src'}, + timeout: 30, +)