diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-04-04 09:01:09 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-04-08 00:45:07 -0400 |
commit | 23cb7bac66bf6a24e71390ce7ead5d327ae85439 (patch) | |
tree | feb5cb1d9c3ddb72b94c41cf32492a5af95dab39 /sim/testsuite/cr16 | |
parent | 0592e80bcf1bbab2fbbb110ea395f9608e4f594c (diff) | |
download | binutils-gdb-23cb7bac66bf6a24e71390ce7ead5d327ae85439.tar.gz |
sim: testsuite: calculate $arch from $subdir
Since we require ports to use a matching subdir name in the testsuite
tree, we can use that to calculate the $arch value.
Diffstat (limited to 'sim/testsuite/cr16')
-rw-r--r-- | sim/testsuite/cr16/ChangeLog | 5 | ||||
-rw-r--r-- | sim/testsuite/cr16/allinsn.exp | 4 | ||||
-rw-r--r-- | sim/testsuite/cr16/misc.exp | 4 |
3 files changed, 5 insertions, 8 deletions
diff --git a/sim/testsuite/cr16/ChangeLog b/sim/testsuite/cr16/ChangeLog index b241c860949..68353f04910 100644 --- a/sim/testsuite/cr16/ChangeLog +++ b/sim/testsuite/cr16/ChangeLog @@ -1,3 +1,8 @@ +2021-04-08 Mike Frysinger <vapier@gentoo.org> + + * allinsn.exp (arch): Delete. + * misc.exp: Likewise. + 2021-02-13 Mike Frysinger <vapier@gentoo.org> * allinsn.exp, misc.exp: Define arch. diff --git a/sim/testsuite/cr16/allinsn.exp b/sim/testsuite/cr16/allinsn.exp index 1b6847c7815..d6602b4c682 100644 --- a/sim/testsuite/cr16/allinsn.exp +++ b/sim/testsuite/cr16/allinsn.exp @@ -1,10 +1,6 @@ # CR16 simulator testsuite. if [istarget cr16*-*-*] { - # Used to locate the `run` program. - global arch - set arch "cr16" - # all machines set all_machs "cr16" diff --git a/sim/testsuite/cr16/misc.exp b/sim/testsuite/cr16/misc.exp index 67fa4c2d7d3..5f9d68132b6 100644 --- a/sim/testsuite/cr16/misc.exp +++ b/sim/testsuite/cr16/misc.exp @@ -1,10 +1,6 @@ # Miscellaneous CR16 simulator testcases if [istarget cr16*-*-*] { - # Used to locate the `run` program. - global arch - set arch "cr16" - # all machines set all_machs "cr16" |