]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: testsuite: push $arch out to targets
authorMike Frysinger <vapier@gentoo.org>
Sat, 16 Jan 2021 04:23:46 +0000 (23:23 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 13 Feb 2021 17:14:25 +0000 (12:14 -0500)
This is needed to move to automake & its dejagnu-provided logic,
and eventually by the unified sim logic.  The $arch is used only
to figure out which `run` program to use when running tests, and
as we move to a single top-level build, we can delete this and
use sim/run directly.

73 files changed:
sim/ChangeLog
sim/configure
sim/configure.tgt
sim/testsuite/ChangeLog
sim/testsuite/Makefile.in
sim/testsuite/aarch64/ChangeLog
sim/testsuite/aarch64/allinsn.exp
sim/testsuite/arm/ChangeLog
sim/testsuite/arm/allinsn.exp
sim/testsuite/arm/iwmmxt/iwmmxt.exp
sim/testsuite/arm/misc.exp
sim/testsuite/arm/thumb/allthumb.exp
sim/testsuite/arm/xscale/xscale.exp
sim/testsuite/avr/ChangeLog
sim/testsuite/avr/allinsn.exp
sim/testsuite/bfin/ChangeLog
sim/testsuite/bfin/allinsn.exp
sim/testsuite/bpf/ChangeLog
sim/testsuite/bpf/allinsn.exp
sim/testsuite/cr16/ChangeLog
sim/testsuite/cr16/allinsn.exp
sim/testsuite/cr16/misc.exp
sim/testsuite/cris/ChangeLog
sim/testsuite/cris/asm/asm.exp
sim/testsuite/cris/c/c.exp
sim/testsuite/cris/hw/rv-n-cris/rvc.exp
sim/testsuite/d10v/ChangeLog
sim/testsuite/d10v/allinsn.exp
sim/testsuite/frv/ChangeLog
sim/testsuite/frv/allinsn.exp
sim/testsuite/frv/fr400/allinsn.exp
sim/testsuite/frv/fr500/allinsn.exp
sim/testsuite/frv/fr550/allinsn.exp
sim/testsuite/frv/interrupts.exp
sim/testsuite/frv/misc.exp
sim/testsuite/frv/parallel.exp
sim/testsuite/ft32/ChangeLog
sim/testsuite/ft32/allinsn.exp
sim/testsuite/h8300/ChangeLog
sim/testsuite/h8300/allinsn.exp
sim/testsuite/iq2000/ChangeLog
sim/testsuite/iq2000/allinsn.exp
sim/testsuite/lm32/ChangeLog
sim/testsuite/lm32/allinsn.exp
sim/testsuite/m32c/ChangeLog
sim/testsuite/m32c/allinsn.exp
sim/testsuite/m32r/ChangeLog
sim/testsuite/m32r/allinsn.exp
sim/testsuite/m32r/misc.exp
sim/testsuite/m68hc11/ChangeLog
sim/testsuite/m68hc11/allinsn.exp
sim/testsuite/mcore/ChangeLog
sim/testsuite/mcore/allinsn.exp
sim/testsuite/microblaze/ChangeLog
sim/testsuite/microblaze/allinsn.exp
sim/testsuite/mips/ChangeLog
sim/testsuite/mips/basic.exp
sim/testsuite/mn10300/ChangeLog
sim/testsuite/mn10300/allinsn.exp
sim/testsuite/moxie/ChangeLog
sim/testsuite/moxie/allinsn.exp
sim/testsuite/msp430/ChangeLog
sim/testsuite/msp430/allinsn.exp
sim/testsuite/or1k/ChangeLog
sim/testsuite/or1k/alltests.exp
sim/testsuite/pru/ChangeLog
sim/testsuite/pru/allinsn.exp
sim/testsuite/riscv/ChangeLog
sim/testsuite/riscv/allinsn.exp
sim/testsuite/sh/ChangeLog
sim/testsuite/sh/allinsn.exp
sim/testsuite/v850/ChangeLog
sim/testsuite/v850/allinsns.exp

index 62dce248ecde02a7fa4bf3d01a5b4ccfd7088572..df11c5eeaddb0cc03720f12260d8d03d9421959b 100644 (file)
@@ -1,3 +1,8 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.tgt: Delete call to AC_SUBST(sim_arch).
+       * configure: Regenerate.
+
 2021-02-13  Mike Frysinger  <vapier@gentoo.org>
 
        * README-HACKING: Replace sinclude with AC_CONFIG_MACRO_DIRS in
index 5a6298199e7bce13acfec9dbcbed940291cb430b..a7747268d3b03e5da6f460ad19e31ea7e0b9f1aa 100755 (executable)
@@ -585,7 +585,6 @@ ac_unique_file="Makefile.in"
 enable_option_checking=no
 ac_subst_vars='LTLIBOBJS
 LIBOBJS
-sim_arch
 subdirs
 CFLAGS_FOR_BUILD
 CC_FOR_BUILD
@@ -4087,7 +4086,6 @@ subdirs="$subdirs aarch64"
        ;;
 esac
 
-
   if test "$sim_igen" = yes; then
     subdirs="$subdirs igen"
 
index 5f201060f1c1a90f4267b7ef6b9c93575a84e10b..e5acc797316f1097559815e32a9246bb4be4447c 100644 (file)
@@ -111,4 +111,3 @@ case "${target}" in
        sim_igen=yes
        ;;
 esac
-AC_SUBST(sim_arch)
index 3b2b8df8ffe763f2bc30426592594f5c08b4061e..9eadd5fc400cbeda6219091878ad12c5a29fb9b0 100644 (file)
@@ -1,3 +1,8 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (arch): Delete.
+       (site.exp): Do not output $arch.
+
 2021-02-04  Mike Frysinger  <vapier@gentoo.org>
 
        * riscv/: New directory.
index 1e4604cea68c305edcfb28d6711244ef5317bd45..8db77d2d46f29e540f5c4a76499a7ea4b5b9e96d 100644 (file)
@@ -29,8 +29,6 @@ target_canonical = @target@
 target_alias = @target_alias@
 program_transform_name = @program_transform_name@
 
-arch = @sim_arch@
-
 SHELL = /bin/sh
 SUBDIRS = @subdirs@
 RPATH_ENVVAR = @RPATH_ENVVAR@
@@ -129,7 +127,6 @@ site.exp: Makefile
        @echo '# edit the last section' >> $@-t
        @echo 'set srcdir $(srcdir)' >> $@-t
        @echo 'set objdir' `pwd` >> $@-t
-       @echo 'set arch $(arch)' >> $@-t
        @echo 'set build_alias $(build_alias)' >> $@-t
        @echo 'set build_triplet $(build_canonical)' >> $@-t
        @echo 'set host_alias $(host_alias)' >> $@-t
index f4671da3563c7bfe6a7117f1425de67419078834..29378ce49ca32beba1347bdcab471c4522763fd6 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2017-04-22  Jim Wilson  <jim.wilson@linaro.org>
 
        * fcvtz.s, fstur.s, ldn_single.s, ldnr.s, mla.s, mls.s, uzp.s: Align
index 54d64784c230dd0d51049232dbda653fa9be5952..04a234f53577825197f8c13faf37ccde91abc4a1 100644 (file)
@@ -1,6 +1,10 @@
 # AArch64 simulator testsuite
 
 if [istarget aarch64*-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "aarch64"
+
     # all machines
     set all_machs "aarch64"
 
index 1237d81fe67b2530d412b5a05c66d8ef40d96dac..a1e80feb607dabb6b84b0f110f08ef31ef3a9044 100644 (file)
@@ -1,3 +1,8 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp, iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.ex,
+       xscale/xscale.exp: Define arch.
+
 2013-05-07  Jayant Sonar  <jayant.sonar@kpitcummins.com>
            Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
 
index 9752da615ac372832868150d6846c524e0896409..89ff96594793914e331e50c438e31e1ce2941389 100644 (file)
@@ -1,8 +1,9 @@
 # ARM simulator testsuite.
 
 if { [istarget arm*-*-*] } {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "arm"
 
     # all machines
     set all_machs "xscale"
index 4def69031a90163e508d50aedb4aae62b6fa4403..9710f3670ba75d523646a5062ef52a3c332679a0 100644 (file)
@@ -1,8 +1,9 @@
 # Intel(r) Wireless MMX(tm) technology simulator testsuite.
 
 if { [istarget arm*-*-*] } {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "arm"
 
     # all machines
     set all_machs "xscale"
index bc36ca87368bbd6712bc2ee80a6799f51e5dc565..ea6fd3c3c9a0823317d7edac6471394b169bf158 100644 (file)
@@ -1,8 +1,9 @@
 # Miscellaneous ARM simulator testcases
 
 if { [istarget arm*-*-*] } {
-    # load support procs
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "arm"
 
     # all machines
     set all_machs "arm7tdmi"
index 4298663fd813d573dcf2dbd8704a230461a0beb3..eca5fa18c7193a9dc9cfbbf218781096e4fba7f0 100644 (file)
@@ -1,8 +1,9 @@
 # ARM simulator testsuite.
 
 if { [istarget arm*-*-*] } {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "arm"
 
     # all machines
     set all_machs "arm7tdmi"
index 7c08f11d10d659b2cbc917234ffb47166798e0ce..20c9df80351cc9274f2d3a6ea6854e0a3f533b03 100644 (file)
@@ -1,8 +1,9 @@
 # XSCALE simulator testsuite.
 
 if { [istarget arm*-*-*] } {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "arm"
 
     # all machines
     set all_machs "xscale"
index 8c1bde26b9856db2a09d3e1ab9baf5d7a915d176..8ee57d29d1340b7e63bea8bfdf51e39e05c725de 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2015-03-29  Mike Frysinger  <vapier@gentoo.org>
 
        * testutils.inc (start): Change to _start and add global markings.
index 584a93da93050dc6030ddfd1b4d1e3070315db37..a5c16b629b76afcf893587e292c631c34e8c7684 100644 (file)
@@ -1,6 +1,10 @@
 # avr simulator testsuite
 
 if [istarget avr-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "avr"
+
     # all machines
     set all_machs "avr"
 
index d4432cda1addb5a449246127b779e87038b4b886..ff7f639922ee803b1e1b95405f0aa55eafb51914 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2021-01-18  Mike Frysinger  <vapier@gentoo.org>
 
        * s21.s: Delete accidental copyright line.
index aa304eaa9b4ae2aa6a22e98cbb187b90d4e88ac0..3d3378171c6d67522b081b4e8b148cc1466c9e4f 100644 (file)
@@ -1,6 +1,10 @@
 # Analog Devices Blackfin simulator testsuite
 
 if [istarget bfin-*-elf] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "bfin"
+
     # all machines
     set all_machs "bfin"
 
index 17dd79b468a75c88e0a40cfd56aa4bc391d14571..76d54e1369d260ec8e5a3a78ce8d149434c1d3c1 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2020-09-08  David Faust  <david.faust@oracle.com>
 
        * alu.s: Correct div and mod tests.
index 2cca77021afed94f9de5ae0c4d4cabfba566a609..ffffd8a6892804a8c3a253681b91f80bed889fcc 100644 (file)
@@ -1,6 +1,10 @@
 # eBPF simulator testsuite
 
 if [istarget bpf-unknown-none] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "bpf"
+
     # all machines
     set all_machs "bpf"
 
index 4cb008b68abc789566a88580372e95596e9940d6..b241c8609498b5e223f49d84d5b089e314a65875 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp, misc.exp: Define arch.
+
 2015-12-24  Mike Frysinger  <vapier@gentoo.org>
 
        * allinsn.exp: Append --load-vma to global_sim_options.
index 852a673c360163046c8ae93a3ab3f418fe0c4a8c..1b6847c78150a3eafb55aef10705049f1159c890 100644 (file)
@@ -1,8 +1,9 @@
 # CR16 simulator testsuite.
 
 if [istarget cr16*-*-*] {
-    # load support procs
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "cr16"
 
     # all machines
     set all_machs "cr16"
index 39dd3a4caa3cd737ccdea929e79a3ee13fefca5f..67fa4c2d7d38c72ebab43f4641245481333a9249 100644 (file)
@@ -1,8 +1,9 @@
 # Miscellaneous CR16 simulator testcases
 
 if [istarget cr16*-*-*] {
-    # load support procs
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "cr16"
 
     # all machines
     set all_machs "cr16"
index 16c7c27ad4f8e2fc27b7c7b6bf9d6a32f80ff9f9..d780e2c1d31784d847b4f8f3620489df33a28c75 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * asm/asm.exp, c/c.exp, hw/rv-n-cris/rvc.exp: Define arch.
+
 2021-01-15  Mike Frysinger  <vapier@gentoo.org>
 
        * c/c.exp: Change sim_run return to return_code.  Set status to
index 415bbf1082a996b47ba4638258d738a7136d2ee1..b8c14c8d05cbc21d1f21bb7a8108c93505391128 100644 (file)
 # Miscellaneous CRIS simulator testcases in assembly code.
 
 if [istarget cris*-*-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "cris"
+
     global ASFLAGS_FOR_TARGET
     # All machines we test and the corresponding assembler option.  Needs
     # update if we build the simulator for crisv0 crisv3 and crisv8 too.
index 08ea18812ec5bd655556d0db2877eb5ebefe5d39..3d493b7c1449a3a45097670c102800650110fee3 100644 (file)
@@ -19,6 +19,10 @@ if ![istarget cris*-*-*] {
     return
 }
 
+# Used to locate the `run` program.
+global arch
+set arch "cris"
+
 set CFLAGS_FOR_TARGET "-O2"
 if [istarget cris-*-*] {
     set mach "crisv10"
index 0f9ecec32a26e83e54401329d730645bfbe6b2a0..0a018fa4b881ca0a631064fa730651848a0c1500 100644 (file)
@@ -112,6 +112,10 @@ proc slurp_rv { file } {
 # The main test loop.
 
 if [istarget cris*-*-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "cris"
+
     global ASFLAGS_FOR_TARGET
     set has_rv_and_cris [sim_has_rv_and_cris]
     global global_as_options
index 5ca891021e69cfd9a80919d0cc9b7377b45abe5b..d04d884513c12d1690c645b73ccceba946ef556d 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2021-01-15  Mike Frysinger  <vapier@gentoo.org>
 
        * allinsn.exp: New file.
@@ -141,4 +145,3 @@ Mon Nov 10 19:21:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * Makefile.in (RUN_FOR_TARGET): Look for simulator in d10v
        directory.
-
index 123509a3b990dd07c79bdbe242b6a5cd5f65c74f..e2e44a29092092eb7c47fcf2f56d5fbe8d419c9a 100644 (file)
@@ -1,8 +1,10 @@
 # d10v simulator testsuite.
 
 if [istarget d10v*-*] {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "d10v"
+
     # all machines
     set all_machs "d10v"
 
index 66f027e4465a794dfed9d02f84493a0f7192dc79..7a34cf456f743ed8c3b995785727fdeedbf1eb32 100644 (file)
@@ -1,3 +1,9 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp, fr400/allinsn.exp, fr500/allinsn.exp,
+       fr550/allinsn.exp, interrupts.exp, misc.exp,
+       parallel.exp: Define arch.
+
 2021-01-15  Mike Frysinger  <vapier@gentoo.org>
 
        * cache.ms: New testcase from ../../frv-elf/.
index b7f9fe2ad06ccd118616ebf681d59ced86014d44..2633f30df567a33d8d92996137a8a26affde1acd 100644 (file)
@@ -1,8 +1,10 @@
 # FRV simulator testsuite.
 
 if [istarget frv*-*] {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "frv"
+
     # all machines
     set all_machs "frv fr500 fr550 fr400 fr405 fr450"
     set cpu_option -mcpu
index b1697610403c59eee14a23053de35a42644c0395..ea5846f8fa429607e02afdfb00ddb60992883e72 100644 (file)
@@ -1,8 +1,10 @@
 # FRV simulator testsuite.
 
 if [istarget frv*-*] {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "frv"
+
     # all machines
     set all_machs "fr400 fr405 fr450 fr550"
     set cpu_option -mcpu
index 7d192593efb5a0f621ddc0353773ff3debeb3ab1..40caa630706068c11e52b7de2867ea633f3b1cb2 100644 (file)
@@ -1,8 +1,10 @@
 # FRV simulator testsuite.
 
 if [istarget frv*-*] {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "frv"
+
     # all machines
     set all_machs "frv fr500 fr550"
     set cpu_option -mcpu
index 1fe17952de1a88a6bf343f77f2f7d9a7bfeb487a..8768a6719946fccbb047c6336cb4034f5da047d2 100644 (file)
@@ -1,8 +1,10 @@
 # FRV simulator testsuite.
 
 if [istarget frv*-*] {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "frv"
+
     # all machines
     set all_machs "fr550"
     set cpu_option -mcpu
index e31533e10533347ad5509bad3f80830ba72e9f04..d1f7628d962d404618c2dc7ba70e810d8ac3ec3b 100644 (file)
@@ -1,8 +1,10 @@
 # FRV simulator testsuite.
 
 if [istarget frv*-*] {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "frv"
+
     # all machines
     set all_machs "frv fr500 fr550 fr400"
     set cpu_option -mcpu
index 4245a81cb60a012f9f920c6a1bdb13849e381fd5..d9c80a54600089542f61f153fe45e892b66c4774 100644 (file)
@@ -1,8 +1,10 @@
 # Miscellaneous FRV simulator testcases.
 
 if [istarget frv*-*] {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "frv"
+
     # all machines
     set all_machs "frv fr500 fr550 fr400 fr405 fr450"
     set cpu_option -mcpu
index 8101a67afb5959550a22497f4d97f01d0eed60bd..a883b9891d5d3cb70aacb9233426c862b31cdc70 100644 (file)
@@ -1,8 +1,10 @@
 # FRV simulator testsuite.
 
 if [istarget frv*-*] {
-    # load support procs (none yet)
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "frv"
+
     # all machines
     set all_machs "frv fr500 fr550 fr400"
     set cpu_option -mcpu
index cb1d2f4f89523c2821b08fd546de78f16a103839..d7aba74aac2ba1f888397712f90fc35abca450dd 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2015-10-12  James Bowman  <james.bowman@ftdichip.com>
 
        * basic.s: Add test for memory size link parameters.
index 730b4223632d62844440e33c119dbb7c60f08ec7..50827a592473c4bc06e03b8cd55602550da6b8b4 100644 (file)
@@ -1,6 +1,10 @@
 # ft32 simulator testsuite
 
 if [istarget ft32-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "ft32"
+
     # all machines
     set all_machs "ft32"
 
index 82128cc43ad51f437d73fc9bcead011170b6cfc4..98020b806dcae350beb04c41c7fee458698f1da7 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2021-01-05  Mike Frysinger  <vapier@gentoo.org>
 
        * rotl.s (mach): Set to "h8300s h8sx".
index 68468f6bb10682f3f984dfe0373adac82c3fc6a4..5355bf58a69d2dc21af03dd2fe8d70b2d4daed01 100644 (file)
@@ -1,6 +1,10 @@
 # Hitachi H8/300 (h, s, sx) simulator testsuite
 
 if {[istarget h8300*-*-*] || [istarget h8sx*-*-*]} then {
+    # Used to locate the `run` program.
+    global arch
+    set arch "h8300"
+
     set all_machs "h8300 h8300h h8300s h8sx"
 
     foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
index d3f8b9dffcff25368cb650d159c54f1ecdca81fa..8eb2490bb4dd6c4dd4abf490fe33f622539f9bea 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2015-04-05  Mike Frysinger  <vapier@gentoo.org>
 
        * pass.s, allinsn.exp, testutils.inc: New files.
index 38eee9b277f13154a2265d198d75b18030355dda..96d58435fb4551757ff6491cd13cf789bfa49deb 100644 (file)
@@ -1,6 +1,10 @@
 # iq2000 simulator testsuite
 
 if [istarget iq2000-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "iq2000"
+
     # all machines
     set all_machs "iq2000"
 
index d3f8b9dffcff25368cb650d159c54f1ecdca81fa..8eb2490bb4dd6c4dd4abf490fe33f622539f9bea 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2015-04-05  Mike Frysinger  <vapier@gentoo.org>
 
        * pass.s, allinsn.exp, testutils.inc: New files.
index 61744985f6c8cdf280148fbb0661fff31750918b..ae7c141bd6439b8e158db83b884c770e6b26d65d 100644 (file)
@@ -1,6 +1,10 @@
 # lm32 simulator testsuite
 
 if [istarget lm32-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "lm32"
+
     # all machines
     set all_machs "lm32"
 
index 843791965610585edde1d8cad765e47a25226168..ce68cc35d4558f2e0d950da6743f631425648633 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2015-11-14  Mike Frysinger  <vapier@gentoo.org>
 
        * allinsn.exp: New file.
index fb5ccca282e1e47c06f30462f5f635c6122ae2db..b09b505972a3e2e14ce419158f5d6116e64300d9 100644 (file)
@@ -2,6 +2,10 @@
 # TODO: Add support for .c tests.
 
 if [istarget m32c*-*-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "m32c"
+
     # all machines
     set all_machs "m32c"
 
index 3e6dbf713a35660bf97ebe8da0184e26ed04442a..e855c1a48049fc40a358178e6c6579af64f36297 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp, misc.exp: Define arch.
+
 2021-01-15  Mike Frysinger  <vapier@gentoo.org>
 
        * exit47.ms: New testcase from ../../m32r-elf/.
index 8eed80f91d675864a524c4fac91137b43507baa3..a800e78b1b4618b79dff8d3e99f29560c4d528a8 100644 (file)
@@ -1,8 +1,9 @@
 # M32R simulator testsuite.
 
 if [istarget m32r*-*-*] {
-    # load support procs
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "m32r"
 
     # all machines
     set all_machs "m32r"
index 6ed5638ab29bdc965b13e6ca55a45d0fcbf3461f..e571c2eeb69ddc4e495cf2be6aecb3795755352d 100644 (file)
@@ -1,8 +1,9 @@
 # Miscellaneous M32R simulator testcases
 
 if [istarget m32r*-*-*] {
-    # load support procs
-    # load_lib cgen.exp
+    # Used to locate the `run` program.
+    global arch
+    set arch "m32r"
 
     # all machines
     set all_machs "m32r"
index d3f8b9dffcff25368cb650d159c54f1ecdca81fa..8eb2490bb4dd6c4dd4abf490fe33f622539f9bea 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2015-04-05  Mike Frysinger  <vapier@gentoo.org>
 
        * pass.s, allinsn.exp, testutils.inc: New files.
index db0cbd5d46700a451e31f4ba2286fc97c55b8ae6..0e9b51ec59346456d3147513ee04754b20a18d31 100644 (file)
@@ -1,6 +1,10 @@
 # m68hc11 simulator testsuite
 
 if [istarget m68hc11-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "m68hc11"
+
     # all machines
     set all_machs "m68hc11"
 
index b0e79088ae6b067780ef7af2c736ed16392b1ea8..18a2292c2f0d2aee15986abaa897b4aa70611cf4 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2015-11-15  Mike Frysinger  <vapier@gentoo.org>
 
        * fail.s: New test.
index 5921cfc26431e6bdd71769020c34c27460bfeafb..ecc934b201463bcb1cccf864ef6915a4e38faf64 100644 (file)
@@ -1,6 +1,10 @@
 # mcore simulator testsuite
 
 if [istarget mcore-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "mcore"
+
     # all machines
     set all_machs "mcore"
 
index 2aa1f2cd791d1b2f1ec284cc3a54b28891543309..5808b63ab60d908f51244e5e85a690be69b827f8 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2015-03-29  Mike Frysinger  <vapier@gentoo.org>
 
        * pass.s, allinsn.exp, testutils.inc: New files.
index f756914292c4e46e0cb14ea280b4c34cd28cc496..5f5a4475eed42eb1596772728c856a952460fb17 100644 (file)
@@ -1,6 +1,10 @@
 # microblaze simulator testsuite
 
 if [istarget microblaze-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "microblaze"
+
     # all machines
     set all_machs "microblaze"
 
index ea9544141931839d24874cba6d738afc5945b11a..feedcd36c9bb77c15b11a70115f86414c2af53b6 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * basic.exp: Define arch.
+
 2016-01-06  Joel Brobecker  <brobecker@adacore.com>
 
        * hilo-hazard-4.s: Change copyright ownder to FSF.
index f810741dbb74459c74576f929022ac4b8cccaa58..2eff923c0fc7671112c95fa5cac022eefb7c53e2 100644 (file)
@@ -42,6 +42,9 @@ proc run_sim_tests { name requested_machs { requested_micromips_machs "" } } {
 
 # Only test mips*-*-elf (e.g., no mips*-*-linux)
 if {[istarget mips*-*-elf]} {
+    # Used to locate the `run` program.
+    global arch
+    set arch "mips"
 
     set dspmodels ""
     set mdmxmodels ""
index d3f8b9dffcff25368cb650d159c54f1ecdca81fa..8eb2490bb4dd6c4dd4abf490fe33f622539f9bea 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2015-04-05  Mike Frysinger  <vapier@gentoo.org>
 
        * pass.s, allinsn.exp, testutils.inc: New files.
index f8431e7222ea51d580a598cf836fc04c793cdc7e..7166aefddf30d35f5d02bb1dd7652b35b628e52b 100644 (file)
@@ -1,6 +1,10 @@
 # mn10300 simulator testsuite
 
 if [istarget mn10300-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "mn10300"
+
     # all machines
     set all_machs "mn10300"
 
index d3f8b9dffcff25368cb650d159c54f1ecdca81fa..8eb2490bb4dd6c4dd4abf490fe33f622539f9bea 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2015-04-05  Mike Frysinger  <vapier@gentoo.org>
 
        * pass.s, allinsn.exp, testutils.inc: New files.
index 1a6af8b37d456a50ea352f73035e2f4f1038b1b5..241e675762532685577cb9fa37642f94ccfe3917 100644 (file)
@@ -1,6 +1,10 @@
 # moxie simulator testsuite
 
 if [istarget moxie-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "moxie"
+
     # all machines
     set all_machs "moxie"
 
index cd6b1952adcbd6d3987d5cb1edf4abb25b9d2f8d..df36ad6e5dc5924503e849d2bf8c14add14f85e8 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2020-08-05  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
 
        * mpyull_hwmult.s: New test.
index affa8aedc2ad998370835e04ac45e94c6f3c53c8..83030290cce292aaf8c57cfcdf9defde5ee81d1b 100644 (file)
@@ -1,6 +1,10 @@
 # msp430 simulator testsuite
 
 if [istarget msp430-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "msp430"
+
     # all machines
     set all_machs "msp430"
 
index f5623809b9dc226777e93cf192a7ad3106f8cf98..f4bc2e1f2638ab15210e6c5094d2666f3e583979 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * alltests.exp: Define arch.
+
 2019-06-13  Stafford Horne  <shorne@gmail.com>
 
        * fpu-unordered.S: New file.
index dd08fbcf99b4864c57c2f98f777825a7f5ce36a3..98c1345d0be5a5a69849e8c63fe516940bf13e6a 100644 (file)
@@ -16,6 +16,9 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 if [istarget or1k*-*-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "or1k"
 
     set all_machs "or1k"
 
index 3d862d13da2ab1f484643d0bce91d1d955dbccbc..c6a0af5f026ae95c92d56ff0573989e12a9592dc 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2020-11-12  Dimitar Dimitrov  <dimitar@dinux.eu>
 
        * lmbd.s: New test.
index d147f731c9134326f86a17cc760903e972577b0f..c0d5ce93689481293f20fa2e4bf9ccf66400050c 100644 (file)
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 if [istarget pru-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "pru"
+
     # all machines
     set all_machs "pru"
 
index c222209850ed1ecc079deec8c94a5ae3f16890b4..f982ea85b61f6c1659945c830c0d01a1be06850d 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2021-02-04  Mike Frysinger  <vapier@gentoo.org>
 
        * allinsn.exp, pass.s, testutils.inc: New files.
index 03bec1b541e7c9f5629d7a513765e23690d4b7a8..5701391da832bedf3e2cdb831835d22eccbe76c3 100644 (file)
@@ -1,6 +1,10 @@
 # RISC-V simulator testsuite.
 
 if [istarget riscv*-*] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "riscv"
+
     # all machines
     set all_machs "riscv"
 
index e3852f9eb91bc12ed0298ca8a855904ef93904c9..3351f5f932d54134b0829eae73774a53a52e6cff 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsn.exp: Define arch.
+
 2004-09-13  DJ Delorie  <dj@redhat.com>
 
        * sim/sh/allinsn.exp: Set global_as_options and
index 40d1392994263041db6c1a093999790c1998dd0e..235a40c692ab0248efe78732a88877c3207c9c7b 100644 (file)
@@ -13,6 +13,10 @@ foreach opt $board_variant_list {
 }
 
 if [istarget sh-*elf] {
+    # Used to locate the `run` program.
+    global arch
+    set arch "sh"
+
     run_sim_test add.s    $all
     run_sim_test and.s    $all
     run_sim_test bandor.s sh
index 2508dfd96eec302fcb8bb590ff8336e91d974930..24933c53a9726a46ca1349c5cdad454c19e75462 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * allinsns.exp: Define arch.
+
 2008-02-05  DJ Delorie  <dj@redhat.com>
 
        * .: New directory.
index f60c3d66aa46d1554d2a4cb14983a5f39eeca5c1..4c3bc088ff6b31ff36232b64d9408b35f1bef65e 100644 (file)
@@ -3,10 +3,11 @@
 if [istarget v850*-*] {
     global opt
 
-    # load support procs (none yet)
-    # load_lib cgen.exp
-    # all machines
+    # Used to locate the `run` program.
+    global arch
+    set arch "v850"
 
+    # all machines
     switch -regexp -- $opt {
        .*v850e.* {
            set all_machs "v850e"
@@ -36,4 +37,3 @@ if [istarget v850*-*] {
 #    }
 #    puts [format "%-30s %s" $var "[set ::$var]"]
 #}
-       
\ No newline at end of file