From 2e84f897e51ee67ab8d3ddf848c4a2bfebbd7173 Mon Sep 17 00:00:00 2001 From: Lukas Durfina Date: Thu, 21 Nov 2019 08:37:28 +0100 Subject: gdb/testsuite: skip gdb.arch/amd64-eval.exp when target is not x86_64 --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.arch/amd64-eval.exp | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 16027e4..1685525 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-11-21 Lukas Durfina + + * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64. + 2019-11-21 Tom de Vries PR gdb/24956 diff --git a/gdb/testsuite/gdb.arch/amd64-eval.exp b/gdb/testsuite/gdb.arch/amd64-eval.exp index 4b5c28e..dd24824 100644 --- a/gdb/testsuite/gdb.arch/amd64-eval.exp +++ b/gdb/testsuite/gdb.arch/amd64-eval.exp @@ -17,6 +17,11 @@ # This testcase exercises evaluation with amd64 calling conventions. +if { ![istarget x86_64-*-* ] || ![is_lp64_target] } { + verbose "Skipping x86_64 eval test." + return +} + standard_testfile .cc if { [prepare_for_testing "failed to prepare" $testfile $srcfile \ -- cgit v1.1