public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb/testsuite: skip gdb.arch/amd64-eval.exp when target is not x86_64
@ 2019-11-21 15:37 Simon Marchi
0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2019-11-21 15:37 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2e84f897e51ee67ab8d3ddf848c4a2bfebbd7173
commit 2e84f897e51ee67ab8d3ddf848c4a2bfebbd7173
Author: Lukas Durfina <ldurfina@tachyum.com>
Date: Thu Nov 21 08:37:28 2019 +0100
gdb/testsuite: skip gdb.arch/amd64-eval.exp when target is not x86_64
Diff:
---
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 <ldurfina@tachyum.com>
+
+ * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
+
2019-11-21 Tom de Vries <tdevries@suse.de>
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 \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-21 15:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21 15:37 [binutils-gdb] gdb/testsuite: skip gdb.arch/amd64-eval.exp when target is not x86_64 Simon Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).