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/example-synacor | |
parent | 0592e80bcf1bbab2fbbb110ea395f9608e4f594c (diff) | |
download | binutils-23cb7bac66bf6a24e71390ce7ead5d327ae85439.zip binutils-23cb7bac66bf6a24e71390ce7ead5d327ae85439.tar.gz binutils-23cb7bac66bf6a24e71390ce7ead5d327ae85439.tar.bz2 |
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/example-synacor')
-rw-r--r-- | sim/testsuite/example-synacor/ChangeLog | 4 | ||||
-rw-r--r-- | sim/testsuite/example-synacor/allinsn.exp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sim/testsuite/example-synacor/ChangeLog b/sim/testsuite/example-synacor/ChangeLog index 5d45621..bb9b0b4 100644 --- a/sim/testsuite/example-synacor/ChangeLog +++ b/sim/testsuite/example-synacor/ChangeLog @@ -1,3 +1,7 @@ +2021-04-08 Mike Frysinger <vapier@gentoo.org> + + * allinsn.exp (arch): Delete. + 2021-04-03 Mike Frysinger <vapier@gentoo.org> * add.s, allinsn.exp, and.s, call.s, exit-0.s, gt.s, isa.inc, jmp.s, diff --git a/sim/testsuite/example-synacor/allinsn.exp b/sim/testsuite/example-synacor/allinsn.exp index 7210a61..a73312b 100644 --- a/sim/testsuite/example-synacor/allinsn.exp +++ b/sim/testsuite/example-synacor/allinsn.exp @@ -1,10 +1,6 @@ # Example synacor simulator testsuite. if [istarget *] { - # Used to locate the `run` program. - global arch - set arch "example-synacor" - # All machines. set all_machs "example" |