aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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} {