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.
This commit is contained in:
Mike Frysinger
2021-04-04 09:01:09 -04:00
parent 0592e80bcf
commit 23cb7bac66
72 changed files with 142 additions and 180 deletions

View File

@@ -1,3 +1,7 @@
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp (arch): Delete.
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* allinsn.exp: Define arch.

View File

@@ -1,10 +1,6 @@
# lm32 simulator testsuite
if [istarget lm32-*] {
# Used to locate the `run` program.
global arch
set arch "lm32"
# all machines
set all_machs "lm32"