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.
This commit is contained in:
Alan Modra 2021-11-22 10:00:45 +10:30
parent 2990bf4096
commit 0c3e266dc2

View File

@ -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} {