binutils-gdb/sim/testsuite/or1k
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
..
add.S
adrp.S
alltests.exp sim: testsuite: rework sim_init usage 2021-11-26 19:48:05 -05:00
and.S
basic.S
ChangeLog-2021
div.S
ext.S
find.S
flag.S
fpu64a32-unordered.S
fpu64a32.S
fpu-unordered.S
fpu.S
jump.S
load.S
mac.S
mfspr.S
mul.S
or1k-asm-test-env.h
or1k-asm-test-helpers.h
or1k-asm-test.h
or1k-asm.h
or1k-test.ld
or.S
ror.S
shift.S
spr-defs.h
sub.S
xor.S