diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-10-10 14:10:36 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-10-10 14:11:00 +0200 |
commit | 6f5943ec0910b454bcf1334f1034a603a85e10bc (patch) | |
tree | 31d915906399fc78bd7c1b245df9009b356c2ca3 | |
parent | 735d7bf7eeb1aeac0da97058ccaf936842e9aa78 (diff) | |
download | uca-6f5943ec0910b454bcf1334f1034a603a85e10bc.tar.gz uca-6f5943ec0910b454bcf1334f1034a603a85e10bc.tar.bz2 uca-6f5943ec0910b454bcf1334f1034a603a85e10bc.tar.xz uca-6f5943ec0910b454bcf1334f1034a603a85e10bc.zip |
meson: test unit tests
-rw-r--r-- | meson.build | 1 | ||||
-rw-r--r-- | test/meson.build | 14 |
2 files changed, 15 insertions, 0 deletions
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) |