mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
tests: Mark should_fail tests as can_fail
Even if they are expected to fail, we should not use an inverse logic for treating their return codes.
This commit is contained in:
parent
8d5ae3ae83
commit
b30430970a
@ -46,7 +46,7 @@ giotypefuncs_inc = custom_target(
|
|||||||
gio_tests = {
|
gio_tests = {
|
||||||
'appmonitor' : {
|
'appmonitor' : {
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
||||||
'should_fail' : host_system == 'darwin',
|
'can_fail' : host_system == 'darwin',
|
||||||
},
|
},
|
||||||
'async-close-output-stream' : {},
|
'async-close-output-stream' : {},
|
||||||
'async-splice-output-stream' : {},
|
'async-splice-output-stream' : {},
|
||||||
@ -56,7 +56,7 @@ gio_tests = {
|
|||||||
'contexts' : {},
|
'contexts' : {},
|
||||||
'contenttype' : {
|
'contenttype' : {
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392 / https://gitlab.gnome.org/GNOME/glib/-/issues/1251
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392 / https://gitlab.gnome.org/GNOME/glib/-/issues/1251
|
||||||
'should_fail' : host_system == 'darwin',
|
'can_fail' : host_system == 'darwin',
|
||||||
},
|
},
|
||||||
'converter-stream' : {},
|
'converter-stream' : {},
|
||||||
'credentials' : {},
|
'credentials' : {},
|
||||||
@ -79,8 +79,7 @@ gio_tests = {
|
|||||||
'dependencies' : [libgdbus_example_objectmanager_dep],
|
'dependencies' : [libgdbus_example_objectmanager_dep],
|
||||||
'install_rpath' : installed_tests_execdir,
|
'install_rpath' : installed_tests_execdir,
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
||||||
'should_fail' : host_system == 'darwin',
|
'can_fail' : host_system in ['darwin', 'windows'],
|
||||||
'can_fail' : host_system == 'windows',
|
|
||||||
},
|
},
|
||||||
'inet-address' : {},
|
'inet-address' : {},
|
||||||
'io-stream' : {},
|
'io-stream' : {},
|
||||||
@ -104,7 +103,7 @@ gio_tests = {
|
|||||||
'sleepy-stream' : {},
|
'sleepy-stream' : {},
|
||||||
'socket' : {
|
'socket' : {
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
||||||
'should_fail' : host_system == 'darwin',
|
'can_fail' : host_system == 'darwin',
|
||||||
},
|
},
|
||||||
'socket-listener' : {},
|
'socket-listener' : {},
|
||||||
'socket-service' : {},
|
'socket-service' : {},
|
||||||
@ -122,7 +121,7 @@ gio_tests = {
|
|||||||
'unix-fd' : {},
|
'unix-fd' : {},
|
||||||
'gdbus-address-get-session' : {
|
'gdbus-address-get-session' : {
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
||||||
'should_fail' : host_system == 'darwin',
|
'can_fail' : host_system == 'darwin',
|
||||||
},
|
},
|
||||||
'win32-appinfo' : {},
|
'win32-appinfo' : {},
|
||||||
}
|
}
|
||||||
|
@ -18,12 +18,12 @@ glib_tests = {
|
|||||||
'dataset' : {},
|
'dataset' : {},
|
||||||
'date' : {
|
'date' : {
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
||||||
'should_fail' : host_system == 'darwin',
|
'can_fail' : host_system == 'darwin',
|
||||||
},
|
},
|
||||||
'dir' : {},
|
'dir' : {},
|
||||||
'environment' : {
|
'environment' : {
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
||||||
'should_fail' : host_system == 'darwin',
|
'can_fail' : host_system == 'darwin',
|
||||||
},
|
},
|
||||||
'error' : {},
|
'error' : {},
|
||||||
'fileutils' : {},
|
'fileutils' : {},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user