From 8105916998fe1bf1043f2157789392e531ac4bfb Mon Sep 17 00:00:00 2001 From: YunQiang Su Date: Mon, 16 Oct 2023 07:18:47 -0400 Subject: [PATCH] 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. --- gio/tests/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gio/tests/meson.build b/gio/tests/meson.build index 4ef3343ab..4dd45a6aa 100644 --- a/gio/tests/meson.build +++ b/gio/tests/meson.build @@ -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',