From: Alan Modra Date: Sun, 21 Nov 2021 23:30:45 +0000 (+1030) Subject: binutils debuginfod test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c3e266dc283a45a23185be3bb49e4d33987a892;p=binutils-gdb.git binutils debuginfod test A missing "return" resulted in this non-ELF fail: x86_64-w64-mingw32 +FAIL: debuginfod (create separate debug info file) Also, the debuginfod I have installed does not appear to handle non-native ELF objects, so only run the test when native. * testsuite/binutils-all/debuginfod.exp: Don't run test unless native ELF. --- diff --git a/binutils/testsuite/binutils-all/debuginfod.exp b/binutils/testsuite/binutils-all/debuginfod.exp index 17fedb97340..caff955db3e 100644 --- a/binutils/testsuite/binutils-all/debuginfod.exp +++ b/binutils/testsuite/binutils-all/debuginfod.exp @@ -28,8 +28,9 @@ if {[which curl] == 0} { return } -if { ![is_elf_format] } { +if { ![is_elf_format] || ![isnative] } { unsupported "$test (unsupported target)" + return } if { [which $OBJDUMP] == 0} {