From e2731cf7008b2f1f9e1f44283b07c3fe0296bbee Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 17 Jul 2022 17:33:37 -0400 Subject: Switch to meson build system --- test/meson.build | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/meson.build (limited to 'test/meson.build') diff --git a/test/meson.build b/test/meson.build new file mode 100644 index 0000000..72a4870 --- /dev/null +++ b/test/meson.build @@ -0,0 +1,22 @@ +autoship = find_program('autoship', required: false) + +unit_tests = [ + 'sord', +] + +foreach unit : unit_tests + test( + unit, + executable( + 'test_@0@'.format(unit), + files('test_@0@.c'.format(unit)), + c_args: c_suppressions, + dependencies: sord_dep, + ), + suite: 'unit', + ) +endforeach + +if autoship.found() + test('autoship', autoship, args: ['test', sord_src_root], suite: 'data') +endif -- cgit v1.2.1