aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-11-22 10:00:45 +1030
committerAlan Modra <amodra@gmail.com>2021-11-23 15:39:26 +1030
commit0c3e266dc283a45a23185be3bb49e4d33987a892 (patch)
tree1e73f15d5ade05de49f9c19bd5c5dc6423bdba0f /binutils
parent2990bf409642bd16d99d66e5f828291148157ab3 (diff)
downloadfsf-binutils-gdb-0c3e266dc283a45a23185be3bb49e4d33987a892.zip
fsf-binutils-gdb-0c3e266dc283a45a23185be3bb49e4d33987a892.tar.gz
fsf-binutils-gdb-0c3e266dc283a45a23185be3bb49e4d33987a892.tar.bz2
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.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/binutils-all/debuginfod.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/testsuite/binutils-all/debuginfod.exp b/binutils/testsuite/binutils-all/debuginfod.exp
index 17fedb9..caff955 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} {