mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
eb71cd195a
Put all tests in a suite, and order them in a nicer way. This makes the test output look better.
130 lines
2.5 KiB
Meson
130 lines
2.5 KiB
Meson
a11y_tests = [
|
|
'accessibility-dump',
|
|
'tree-performance',
|
|
'text',
|
|
'children',
|
|
'derive',
|
|
'value',
|
|
'misc',
|
|
'tree-relationships',
|
|
'util',
|
|
]
|
|
|
|
testexecdir = join_paths(installed_test_bindir, 'a11y')
|
|
|
|
foreach t: a11y_tests
|
|
test_prefix = 'a11y'
|
|
|
|
test (t,
|
|
executable (t, '@0@.c'.format(t),
|
|
install: get_option('install-tests'),
|
|
install_dir: testexecdir,
|
|
dependencies: libgtk_dep),
|
|
args: [ '--tap', '-k', ],
|
|
env: installed_test_env,
|
|
suite: 'a11y')
|
|
endforeach
|
|
|
|
a11y_installed_tests = [
|
|
'a11ytests.test',
|
|
'a11ychildren.test',
|
|
'a11ytree.test',
|
|
'a11yvalue.test',
|
|
'a11yderive.test',
|
|
'a11ytext.test',
|
|
'a11yutil.test',
|
|
'a11ymisc.test',
|
|
]
|
|
|
|
installed_test_data = [
|
|
'hello-world.ui',
|
|
'hello-world.txt',
|
|
'mnemonic.ui',
|
|
'mnemonic.txt',
|
|
'accessible-name.ui',
|
|
'accessible-name.txt',
|
|
'notebook.ui',
|
|
'notebook.txt',
|
|
'range.ui',
|
|
'range.txt',
|
|
'link.ui',
|
|
'link.txt',
|
|
'text.ui',
|
|
'text.txt',
|
|
'buttons.ui',
|
|
'buttons.txt',
|
|
'colorchooser.ui',
|
|
'colorchooser.txt',
|
|
'about.ui',
|
|
'about.txt',
|
|
'messagedialog.ui',
|
|
'messagedialog.txt',
|
|
'expander.ui',
|
|
'expander.txt',
|
|
'assistant.ui',
|
|
'assistant.txt',
|
|
'pickers.ui',
|
|
'pickers.txt',
|
|
'label.ui',
|
|
'label.txt',
|
|
'lockbutton.ui',
|
|
'lockbutton.txt',
|
|
'spinner.ui',
|
|
'spinner.txt',
|
|
'progress.ui',
|
|
'progress.txt',
|
|
'infobar.ui',
|
|
'infobar.txt',
|
|
'calendar.ui',
|
|
'calendar.txt',
|
|
'statusbar.ui',
|
|
'statusbar.txt',
|
|
'paned.ui',
|
|
'paned.txt',
|
|
'iconview.ui',
|
|
'iconview.txt',
|
|
'entries.ui',
|
|
'entries.txt',
|
|
'scale-drawvalue.ui',
|
|
'scale-drawvalue.txt',
|
|
'placeholder-text.ui',
|
|
'placeholder-text.txt',
|
|
'menu.ui',
|
|
'menu.txt',
|
|
'menubutton.ui',
|
|
'menubutton.txt',
|
|
'menubutton2.ui',
|
|
'menubutton2.txt',
|
|
'menubutton3.ui',
|
|
'menubutton3.txt',
|
|
'combos.ui',
|
|
'combos.txt',
|
|
'listbox.ui',
|
|
'listbox.txt',
|
|
'stack.ui',
|
|
'stack.txt',
|
|
'headerbar.ui',
|
|
'headerbar.txt',
|
|
'tree.ui',
|
|
'tree.txt',
|
|
'actionbar.ui',
|
|
'actionbar.txt',
|
|
'tooltips.ui',
|
|
'tooltips.txt',
|
|
]
|
|
|
|
if get_option('install-tests')
|
|
test_cdata = configuration_data()
|
|
test_cdata.set('libexecdir', gtk_libexecdir)
|
|
|
|
foreach t: a11y_installed_tests
|
|
configure_file(input: '@0@.in'.format(t),
|
|
output: t,
|
|
configuration: test_cdata,
|
|
install: true,
|
|
install_dir: installed_test_datadir)
|
|
endforeach
|
|
|
|
install_data(installed_test_data, install_dir: testexecdir)
|
|
endif
|