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/d10v | |
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/d10v')
-rw-r--r-- | sim/testsuite/d10v/ChangeLog | 5 | ||||
-rw-r--r-- | sim/testsuite/d10v/allinsn.exp | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/sim/testsuite/d10v/ChangeLog b/sim/testsuite/d10v/ChangeLog index 5ca8910..d04d884 100644 --- a/sim/testsuite/d10v/ChangeLog +++ b/sim/testsuite/d10v/ChangeLog @@ -1,3 +1,7 @@ +2021-02-13 Mike Frysinger <vapier@gentoo.org> + + * allinsn.exp: Define arch. + 2021-01-15 Mike Frysinger <vapier@gentoo.org> * allinsn.exp: New file. @@ -141,4 +145,3 @@ Mon Nov 10 19:21:26 1997 Andrew Cagney <cagney@b1.cygnus.com> * Makefile.in (RUN_FOR_TARGET): Look for simulator in d10v directory. - diff --git a/sim/testsuite/d10v/allinsn.exp b/sim/testsuite/d10v/allinsn.exp index 123509a..e2e44a2 100644 --- a/sim/testsuite/d10v/allinsn.exp +++ b/sim/testsuite/d10v/allinsn.exp @@ -1,8 +1,10 @@ # d10v simulator testsuite. if [istarget d10v*-*] { - # load support procs (none yet) - # load_lib cgen.exp + # Used to locate the `run` program. + global arch + set arch "d10v" + # all machines set all_machs "d10v" |