aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/sh/allinsn.exp
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/sh/allinsn.exp')
-rw-r--r--sim/testsuite/sh/allinsn.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/testsuite/sh/allinsn.exp b/sim/testsuite/sh/allinsn.exp
index 40d1392..235a40c 100644
--- a/sim/testsuite/sh/allinsn.exp
+++ b/sim/testsuite/sh/allinsn.exp
@@ -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