aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/mips
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/mips')
-rw-r--r--sim/testsuite/mips/ChangeLog4
-rw-r--r--sim/testsuite/mips/basic.exp3
2 files changed, 7 insertions, 0 deletions
diff --git a/sim/testsuite/mips/ChangeLog b/sim/testsuite/mips/ChangeLog
index ea95441..feedcd3 100644
--- a/sim/testsuite/mips/ChangeLog
+++ b/sim/testsuite/mips/ChangeLog
@@ -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.
diff --git a/sim/testsuite/mips/basic.exp b/sim/testsuite/mips/basic.exp
index f810741..2eff923 100644
--- a/sim/testsuite/mips/basic.exp
+++ b/sim/testsuite/mips/basic.exp
@@ -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 ""