public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Hans-Peter Nilsson <hp@axis.com>
To: <gdb-patches@sourceware.org>
Subject: [PATCH 07/12] sim/testsuite/cris: As applicable, require simoption --cris-900000xx
Date: Tue, 15 Feb 2022 00:04:34 +0100	[thread overview]
Message-ID: <20220214230434.1D01020439@pchp3.se.axis.com> (raw)

Apply the new run_sim_test option "require" as in "#require
simoption --cris-900000xx" for all tests using that option.
This allows a clean test-suite-run for a build with
--disable-sim-hardware, where that option is not supported,
by skipping those tests as "untested".

sim/testsuite/cris:
	* asm/io1.ms, asm/io2.ms, asm/io3.ms, asm/io6.ms,
	asm/io7.ms: Call "#require: simoption --cris-900000xx".
---
 sim/testsuite/cris/asm/io1.ms | 1 +
 sim/testsuite/cris/asm/io2.ms | 1 +
 sim/testsuite/cris/asm/io3.ms | 1 +
 sim/testsuite/cris/asm/io6.ms | 1 +
 sim/testsuite/cris/asm/io7.ms | 1 +
 5 files changed, 5 insertions(+)

diff --git a/sim/testsuite/cris/asm/io1.ms b/sim/testsuite/cris/asm/io1.ms
index 3d252ae1f93a..3b830f02327e 100644
--- a/sim/testsuite/cris/asm/io1.ms
+++ b/sim/testsuite/cris/asm/io1.ms
@@ -1,4 +1,5 @@
 # mach: crisv32
+# requires: simoption --cris-900000xx
 # sim: --cris-900000xx --memory-region 0x90000000,0x10
 # xerror:
 # output: /core/cris_900000xx: memory map 0:0x90000000..0x900000ff (256 bytes) overlaps 0:0x90000000..0x9000000f (16 bytes)\nQuit Simulator\n
diff --git a/sim/testsuite/cris/asm/io2.ms b/sim/testsuite/cris/asm/io2.ms
index f6341d3739d1..ce026c5daee5 100644
--- a/sim/testsuite/cris/asm/io2.ms
+++ b/sim/testsuite/cris/asm/io2.ms
@@ -1,4 +1,5 @@
 # mach: crisv32
+# requires: simoption --cris-900000xx
 # sim: --cris-900000xx
 # xerror:
 # output: b1e\n
diff --git a/sim/testsuite/cris/asm/io3.ms b/sim/testsuite/cris/asm/io3.ms
index 664dc61d2676..d0760190737f 100644
--- a/sim/testsuite/cris/asm/io3.ms
+++ b/sim/testsuite/cris/asm/io3.ms
@@ -1,4 +1,5 @@
 # mach: crisv32
+# requires: simoption --cris-900000xx
 # sim: --cris-900000xx
 # output: ce11d0c\n
 
diff --git a/sim/testsuite/cris/asm/io6.ms b/sim/testsuite/cris/asm/io6.ms
index 3af3536265e0..6ddeee1733e4 100644
--- a/sim/testsuite/cris/asm/io6.ms
+++ b/sim/testsuite/cris/asm/io6.ms
@@ -1,5 +1,6 @@
 # mach: crisv32
 # ld: --section-start=.text=0
+# requires: simoption --cris-900000xx
 # sim: --cris-900000xx
 # xerror:
 # output: b1e\n
diff --git a/sim/testsuite/cris/asm/io7.ms b/sim/testsuite/cris/asm/io7.ms
index 84488e9452ed..26261971b959 100644
--- a/sim/testsuite/cris/asm/io7.ms
+++ b/sim/testsuite/cris/asm/io7.ms
@@ -1,5 +1,6 @@
 # mach: crisv32
 # ld: --section-start=.text=0
+# requires: simoption --cris-900000xx
 # sim: --cris-900000xx
 # xerror:
 # output: ce11d0c\n
-- 
2.30.2


                 reply	other threads:[~2022-02-14 23:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220214230434.1D01020439@pchp3.se.axis.com \
    --to=hp@axis.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).