GIO/tests: skip test_resources_binary on MIPS platform

There are some flavors of MIPS ABIs, such like r6 vs legacy,
nan2008 vs nan1985 etc.

The `cc -r` may not produce the correct elf binaries.
So let's skip this test for MIPS.
This commit is contained in:
YunQiang Su 2023-10-16 07:18:47 -04:00
parent 046f70cc0d
commit 8105916998

View File

@ -905,7 +905,8 @@ if not meson.is_cross_build()
ld = find_program('ld', required : false)
if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_add_symbol and ld.found()
if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_add_symbol and ld.found() and \
build_machine.cpu_family() != 'mips' and build_machine.cpu_family() != 'mips64'
test_gresource_binary = custom_target('test5.gresource',
input : 'test5.gresource.xml',
output : 'test5.gresource',