mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
c0d6a6e582
The sim_init function was called by runtest for each test when --tool was set to sim. When we changed to --tool '' to collapse the testsuite dir, the init function was no longer called on every test. However, it was still being called explicitly by config/default.exp. It's not clear why that explicit call ever existed since, in the past, it meant it was redundant. Lets drop the single sim_init call in config/default.exp and move it out to all our tests. This replicates the runtest behavior so we can setup variables on a per-test basis which allows us to recollapse the sim_path logic back. We'll also leverage this in the future for toolchain setup. Also add a few comments clarifying the overall runtime behavior. |
||
---|---|---|
.. | ||
aarch64 | ||
arm | ||
avr | ||
bfin | ||
bpf | ||
common | ||
config | ||
cr16 | ||
cris | ||
d10v | ||
example-synacor | ||
frv | ||
ft32 | ||
h8300 | ||
iq2000 | ||
lib | ||
lm32 | ||
m32c | ||
m32r | ||
m68hc11 | ||
mcore | ||
microblaze | ||
mips | ||
mn10300 | ||
moxie | ||
msp430 | ||
or1k | ||
pru | ||
riscv | ||
sh | ||
v850 | ||
.gitignore | ||
ChangeLog-2021 | ||
local.mk |