mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
testsuite/css: Add common_cflags to build
And fix all the errors coming from that.
This commit is contained in:
parent
79c60bb7fd
commit
01bd7910ce
@ -4,6 +4,7 @@ testdatadir = join_paths(installed_test_datadir, 'css')
|
||||
test_change = executable(
|
||||
'test-css-change',
|
||||
'test-css-change.c',
|
||||
c_args: common_cflags,
|
||||
dependencies: libgtk_dep,
|
||||
install: get_option('install-tests'),
|
||||
install_dir: testexecdir,
|
||||
|
@ -29,7 +29,7 @@
|
||||
/* There shall be no other styles */
|
||||
#define GTK_STYLE_PROVIDER_PRIORITY_FORCE G_MAXUINT
|
||||
|
||||
char *
|
||||
static char *
|
||||
test_get_other_file (const char *ui_file, const char *extension)
|
||||
{
|
||||
GString *file = g_string_new (NULL);
|
||||
|
@ -7,6 +7,7 @@ testexecdir = join_paths(installed_test_bindir, 'css')
|
||||
testdatadir = join_paths(installed_test_datadir, 'css')
|
||||
|
||||
test_api = executable('api', 'api.c',
|
||||
c_args: common_cflags,
|
||||
dependencies: libgtk_dep,
|
||||
install: get_option('install-tests'),
|
||||
install_dir: testexecdir)
|
||||
@ -23,6 +24,7 @@ test('api', test_api,
|
||||
suite: 'css')
|
||||
|
||||
test_data = executable('data', ['data.c', '../../gtk/css/gtkcssdataurl.c'],
|
||||
c_args: common_cflags,
|
||||
include_directories: [confinc, ],
|
||||
dependencies: gtk_deps,
|
||||
install: get_option('install-tests'),
|
||||
|
@ -2,6 +2,7 @@ testexecdir = join_paths(installed_test_bindir, 'css', 'nodes')
|
||||
testdatadir = join_paths(installed_test_datadir, 'css')
|
||||
|
||||
test_nodes = executable('test-css-nodes', 'test-css-nodes.c',
|
||||
c_args: common_cflags,
|
||||
install: get_option('install-tests'),
|
||||
install_dir: testexecdir,
|
||||
dependencies: libgtk_dep)
|
||||
|
@ -2,6 +2,7 @@ testexecdir = join_paths(installed_test_bindir, 'css', 'parser')
|
||||
testdatadir = join_paths(installed_test_datadir, 'css')
|
||||
|
||||
test_parser = executable('test-css-parser', 'test-css-parser.c',
|
||||
c_args: common_cflags,
|
||||
install: get_option('install-tests'),
|
||||
install_dir: testexecdir,
|
||||
dependencies: libgtk_dep)
|
||||
|
@ -11,6 +11,7 @@ test_style = executable(
|
||||
'test-css-style',
|
||||
'test-css-style.c',
|
||||
cssresources,
|
||||
c_args: common_cflags,
|
||||
dependencies: libgtk_dep,
|
||||
install: get_option('install-tests'),
|
||||
install_dir: testexecdir,
|
||||
|
@ -29,7 +29,7 @@
|
||||
/* There shall be no other styles */
|
||||
#define GTK_STYLE_PROVIDER_PRIORITY_FORCE G_MAXUINT
|
||||
|
||||
char *
|
||||
static char *
|
||||
test_get_other_file (const char *ui_file, const char *extension)
|
||||
{
|
||||
GString *file = g_string_new (NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user