mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-08 02:04:04 +02:00
glib/tests/meson.build: remove identical build targets
If no error with -Werror=sign-conversion, the resulting object file does not differ from compilation without -Werror=sign-conversion. So the -Werror argument is now applied directly to string.c and testing.c. Finally, the currently specific -Werror targets string-macro and testing-macro are removed.
This commit is contained in:
@@ -127,23 +127,14 @@ glib_tests = {
|
|||||||
'extra_programs' : host_machine.system() == 'windows' ? ['spawn-test-win32-gui'] : [],
|
'extra_programs' : host_machine.system() == 'windows' ? ['spawn-test-win32-gui'] : [],
|
||||||
},
|
},
|
||||||
'strfuncs' : {},
|
'strfuncs' : {},
|
||||||
'string' : {},
|
'string' : {
|
||||||
'string-macro' : {
|
|
||||||
'source' : 'string.c',
|
|
||||||
'c_args' : cc.get_id() == 'gcc' ? ['-Werror=sign-conversion'] : [],
|
'c_args' : cc.get_id() == 'gcc' ? ['-Werror=sign-conversion'] : [],
|
||||||
'install' : false,
|
|
||||||
},
|
},
|
||||||
'strvbuilder' : {},
|
'strvbuilder' : {},
|
||||||
'testing' : {
|
'testing' : {
|
||||||
'args': [ '--verbose' ],
|
'args': [ '--verbose' ],
|
||||||
'extra_programs' : ['testing-helper'],
|
'extra_programs' : ['testing-helper'],
|
||||||
},
|
|
||||||
'testing-macro' : {
|
|
||||||
'args': [ '--verbose' ],
|
|
||||||
'extra_programs' : ['testing-helper'],
|
|
||||||
'source' : 'testing.c',
|
|
||||||
'c_args' : cc.get_id() == 'gcc' ? ['-Werror=sign-conversion'] : [],
|
'c_args' : cc.get_id() == 'gcc' ? ['-Werror=sign-conversion'] : [],
|
||||||
'install' : false,
|
|
||||||
},
|
},
|
||||||
'test-printf' : {},
|
'test-printf' : {},
|
||||||
'thread' : {},
|
'thread' : {},
|
||||||
|
Reference in New Issue
Block a user