public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: bfin: fix mach/xfail usage in tests
@ 2021-11-15  6:38 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2021-11-15  6:38 UTC (permalink / raw)
  To: gdb-patches

Set the mach to the right value all the time, and update xfail to
say the test fails on all targets.  WIth multitarget testing, the
idea of target here doesn't make much sense.
---
 sim/testsuite/bfin/se_all32bitopcodes.S       | 4 ++--
 sim/testsuite/bfin/se_all64bitg0opcodes.S     | 4 ++--
 sim/testsuite/bfin/se_illegalcombination.S    | 2 +-
 sim/testsuite/bfin/se_undefinedinstruction3.S | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sim/testsuite/bfin/se_all32bitopcodes.S b/sim/testsuite/bfin/se_all32bitopcodes.S
index 6ffe6d1c5cfc..0de8e0de961b 100644
--- a/sim/testsuite/bfin/se_all32bitopcodes.S
+++ b/sim/testsuite/bfin/se_all32bitopcodes.S
@@ -11,9 +11,9 @@
 # Don't want to enable for normal `make check` as it takes way too long in
 # the sim -- executes over 3 billion insns, and even at 10 MIPS, that's 10+
 # minutes.  Useful for directed testing, but that's about it.
-# mach: none
+# mach: bfin
 # sim: --environment operating
-# xfail: too many invalid insns are decoded as valid
+# xfail: "too many invalid insns are decoded as valid" *-*
 
 #include "test.h"
 
diff --git a/sim/testsuite/bfin/se_all64bitg0opcodes.S b/sim/testsuite/bfin/se_all64bitg0opcodes.S
index 516583bb2d3a..72da76b9f30c 100644
--- a/sim/testsuite/bfin/se_all64bitg0opcodes.S
+++ b/sim/testsuite/bfin/se_all64bitg0opcodes.S
@@ -10,9 +10,9 @@
 # Don't want to enable for normal `make check` as it takes way too long in
 # the sim -- executes over 3 billion insns, and even at 10 MIPS, that's 10+
 # minutes.  Useful for directed testing, but that's about it.
-# mach: none
+# mach: bfin
 # sim: --environment operating
-# xfail: too many invalid insns are decoded as valid
+# xfail: "too many invalid insns are decoded as valid" *-*
 
 #include "test.h"
 	.include "testutils.inc"
diff --git a/sim/testsuite/bfin/se_illegalcombination.S b/sim/testsuite/bfin/se_illegalcombination.S
index 0fe5f27533ff..85633d1621a0 100644
--- a/sim/testsuite/bfin/se_illegalcombination.S
+++ b/sim/testsuite/bfin/se_illegalcombination.S
@@ -2,7 +2,7 @@
 // Description: Multi-issue Illegal Combinations
 # mach: bfin
 # sim: --environment operating
-# xfail: "missing a few checks; hardware doesnt seem to match PRM?" bfin-*
+# xfail: "missing a few checks; hardware doesnt seem to match PRM?" *-*
 
 #include "test.h"
 .include "testutils.inc"
diff --git a/sim/testsuite/bfin/se_undefinedinstruction3.S b/sim/testsuite/bfin/se_undefinedinstruction3.S
index 0acfb8888cbc..3db07a8641be 100644
--- a/sim/testsuite/bfin/se_undefinedinstruction3.S
+++ b/sim/testsuite/bfin/se_undefinedinstruction3.S
@@ -2,7 +2,7 @@
 // Description: 32 bit special cases Undefined Instructions in Supervisor Mode
 # mach: bfin
 # sim: --environment operating
-# xfail: "missing checks in A0/A1 macfunc" bfin-*
+# xfail: "missing checks in A0/A1 macfunc" *-*
 
 #include "test.h"
 .include "testutils.inc"
-- 
2.33.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-15  6:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-15  6:38 [PATCH] sim: bfin: fix mach/xfail usage in tests Mike Frysinger

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).