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/m32r | |
parent | 9ee455572d97fd8ce458a6df523c447e85dc3edf (diff) | |
download | gdb-b0dcd7d832e33240a9c8c1ed3d8d4636acfd8c4f.zip gdb-b0dcd7d832e33240a9c8c1ed3d8d4636acfd8c4f.tar.gz gdb-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/m32r')
-rw-r--r-- | sim/testsuite/m32r/ChangeLog | 4 | ||||
-rw-r--r-- | sim/testsuite/m32r/allinsn.exp | 5 | ||||
-rw-r--r-- | sim/testsuite/m32r/misc.exp | 5 |
3 files changed, 10 insertions, 4 deletions
diff --git a/sim/testsuite/m32r/ChangeLog b/sim/testsuite/m32r/ChangeLog index 3e6dbf7..e855c1a 100644 --- a/sim/testsuite/m32r/ChangeLog +++ b/sim/testsuite/m32r/ChangeLog @@ -1,3 +1,7 @@ +2021-02-13 Mike Frysinger <vapier@gentoo.org> + + * allinsn.exp, misc.exp: Define arch. + 2021-01-15 Mike Frysinger <vapier@gentoo.org> * exit47.ms: New testcase from ../../m32r-elf/. diff --git a/sim/testsuite/m32r/allinsn.exp b/sim/testsuite/m32r/allinsn.exp index 8eed80f..a800e78 100644 --- a/sim/testsuite/m32r/allinsn.exp +++ b/sim/testsuite/m32r/allinsn.exp @@ -1,8 +1,9 @@ # M32R simulator testsuite. if [istarget m32r*-*-*] { - # load support procs - # load_lib cgen.exp + # Used to locate the `run` program. + global arch + set arch "m32r" # all machines set all_machs "m32r" diff --git a/sim/testsuite/m32r/misc.exp b/sim/testsuite/m32r/misc.exp index 6ed5638..e571c2e 100644 --- a/sim/testsuite/m32r/misc.exp +++ b/sim/testsuite/m32r/misc.exp @@ -1,8 +1,9 @@ # Miscellaneous M32R simulator testcases if [istarget m32r*-*-*] { - # load support procs - # load_lib cgen.exp + # Used to locate the `run` program. + global arch + set arch "m32r" # all machines set all_machs "m32r" |