diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:36:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:36:24 +0000 |
commit | 9b6d8e63db85c30007b463e91f91a791969fa83f (patch) | |
tree | 0899af51d73c1bf986f73ae39a03c4436083018a /tests/common/meson.build | |
parent | Initial commit. (diff) | |
download | gnome-control-center-upstream.tar.xz gnome-control-center-upstream.zip |
Adding upstream version 1:3.38.4.upstream/1%3.38.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/common/meson.build | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/common/meson.build b/tests/common/meson.build new file mode 100644 index 0000000..0550092 --- /dev/null +++ b/tests/common/meson.build @@ -0,0 +1,22 @@ + + +test_units = [ + 'test-hostname', + # 'test-time-entry', # FIXME +] + +cflags = [ + '-DTEST_SRCDIR="@0@"'.format(meson.current_source_dir()), + '-DTEST_TOPSRCDIR="@0@"'.format(meson.source_root()) +] + +foreach unit: test_units + exe = executable( + unit, + unit + '.c', + include_directories : [ top_inc, common_inc ], + dependencies : common_deps + [libwidgets_dep], + c_args : cflags, + ) + test(unit, exe) +endforeach |