sim: testsuite: calculate $arch from $subdir

Since we require ports to use a matching subdir name in the testsuite
tree, we can use that to calculate the $arch value.
This commit is contained in:
Mike Frysinger 2021-04-04 09:01:09 -04:00
parent 0592e80bcf
commit 23cb7bac66
72 changed files with 142 additions and 180 deletions

View File

@ -1,3 +1,8 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* lib/sim-defs.exp (sim_tool_path): New function.
(sim_run): Set sim to [sim_tool_path].
2021-04-03 Mike Frysinger <vapier@gentoo.org> 2021-04-03 Mike Frysinger <vapier@gentoo.org>
* lib/sim-defs.exp (run_sim_test): Convert examples to binaries. * lib/sim-defs.exp (run_sim_test): Convert examples to binaries.

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# AArch64 simulator testsuite # AArch64 simulator testsuite
if [istarget aarch64*-*] { if [istarget aarch64*-*] {
# Used to locate the `run` program.
global arch
set arch "aarch64"
# all machines # all machines
set all_machs "aarch64" set all_machs "aarch64"

View File

@ -1,3 +1,9 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
* iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.exp, xscale/xscale.exp:
Likewise.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp, iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.ex, * allinsn.exp, iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.ex,

View File

@ -1,10 +1,6 @@
# ARM simulator testsuite. # ARM simulator testsuite.
if { [istarget arm*-*-*] } { if { [istarget arm*-*-*] } {
# Used to locate the `run` program.
global arch
set arch "arm"
# all machines # all machines
set all_machs "xscale" set all_machs "xscale"

View File

@ -1,10 +1,6 @@
# Intel(r) Wireless MMX(tm) technology simulator testsuite. # Intel(r) Wireless MMX(tm) technology simulator testsuite.
if { [istarget arm*-*-*] } { if { [istarget arm*-*-*] } {
# Used to locate the `run` program.
global arch
set arch "arm"
# all machines # all machines
set all_machs "xscale" set all_machs "xscale"

View File

@ -1,10 +1,6 @@
# Miscellaneous ARM simulator testcases # Miscellaneous ARM simulator testcases
if { [istarget arm*-*-*] } { if { [istarget arm*-*-*] } {
# Used to locate the `run` program.
global arch
set arch "arm"
# all machines # all machines
set all_machs "arm7tdmi" set all_machs "arm7tdmi"

View File

@ -1,10 +1,6 @@
# ARM simulator testsuite. # ARM simulator testsuite.
if { [istarget arm*-*-*] } { if { [istarget arm*-*-*] } {
# Used to locate the `run` program.
global arch
set arch "arm"
# all machines # all machines
set all_machs "arm7tdmi" set all_machs "arm7tdmi"

View File

@ -1,10 +1,6 @@
# XSCALE simulator testsuite. # XSCALE simulator testsuite.
if { [istarget arm*-*-*] } { if { [istarget arm*-*-*] } {
# Used to locate the `run` program.
global arch
set arch "arm"
# all machines # all machines
set all_machs "xscale" set all_machs "xscale"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# avr simulator testsuite # avr simulator testsuite
if [istarget avr-*] { if [istarget avr-*] {
# Used to locate the `run` program.
global arch
set arch "avr"
# all machines # all machines
set all_machs "avr" set all_machs "avr"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# Analog Devices Blackfin simulator testsuite # Analog Devices Blackfin simulator testsuite
if [istarget bfin-*-elf] { if [istarget bfin-*-elf] {
# Used to locate the `run` program.
global arch
set arch "bfin"
# all machines # all machines
set all_machs "bfin" set all_machs "bfin"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# eBPF simulator testsuite # eBPF simulator testsuite
if [istarget bpf-unknown-none] { if [istarget bpf-unknown-none] {
# Used to locate the `run` program.
global arch
set arch "bpf"
# all machines # all machines
set all_machs "bpf" set all_machs "bpf"

View File

@ -1,3 +1,8 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
* misc.exp: Likewise.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp, misc.exp: Define arch. * allinsn.exp, misc.exp: Define arch.

View File

@ -1,10 +1,6 @@
# CR16 simulator testsuite. # CR16 simulator testsuite.
if [istarget cr16*-*-*] { if [istarget cr16*-*-*] {
# Used to locate the `run` program.
global arch
set arch "cr16"
# all machines # all machines
set all_machs "cr16" set all_machs "cr16"

View File

@ -1,10 +1,6 @@
# Miscellaneous CR16 simulator testcases # Miscellaneous CR16 simulator testcases
if [istarget cr16*-*-*] { if [istarget cr16*-*-*] {
# Used to locate the `run` program.
global arch
set arch "cr16"
# all machines # all machines
set all_machs "cr16" set all_machs "cr16"

View File

@ -1,3 +1,8 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* asm/asm.exp (arch): Delete.
* c/c.exp, hw/rv-n-cris/rvc.exp: Likewise.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* asm/asm.exp, c/c.exp, hw/rv-n-cris/rvc.exp: Define arch. * asm/asm.exp, c/c.exp, hw/rv-n-cris/rvc.exp: Define arch.

View File

@ -16,10 +16,6 @@
# Miscellaneous CRIS simulator testcases in assembly code. # Miscellaneous CRIS simulator testcases in assembly code.
if [istarget cris*-*-*] { if [istarget cris*-*-*] {
# Used to locate the `run` program.
global arch
set arch "cris"
global ASFLAGS_FOR_TARGET global ASFLAGS_FOR_TARGET
# All machines we test and the corresponding assembler option. Needs # All machines we test and the corresponding assembler option. Needs
# update if we build the simulator for crisv0 crisv3 and crisv8 too. # update if we build the simulator for crisv0 crisv3 and crisv8 too.

View File

@ -19,10 +19,6 @@ if ![istarget cris*-*-*] {
return return
} }
# Used to locate the `run` program.
global arch
set arch "cris"
set CFLAGS_FOR_TARGET "-O2" set CFLAGS_FOR_TARGET "-O2"
if [istarget cris-*-*] { if [istarget cris-*-*] {
set mach "crisv10" set mach "crisv10"

View File

@ -112,10 +112,6 @@ proc slurp_rv { file } {
# The main test loop. # The main test loop.
if [istarget cris*-*-*] { if [istarget cris*-*-*] {
# Used to locate the `run` program.
global arch
set arch "cris"
global ASFLAGS_FOR_TARGET global ASFLAGS_FOR_TARGET
set has_rv_and_cris [sim_has_rv_and_cris] set has_rv_and_cris [sim_has_rv_and_cris]
global global_as_options global global_as_options
@ -129,8 +125,7 @@ if [istarget cris*-*-*] {
set sim [board_info target sim] set sim [board_info target sim]
if [string equal "" $sim] { if [string equal "" $sim] {
global objdir global objdir
global arch set rvdummy "$objdir/cris/rvdummy"
set rvdummy "$objdir/../$arch/rvdummy"
} else { } else {
set rvdummy "[file dirname [board_info target sim]]/rvdummy" set rvdummy "[file dirname [board_info target sim]]/rvdummy"
} }

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# d10v simulator testsuite. # d10v simulator testsuite.
if [istarget d10v*-*] { if [istarget d10v*-*] {
# Used to locate the `run` program.
global arch
set arch "d10v"
# all machines # all machines
set all_machs "d10v" set all_machs "d10v"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-04-03 Mike Frysinger <vapier@gentoo.org> 2021-04-03 Mike Frysinger <vapier@gentoo.org>
* add.s, allinsn.exp, and.s, call.s, exit-0.s, gt.s, isa.inc, jmp.s, * add.s, allinsn.exp, and.s, call.s, exit-0.s, gt.s, isa.inc, jmp.s,

View File

@ -1,10 +1,6 @@
# Example synacor simulator testsuite. # Example synacor simulator testsuite.
if [istarget *] { if [istarget *] {
# Used to locate the `run` program.
global arch
set arch "example-synacor"
# All machines. # All machines.
set all_machs "example" set all_machs "example"

View File

@ -1,3 +1,9 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
* fr400/allinsn.exp, fr500/allinsn.exp, fr550/allinsn.exp,
interrupts.exp, misc.exp, parallel.exp: Likewise.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp, fr400/allinsn.exp, fr500/allinsn.exp, * allinsn.exp, fr400/allinsn.exp, fr500/allinsn.exp,

View File

@ -1,10 +1,6 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# Used to locate the `run` program.
global arch
set arch "frv"
# all machines # all machines
set all_machs "frv fr500 fr550 fr400 fr405 fr450" set all_machs "frv fr500 fr550 fr400 fr405 fr450"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,10 +1,6 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# Used to locate the `run` program.
global arch
set arch "frv"
# all machines # all machines
set all_machs "fr400 fr405 fr450 fr550" set all_machs "fr400 fr405 fr450 fr550"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,10 +1,6 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# Used to locate the `run` program.
global arch
set arch "frv"
# all machines # all machines
set all_machs "frv fr500 fr550" set all_machs "frv fr500 fr550"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,10 +1,6 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# Used to locate the `run` program.
global arch
set arch "frv"
# all machines # all machines
set all_machs "fr550" set all_machs "fr550"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,10 +1,6 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# Used to locate the `run` program.
global arch
set arch "frv"
# all machines # all machines
set all_machs "frv fr500 fr550 fr400" set all_machs "frv fr500 fr550 fr400"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,10 +1,6 @@
# Miscellaneous FRV simulator testcases. # Miscellaneous FRV simulator testcases.
if [istarget frv*-*] { if [istarget frv*-*] {
# Used to locate the `run` program.
global arch
set arch "frv"
# all machines # all machines
set all_machs "frv fr500 fr550 fr400 fr405 fr450" set all_machs "frv fr500 fr550 fr400 fr405 fr450"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,10 +1,6 @@
# FRV simulator testsuite. # FRV simulator testsuite.
if [istarget frv*-*] { if [istarget frv*-*] {
# Used to locate the `run` program.
global arch
set arch "frv"
# all machines # all machines
set all_machs "frv fr500 fr550 fr400" set all_machs "frv fr500 fr550 fr400"
set cpu_option -mcpu set cpu_option -mcpu

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# ft32 simulator testsuite # ft32 simulator testsuite
if [istarget ft32-*] { if [istarget ft32-*] {
# Used to locate the `run` program.
global arch
set arch "ft32"
# all machines # all machines
set all_machs "ft32" set all_machs "ft32"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# Hitachi H8/300 (h, s, sx) simulator testsuite # Hitachi H8/300 (h, s, sx) simulator testsuite
if {[istarget h8300*-*-*] || [istarget h8sx*-*-*]} then { if {[istarget h8300*-*-*] || [istarget h8sx*-*-*]} then {
# Used to locate the `run` program.
global arch
set arch "h8300"
set all_machs "h8300 h8300h h8300s h8sx" set all_machs "h8300 h8300h h8300s h8sx"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] { foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# iq2000 simulator testsuite # iq2000 simulator testsuite
if [istarget iq2000-*] { if [istarget iq2000-*] {
# Used to locate the `run` program.
global arch
set arch "iq2000"
# all machines # all machines
set all_machs "iq2000" set all_machs "iq2000"

View File

@ -48,6 +48,22 @@ proc sim_compile { source dest type options } {
return $result return $result
} }
# Find the path to the simulator for executing.
proc sim_tool_path {} {
global sim_path
set sim "$sim_path"
if [string equal "" $sim] {
global objdir
global subdir
set arch "$subdir"
while { [file dirname $arch] != "." } {
set arch [file dirname $arch]
}
return "$objdir/$arch/run"
}
return "$sim"
}
# Run a program on the simulator. # Run a program on the simulator.
# Required by dejagnu (at least ${tool}_run used to be). # Required by dejagnu (at least ${tool}_run used to be).
# #
@ -98,16 +114,7 @@ proc sim_run { prog sim_opts prog_opts redir options } {
verbose "testcase timeout is set to $testcase_timeout" 1 verbose "testcase timeout is set to $testcase_timeout" 1
set sim [board_info target sim] set sim [sim_tool_path]
if [string equal "" $sim] {
# Special case the simulator. These tests are designed to
# be run inside of the simulator, not on the native host.
# So if the sim target isn't set, default to the target run.
# These global variables come from generated site.exp.
global objdir
global arch
set sim "$objdir/$arch/run"
}
if [is_remote host] { if [is_remote host] {
set prog [remote_download host $prog] set prog [remote_download host $prog]

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# lm32 simulator testsuite # lm32 simulator testsuite
if [istarget lm32-*] { if [istarget lm32-*] {
# Used to locate the `run` program.
global arch
set arch "lm32"
# all machines # all machines
set all_machs "lm32" set all_machs "lm32"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -2,10 +2,6 @@
# TODO: Add support for .c tests. # TODO: Add support for .c tests.
if [istarget m32c*-*-*] { if [istarget m32c*-*-*] {
# Used to locate the `run` program.
global arch
set arch "m32c"
# all machines # all machines
set all_machs "m32c" set all_machs "m32c"

View File

@ -1,3 +1,8 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
* misc.exp: Likewise.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp, misc.exp: Define arch. * allinsn.exp, misc.exp: Define arch.

View File

@ -1,10 +1,6 @@
# M32R simulator testsuite. # M32R simulator testsuite.
if [istarget m32r*-*-*] { if [istarget m32r*-*-*] {
# Used to locate the `run` program.
global arch
set arch "m32r"
# all machines # all machines
set all_machs "m32r" set all_machs "m32r"

View File

@ -1,10 +1,6 @@
# Miscellaneous M32R simulator testcases # Miscellaneous M32R simulator testcases
if [istarget m32r*-*-*] { if [istarget m32r*-*-*] {
# Used to locate the `run` program.
global arch
set arch "m32r"
# all machines # all machines
set all_machs "m32r" set all_machs "m32r"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# m68hc11 simulator testsuite # m68hc11 simulator testsuite
if [istarget m68hc11-*] { if [istarget m68hc11-*] {
# Used to locate the `run` program.
global arch
set arch "m68hc11"
# all machines # all machines
set all_machs "m68hc11" set all_machs "m68hc11"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# mcore simulator testsuite # mcore simulator testsuite
if [istarget mcore-*] { if [istarget mcore-*] {
# Used to locate the `run` program.
global arch
set arch "mcore"
# all machines # all machines
set all_machs "mcore" set all_machs "mcore"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# microblaze simulator testsuite # microblaze simulator testsuite
if [istarget microblaze-*] { if [istarget microblaze-*] {
# Used to locate the `run` program.
global arch
set arch "microblaze"
# all machines # all machines
set all_machs "microblaze" set all_machs "microblaze"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* basic.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* basic.exp: Define arch. * basic.exp: Define arch.

View File

@ -42,10 +42,6 @@ proc run_sim_tests { name requested_machs { requested_micromips_machs "" } } {
# Only test mips*-*-elf (e.g., no mips*-*-linux) # Only test mips*-*-elf (e.g., no mips*-*-linux)
if {[istarget mips*-*-elf]} { if {[istarget mips*-*-elf]} {
# Used to locate the `run` program.
global arch
set arch "mips"
set dspmodels "" set dspmodels ""
set mdmxmodels "" set mdmxmodels ""
set micromipsmodels "" set micromipsmodels ""

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# mn10300 simulator testsuite # mn10300 simulator testsuite
if [istarget mn10300-*] { if [istarget mn10300-*] {
# Used to locate the `run` program.
global arch
set arch "mn10300"
# all machines # all machines
set all_machs "mn10300" set all_machs "mn10300"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# moxie simulator testsuite # moxie simulator testsuite
if [istarget moxie-*] { if [istarget moxie-*] {
# Used to locate the `run` program.
global arch
set arch "moxie"
# all machines # all machines
set all_machs "moxie" set all_machs "moxie"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# msp430 simulator testsuite # msp430 simulator testsuite
if [istarget msp430-*] { if [istarget msp430-*] {
# Used to locate the `run` program.
global arch
set arch "msp430"
# all machines # all machines
set all_machs "msp430" set all_machs "msp430"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* alltests.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* alltests.exp: Define arch. * alltests.exp: Define arch.

View File

@ -16,10 +16,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
if [istarget or1k*-*-*] { if [istarget or1k*-*-*] {
# Used to locate the `run` program.
global arch
set arch "or1k"
set all_machs "or1k" set all_machs "or1k"
global global_ld_options global global_ld_options

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -19,10 +19,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
if [istarget pru-*] { if [istarget pru-*] {
# Used to locate the `run` program.
global arch
set arch "pru"
# all machines # all machines
set all_machs "pru" set all_machs "pru"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -1,10 +1,6 @@
# RISC-V simulator testsuite. # RISC-V simulator testsuite.
if [istarget riscv*-*] { if [istarget riscv*-*] {
# Used to locate the `run` program.
global arch
set arch "riscv"
# all machines # all machines
set all_machs "riscv" set all_machs "riscv"

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch. * allinsn.exp: Define arch.

View File

@ -13,10 +13,6 @@ foreach opt $board_variant_list {
} }
if [istarget sh-*elf] { if [istarget sh-*elf] {
# Used to locate the `run` program.
global arch
set arch "sh"
run_sim_test add.s $all run_sim_test add.s $all
run_sim_test and.s $all run_sim_test and.s $all
run_sim_test bandor.s sh run_sim_test bandor.s sh

View File

@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsns.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org> 2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsns.exp: Define arch. * allinsns.exp: Define arch.

View File

@ -3,10 +3,6 @@
if [istarget v850*-*] { if [istarget v850*-*] {
global opt global opt
# Used to locate the `run` program.
global arch
set arch "v850"
# all machines # all machines
switch -regexp -- $opt { switch -regexp -- $opt {
.*v850e.* { .*v850e.* {