diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-04-23 22:21:55 +0300 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-04-23 22:21:55 +0300 |
commit | 36e669345ecec7accd5dedf6099c9cce2e254063 (patch) | |
tree | c1844068fd8a497db1e7897f927d1e8f32b68510 /plugins/smolblok_hostlist/meson.build | |
parent | move subprojects/plugin_hostlist to plugins/smolblok_hostlist (diff) | |
download | smolbote-36e669345ecec7accd5dedf6099c9cce2e254063.tar.xz |
Add smolblok-load utility
Diffstat (limited to 'plugins/smolblok_hostlist/meson.build')
-rw-r--r-- | plugins/smolblok_hostlist/meson.build | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/smolblok_hostlist/meson.build b/plugins/smolblok_hostlist/meson.build index a3e64a7..7dde699 100644 --- a/plugins/smolblok_hostlist/meson.build +++ b/plugins/smolblok_hostlist/meson.build @@ -20,16 +20,17 @@ plugin = shared_library('smolblokHostlistPlugin', ) # tests -test('rule parsing', executable('rule', - sources: 'test/rule.cpp', - dependencies: [dep_qt5, dep_catch, dep_hostlistfilter])) +test('rule', executable('rule', sources: 'test/rule.cpp', dependencies: [dep_qt5, dep_catch, dep_hostlistfilter]), suite: 'hostlist') test('filterlist', executable('filterlist', sources: 'test/filterlist.cpp', dependencies: [dep_qt5, dep_catch, dep_hostlistfilter]), - env: 'HOSTLIST_TXT='+meson.current_source_dir()/'test/hostlist.txt' + env: 'HOSTLIST_TXT='+meson.current_source_dir()/'test/hostlist.txt', + suite: 'hostlist' ) +test('plugin', smolblok_load, workdir: meson.build_root(), args: plugin.full_path(), suite: 'hostlist') + # fuzzer if meson.get_compiler('cpp').has_multi_arguments('-g', '-fsanitize=fuzzer') executable('hostlist-fuzzer', |