Rename test to transition

Thats what it is about, so name it clearly.

Add missing installed tests too.
This commit is contained in:
Matthias Clasen 2021-02-03 14:32:50 -05:00
parent 3c6e7569ff
commit 90d7ed5dd1
4 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,4 @@
[Test]
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 GTK_A11Y=test @libexecdir@/installed-tests/gtk-4.0/css/data --tap -k"
Type=session
Output=TAP

View File

@ -45,14 +45,14 @@ test('data', test_data,
suite: 'css',
)
test_parser = executable('test-css-value', 'test-css-value.c',
transition = executable('transition', 'transition.c',
c_args: common_cflags,
dependencies: libgtk_static_dep,
install: get_option('install-tests'),
install_dir: testexecdir,
)
test('css value', test_parser,
test('transition', transition,
args: [ '--tap', '-k' ],
protocol: 'tap',
env: csstest_env,
@ -67,6 +67,22 @@ if get_option('install-tests')
configuration: conf,
install_dir: testdatadir,
)
conf = configuration_data()
conf.set('libexecdir', gtk_libexecdir)
configure_file(input: 'data.test.in',
output: 'data.test',
configuration: conf,
install_dir: testdatadir,
)
conf = configuration_data()
conf.set('libexecdir', gtk_libexecdir)
configure_file(input: 'transition.test.in',
output: 'transition.test',
configuration: conf,
install_dir: testdatadir,
)
endif
if false and get_option ('profiler')

View File

@ -0,0 +1,4 @@
[Test]
Exec=/bin/sh -c "env G_ENABLE_DIAGNOSTIC=0 GTK_A11Y=test @libexecdir@/installed-tests/gtk-4.0/css/transition --tap -k"
Type=session
Output=TAP