mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +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. |
||
---|---|---|
.. | ||
allinsn.exp | ||
ChangeLog-2021 | ||
exit47.s | ||
hello.s | ||
t-ae-ld2w-d.s | ||
t-ae-ld2w-i.s | ||
t-ae-ld2w-id.s | ||
t-ae-ld2w-im.s | ||
t-ae-ld2w-ip.s | ||
t-ae-ld-d.s | ||
t-ae-ld-i.s | ||
t-ae-ld-id.s | ||
t-ae-ld-im.s | ||
t-ae-ld-ip.s | ||
t-ae-st2w-d.s | ||
t-ae-st2w-i.s | ||
t-ae-st2w-id.s | ||
t-ae-st2w-im.s | ||
t-ae-st2w-ip.s | ||
t-ae-st2w-is.s | ||
t-ae-st-d.s | ||
t-ae-st-i.s | ||
t-ae-st-id.s | ||
t-ae-st-im.s | ||
t-ae-st-ip.s | ||
t-ae-st-is.s | ||
t-dbt.s | ||
t-ld-st.s | ||
t-mac.s | ||
t-macros.i | ||
t-mod-ld-pre.s | ||
t-msbu.s | ||
t-mulxu.s | ||
t-mvtac.s | ||
t-mvtc.s | ||
t-rac.s | ||
t-rachi.s | ||
t-rdt.s | ||
t-rep.s | ||
t-rie-xx.s | ||
t-rte.s | ||
t-sac.s | ||
t-sachi.s | ||
t-sadd.s | ||
t-slae.s | ||
t-sp.s | ||
t-sub2w.s | ||
t-sub.s | ||
t-subi.s | ||
t-trap.s |