diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-15 23:23:46 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-02-13 12:14:25 -0500 |
commit | b0dcd7d832e33240a9c8c1ed3d8d4636acfd8c4f (patch) | |
tree | 34ebe2fe8d8242fda066324c3039ffc5fb816398 /sim/testsuite/sh | |
parent | 9ee455572d97fd8ce458a6df523c447e85dc3edf (diff) | |
download | binutils-b0dcd7d832e33240a9c8c1ed3d8d4636acfd8c4f.zip binutils-b0dcd7d832e33240a9c8c1ed3d8d4636acfd8c4f.tar.gz binutils-b0dcd7d832e33240a9c8c1ed3d8d4636acfd8c4f.tar.bz2 |
sim: testsuite: push $arch out to targets
This is needed to move to automake & its dejagnu-provided logic,
and eventually by the unified sim logic. The $arch is used only
to figure out which `run` program to use when running tests, and
as we move to a single top-level build, we can delete this and
use sim/run directly.
Diffstat (limited to 'sim/testsuite/sh')
-rw-r--r-- | sim/testsuite/sh/ChangeLog | 4 | ||||
-rw-r--r-- | sim/testsuite/sh/allinsn.exp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sim/testsuite/sh/ChangeLog b/sim/testsuite/sh/ChangeLog index e3852f9..3351f5f 100644 --- a/sim/testsuite/sh/ChangeLog +++ b/sim/testsuite/sh/ChangeLog @@ -1,3 +1,7 @@ +2021-02-13 Mike Frysinger <vapier@gentoo.org> + + * allinsn.exp: Define arch. + 2004-09-13 DJ Delorie <dj@redhat.com> * sim/sh/allinsn.exp: Set global_as_options and 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 |