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:
Marco Trevisan (Treviño) 2022-12-15 22:09:17 +01:00
parent 58031feb17
commit 1594cf77eb
3 changed files with 7 additions and 1 deletions

View File

@ -144,6 +144,7 @@ gio_tests = {
if have_cxx
gio_tests += {
'cxx' : {
'protocol': 'exitcode',
'source' : ['cxx.cpp'],
'suite': ['C++'],
},
@ -152,6 +153,7 @@ if have_cxx
foreach std, arg: cxx_standards
gio_tests += {
'cxx-@0@'.format(std) : {
'protocol': 'exitcode',
'source' : ['cxx.cpp'],
'suite' : ['cpp'],
'cpp_args' : [arg],

View File

@ -5,6 +5,7 @@ gmodule_tests = {
if have_cxx
gmodule_tests += {
'cxx' : {
'protocol': 'exitcode',
'source' : ['cxx.cpp'],
'suite' : ['cpp'],
}
@ -13,6 +14,7 @@ if have_cxx
foreach std, arg: cxx_standards
gmodule_tests += {
'cxx-@0@'.format(std) : {
'protocol': 'exitcode',
'source' : ['cxx.cpp'],
'suite' : ['cpp'],
'cpp_args' : [arg],

View File

@ -41,7 +41,7 @@ gobject_tests = {
'defaultiface' : {
'source' : ['defaultiface.c', 'testmodule.c'],
},
'deftype' : {},
'deftype' : { 'protocol': 'exitcode' },
'deprecated-properties' : {},
'dynamictype' : {
'source' : ['dynamictype.c', 'testmodule.c'],
@ -109,6 +109,7 @@ gobject_tests = {
if have_cxx
gobject_tests += {
'cxx' : {
'protocol': 'exitcode',
'source' : ['cxx.cpp'],
'suite' : ['cpp'],
},
@ -117,6 +118,7 @@ if have_cxx
foreach std, arg: cxx_standards
gobject_tests += {
'cxx-@0@'.format(std) : {
'protocol': 'exitcode',
'source' : ['cxx.cpp'],
'suite' : ['cpp'],
'cpp_args' : [arg],