Jonas Ådahl 0d95f4d854 tests/clutter: Always use stage from backend
This removes all occurrences of creating a custom stage from the tests,
making them always use the one from MetaBackend. This will allow for
further cleanups.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1364
2020-08-13 17:51:56 +02:00

42 lines
1.0 KiB
Meson

clutter_test_accessibility_common_sources = [
'cally-examples-util.c',
'cally-examples-util.h',
]
clutter_test_accessibility_c_args = [
'-DPREFIXDIR="@0@"'.format(libdir),
'-DCLUTTER_DISABLE_DEPRECATION_WARNINGS',
'-DGLIB_DISABLE_DEPRECATION_WARNINGS',
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
]
clutter_test_accessibility_c_args += clutter_debug_c_args
clutter_accessibility_tests_dependencies = [
clutter_deps,
libmutter_clutter_dep,
libmutter_dep,
]
clutter_accessibility_tests = [
'cally-atkcomponent-example',
'cally-atktext-example',
'cally-atkevents-example',
'cally-atkeditabletext-example',
'cally-clone-example',
]
foreach test : clutter_accessibility_tests
executable(test,
sources: [
clutter_test_accessibility_common_sources,
test + '.c',
clutter_test_utils,
],
include_directories: clutter_includes,
c_args: clutter_test_accessibility_c_args,
dependencies: [clutter_accessibility_tests_dependencies],
install: false,
)
endforeach