From 6f5943ec0910b454bcf1334f1034a603a85e10bc Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 10 Oct 2017 14:10:36 +0200 Subject: meson: test unit tests --- meson.build | 1 + test/meson.build | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 test/meson.build diff --git a/meson.build b/meson.build index 02a8806..a6d4ec9 100644 --- a/meson.build +++ b/meson.build @@ -23,3 +23,4 @@ include_dir = include_directories('src') subdir('bin') subdir('plugins') +subdir('test') diff --git a/test/meson.build b/test/meson.build new file mode 100644 index 0000000..4d81a01 --- /dev/null +++ b/test/meson.build @@ -0,0 +1,14 @@ +test_mock = executable('test-mock', + 'test-mock.c', include_directories: include_dir, + dependencies: deps, + link_with: lib, +) + +test_ring_buffer = executable('test-ring-buffer', + 'test-ring-buffer.c', include_directories: include_dir, + dependencies: deps, + link_with: lib, +) + +test('mock', test_mock) +test('test-ring-buffer', test_ring_buffer) -- cgit v1.2.3