binutils debuginfod test
Alan Modra
amodra@gmail.com
Mon Nov 22 00:11:56 GMT 2021
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} {
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list