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

@@ -13,10 +13,6 @@ 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