mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-13 14:00:57 +02:00
meson: Use exitcode protocol for some c++ and gobject definition tests
In all these cases we don't really care about running the test file, while building and basic execution it is relevant. Also they don't support TAP at all.
This commit is contained in:
@ -144,6 +144,7 @@ gio_tests = {
|
|||||||
if have_cxx
|
if have_cxx
|
||||||
gio_tests += {
|
gio_tests += {
|
||||||
'cxx' : {
|
'cxx' : {
|
||||||
|
'protocol': 'exitcode',
|
||||||
'source' : ['cxx.cpp'],
|
'source' : ['cxx.cpp'],
|
||||||
'suite': ['C++'],
|
'suite': ['C++'],
|
||||||
},
|
},
|
||||||
@ -152,6 +153,7 @@ if have_cxx
|
|||||||
foreach std, arg: cxx_standards
|
foreach std, arg: cxx_standards
|
||||||
gio_tests += {
|
gio_tests += {
|
||||||
'cxx-@0@'.format(std) : {
|
'cxx-@0@'.format(std) : {
|
||||||
|
'protocol': 'exitcode',
|
||||||
'source' : ['cxx.cpp'],
|
'source' : ['cxx.cpp'],
|
||||||
'suite' : ['cpp'],
|
'suite' : ['cpp'],
|
||||||
'cpp_args' : [arg],
|
'cpp_args' : [arg],
|
||||||
|
@ -5,6 +5,7 @@ gmodule_tests = {
|
|||||||
if have_cxx
|
if have_cxx
|
||||||
gmodule_tests += {
|
gmodule_tests += {
|
||||||
'cxx' : {
|
'cxx' : {
|
||||||
|
'protocol': 'exitcode',
|
||||||
'source' : ['cxx.cpp'],
|
'source' : ['cxx.cpp'],
|
||||||
'suite' : ['cpp'],
|
'suite' : ['cpp'],
|
||||||
}
|
}
|
||||||
@ -13,6 +14,7 @@ if have_cxx
|
|||||||
foreach std, arg: cxx_standards
|
foreach std, arg: cxx_standards
|
||||||
gmodule_tests += {
|
gmodule_tests += {
|
||||||
'cxx-@0@'.format(std) : {
|
'cxx-@0@'.format(std) : {
|
||||||
|
'protocol': 'exitcode',
|
||||||
'source' : ['cxx.cpp'],
|
'source' : ['cxx.cpp'],
|
||||||
'suite' : ['cpp'],
|
'suite' : ['cpp'],
|
||||||
'cpp_args' : [arg],
|
'cpp_args' : [arg],
|
||||||
|
@ -41,7 +41,7 @@ gobject_tests = {
|
|||||||
'defaultiface' : {
|
'defaultiface' : {
|
||||||
'source' : ['defaultiface.c', 'testmodule.c'],
|
'source' : ['defaultiface.c', 'testmodule.c'],
|
||||||
},
|
},
|
||||||
'deftype' : {},
|
'deftype' : { 'protocol': 'exitcode' },
|
||||||
'deprecated-properties' : {},
|
'deprecated-properties' : {},
|
||||||
'dynamictype' : {
|
'dynamictype' : {
|
||||||
'source' : ['dynamictype.c', 'testmodule.c'],
|
'source' : ['dynamictype.c', 'testmodule.c'],
|
||||||
@ -109,6 +109,7 @@ gobject_tests = {
|
|||||||
if have_cxx
|
if have_cxx
|
||||||
gobject_tests += {
|
gobject_tests += {
|
||||||
'cxx' : {
|
'cxx' : {
|
||||||
|
'protocol': 'exitcode',
|
||||||
'source' : ['cxx.cpp'],
|
'source' : ['cxx.cpp'],
|
||||||
'suite' : ['cpp'],
|
'suite' : ['cpp'],
|
||||||
},
|
},
|
||||||
@ -117,6 +118,7 @@ if have_cxx
|
|||||||
foreach std, arg: cxx_standards
|
foreach std, arg: cxx_standards
|
||||||
gobject_tests += {
|
gobject_tests += {
|
||||||
'cxx-@0@'.format(std) : {
|
'cxx-@0@'.format(std) : {
|
||||||
|
'protocol': 'exitcode',
|
||||||
'source' : ['cxx.cpp'],
|
'source' : ['cxx.cpp'],
|
||||||
'suite' : ['cpp'],
|
'suite' : ['cpp'],
|
||||||
'cpp_args' : [arg],
|
'cpp_args' : [arg],
|
||||||
|
Reference in New Issue
Block a user