summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 13022e0..866a1c9 100644
--- a/meson.build
+++ b/meson.build
@@ -43,6 +43,10 @@ python = import('python').find_installation(
python.install_sources(sources, preserve_path: true)
if get_option('tests').enabled()
+ pytest = find_program('pytest')
+
+ test('unit_tests', pytest, args: sources)
+
subdir('tests')
endif