]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: bfin: fix mach/xfail usage in tests
authorMike Frysinger <vapier@gentoo.org>
Sun, 14 Nov 2021 18:43:46 +0000 (13:43 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 15 Nov 2021 06:35:49 +0000 (01:35 -0500)
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
sim/testsuite/bfin/se_all64bitg0opcodes.S
sim/testsuite/bfin/se_illegalcombination.S
sim/testsuite/bfin/se_undefinedinstruction3.S

index 6ffe6d1c5cfc5437c9ad7546984435003955b967..0de8e0de961ba7492d47c1b93a5b817aea9dee34 100644 (file)
@@ -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"
 
index 516583bb2d3ab842905c2de5a64c1ae7da2cd02b..72da76b9f30cf07c886c44f8384a0a635eba6948 100644 (file)
@@ -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"
index 0fe5f27533ff1da66931637e417c2a5fa25bdb21..85633d1621a02a36724b5144cef6bbf6e7a79eea 100644 (file)
@@ -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"
index 0acfb8888cbc42ddd967a5a9c20868da3749304a..3db07a8641be4bf43613834d993ef722c8330dd3 100644 (file)
@@ -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"