From 90d7ed5dd17c5337d12bbf711565c51d3b52682f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 3 Feb 2021 14:32:50 -0500 Subject: [PATCH] Rename test to transition Thats what it is about, so name it clearly. Add missing installed tests too. --- testsuite/css/data.test.in | 4 ++++ testsuite/css/meson.build | 20 +++++++++++++++++-- .../css/{test-css-value.c => transition.c} | 0 testsuite/css/transition.test.in | 4 ++++ 4 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 testsuite/css/data.test.in rename testsuite/css/{test-css-value.c => transition.c} (100%) create mode 100644 testsuite/css/transition.test.in diff --git a/testsuite/css/data.test.in b/testsuite/css/data.test.in new file mode 100644 index 0000000000..11e0e3950d --- /dev/null +++ b/testsuite/css/data.test.in @@ -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 diff --git a/testsuite/css/meson.build b/testsuite/css/meson.build index cd35ced891..def05adcaa 100644 --- a/testsuite/css/meson.build +++ b/testsuite/css/meson.build @@ -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') diff --git a/testsuite/css/test-css-value.c b/testsuite/css/transition.c similarity index 100% rename from testsuite/css/test-css-value.c rename to testsuite/css/transition.c diff --git a/testsuite/css/transition.test.in b/testsuite/css/transition.test.in new file mode 100644 index 0000000000..d90acdfa4d --- /dev/null +++ b/testsuite/css/transition.test.in @@ -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