testsuite: cosmetics

Put all tests in a suite, and order them in a nicer way.
This makes the test output look better.
This commit is contained in:
Matthias Clasen 2017-10-11 19:33:43 -05:00
parent 9c3479b605
commit eb71cd195a
7 changed files with 12 additions and 10 deletions

View File

@ -21,7 +21,8 @@ foreach t: a11y_tests
install_dir: testexecdir,
dependencies: libgtk_dep),
args: [ '--tap', '-k', ],
env: installed_test_env)
env: installed_test_env,
suite: 'a11y')
endforeach
a11y_installed_tests = [

View File

@ -6,7 +6,7 @@ test_api = executable('api', 'api.c',
install: get_option('install-tests'),
install_dir: join_paths(installed_test_bindir, 'css'),
dependencies: libgtk_dep)
test('css/api', test_api)
test('api', test_api, suite: 'css')
if get_option('install-tests')
conf = configuration_data()

View File

@ -3,7 +3,7 @@ test_nodes = executable('test-css-nodes', 'test-css-nodes.c',
install: get_option('install-tests'),
install_dir: testexecdir,
dependencies: libgtk_dep)
test('css/nodes/test-nodes', test_nodes)
test('test-nodes', test_nodes, suite: 'css')
test_data = [
'box.ltr.nodes',

View File

@ -4,7 +4,7 @@ test_parser = executable('test-css-parser', 'test-css-parser.c',
install: get_option('install-tests'),
install_dir: testexecdir,
dependencies: libgtk_dep)
test('css/parser/css-parser', test_parser)
test('css-parser', test_parser, suite: 'css')
test_data = [
'animation-crash-3.12.css',

View File

@ -14,7 +14,7 @@ test_style = executable(
install_dir: testexecdir,
dependencies: libgtk_dep,
)
test('css/style/test-style', test_style)
test('test-style', test_style, suite: 'css')
test_data = [
'adjacent-states.css',

View File

@ -11,10 +11,10 @@ installed_test_env = [
'G_ENABLE_DIAGNOSTIC=0',
]
subdir('gsk')
subdir('tools')
subdir('gtk')
subdir('gdk')
subdir('gsk')
subdir('gtk')
subdir('css')
subdir('a11y')
subdir('reftests')
subdir('tools')
#subdir('reftests')

View File

@ -12,7 +12,8 @@ if bash.found()
test('test-@0@'.format(t), bash,
args : 'test-@0@'.format(t),
workdir : meson.current_build_dir(),
env : test_env)
env : test_env,
suite: 'tools')
endforeach
endif # bash found