Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 07/12] sim/testsuite/cris: As applicable, require simoption --cris-900000xx
@ 2022-02-14 23:04 Hans-Peter Nilsson via Gdb-patches
  0 siblings, 0 replies; only message in thread
From: Hans-Peter Nilsson via Gdb-patches @ 2022-02-14 23:04 UTC (permalink / raw)
  To: gdb-patches

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


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

only message in thread, other threads:[~2022-02-14 23:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 23:04 [PATCH 07/12] sim/testsuite/cris: As applicable, require simoption --cris-900000xx Hans-Peter Nilsson via Gdb-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox