From 6adb5fa877a36014a05a755f1cf12d549c8f0fb3 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 20 May 2017 15:36:44 +0100 Subject: Add Meson build system Meson is a meta-build system that has several advantages over Autotools: - faster - simpler to use and understand - portable to various platforms - tailored to the needs of GNOME libraries - well maintained and supported Various other libraries in the GNOME stack have already adopted Meson in parallel, or exclusively, including GTK+. https://bugzilla.gnome.org/show_bug.cgi?id=782871 --- tests/meson.build | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/meson.build (limited to 'tests') diff --git a/tests/meson.build b/tests/meson.build new file mode 100644 index 0000000..1fbb992 --- /dev/null +++ b/tests/meson.build @@ -0,0 +1,20 @@ +tests = [ + 'testdocument', + 'testrole', + 'testrelation', + 'teststateset', + 'testvalue', +] + +foreach t: tests + bin = executable(t, t + '.c', + dependencies: libatk_dep, + include_directories: root_inc, + c_args: common_cflags + [ + '-DG_DISABLE_DEPRECATED', + ]) + test(t, bin, env: [ + 'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()), + 'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()), + ]) +endforeach -- cgit v1.2.1