aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cr16/allinsn.exp
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/cr16/allinsn.exp')
-rw-r--r--sim/testsuite/cr16/allinsn.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/sim/testsuite/cr16/allinsn.exp b/sim/testsuite/cr16/allinsn.exp
index 852a673..1b6847c 100644
--- a/sim/testsuite/cr16/allinsn.exp
+++ b/sim/testsuite/cr16/allinsn.exp
@@ -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"