forked from Imagelibrary/binutils-gdb
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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user