diff options
Diffstat (limited to 'sim/testsuite/cris')
-rw-r--r-- | sim/testsuite/cris/ChangeLog | 4 | ||||
-rw-r--r-- | sim/testsuite/cris/asm/asm.exp | 4 | ||||
-rw-r--r-- | sim/testsuite/cris/c/c.exp | 4 | ||||
-rw-r--r-- | sim/testsuite/cris/hw/rv-n-cris/rvc.exp | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/sim/testsuite/cris/ChangeLog b/sim/testsuite/cris/ChangeLog index 16c7c27..d780e2c 100644 --- a/sim/testsuite/cris/ChangeLog +++ b/sim/testsuite/cris/ChangeLog @@ -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 diff --git a/sim/testsuite/cris/asm/asm.exp b/sim/testsuite/cris/asm/asm.exp index 415bbf1..b8c14c8 100644 --- a/sim/testsuite/cris/asm/asm.exp +++ b/sim/testsuite/cris/asm/asm.exp @@ -16,6 +16,10 @@ # 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. diff --git a/sim/testsuite/cris/c/c.exp b/sim/testsuite/cris/c/c.exp index 08ea188..3d493b7 100644 --- a/sim/testsuite/cris/c/c.exp +++ b/sim/testsuite/cris/c/c.exp @@ -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" diff --git a/sim/testsuite/cris/hw/rv-n-cris/rvc.exp b/sim/testsuite/cris/hw/rv-n-cris/rvc.exp index 0f9ecec..0a018fa 100644 --- a/sim/testsuite/cris/hw/rv-n-cris/rvc.exp +++ b/sim/testsuite/cris/hw/rv-n-cris/rvc.exp @@ -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 |