mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user