binutils-gdb/sim/testsuite/m32r
Mike Frysinger c0d6a6e582 sim: testsuite: rework sim_init usage
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.
2021-11-26 19:48:05 -05:00
..
add3.cgs
add.cgs
addi.cgs
addv3.cgs
addv.cgs
addx.cgs
allinsn.exp sim: testsuite: rework sim_init usage 2021-11-26 19:48:05 -05:00
and3.cgs
and.cgs
bc8.cgs
bc24.cgs
beq.cgs
beqz.cgs
bgez.cgs
bgtz.cgs
bl8.cgs
bl24.cgs
blez.cgs
bltz.cgs
bnc8.cgs
bnc24.cgs
bne.cgs
bnez.cgs
bra8.cgs
bra24.cgs
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
cmp.cgs
cmpi.cgs
cmpu.cgs
cmpui.cgs
div.cgs
divu.cgs
exit47.ms
hello.ms
hw-trap.ms sim: m32r: fix virtual environment with Linux targets 2021-07-01 20:38:07 -04:00
jl.cgs
jmp.cgs
ld24.cgs
ld-d.cgs
ld-plus.cgs
ld.cgs
ldb-d.cgs
ldb.cgs
ldh-d.cgs
ldh.cgs
ldi8.cgs
ldi16.cgs
ldub-d.cgs
ldub.cgs
lduh-d.cgs
lduh.cgs
lock.cgs
machi.cgs
maclo.cgs
macwhi.cgs
macwlo.cgs
misc.exp sim: testsuite: rework sim_init usage 2021-11-26 19:48:05 -05:00
mul.cgs
mulhi.cgs
mullo.cgs
mulwhi.cgs
mulwlo.cgs
mv.cgs
mvfachi.cgs
mvfaclo.cgs
mvfacmi.cgs
mvfc.cgs
mvtachi.cgs
mvtaclo.cgs
mvtc.cgs
neg.cgs
nop.cgs
not.cgs
or3.cgs
or.cgs
rac.cgs
rach.cgs
rem.cgs
remu.cgs
rte.cgs
seth.cgs
sll3.cgs
sll.cgs
slli.cgs
sra3.cgs
sra.cgs
srai.cgs
srl3.cgs
srl.cgs
srli.cgs
st-d.cgs
st-minus.cgs
st-plus.cgs
st.cgs
stb-d.cgs
stb.cgs
sth-d.cgs
sth.cgs
sub.cgs
subv.cgs
subx.cgs
testutils.inc
trap.cgs sim: m32r: fix virtual environment with Linux targets 2021-07-01 20:38:07 -04:00
unlock.cgs
uread16.ms
uread32.ms
uwrite16.ms
uwrite32.ms
xor3.cgs
xor.cgs