aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/m68hc11/allinsn.exp
AgeCommit message (Collapse)AuthorFilesLines
2022-02-16sim: testsuite: cleanup the istarget * logicMike Frysinger1-10/+7
Now that the multitarget testing has settled, clean up the cases where istarget * is used. This ends up being mostly style unindenting.
2021-11-28sim: testsuite: drop most specific istarget checksMike Frysinger1-1/+1
We'll rely on the toolchain probing to determine whether each arch's tests can be run rather the current configure target. This allows testing all of the ports in a multitarget configuration. For now, we don't reformat the files entirely to make it easier to review, and in case we need to make adjustments. Once this feels like it's stable, we can flatten the code a bit by removing the if statement entirely.
2021-11-26sim: testsuite: rework sim_init usageMike Frysinger1-0/+2
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-04-08sim: testsuite: calculate $arch from $subdirMike Frysinger1-4/+0
Since we require ports to use a matching subdir name in the testsuite tree, we can use that to calculate the $arch value.
2021-02-13sim: testsuite: push $arch out to targetsMike Frysinger1-0/+4
This is needed to move to automake & its dejagnu-provided logic, and eventually by the unified sim logic. The $arch is used only to figure out which `run` program to use when running tests, and as we move to a single top-level build, we can delete this and use sim/run directly.
2021-01-15sim: testsuite: flatten treeMike Frysinger1-0/+15
Now that all port tests live under testsuite/sim/*/, and none live in testsuite/ directly, flatten the structure by moving all of the dirs under testsuite/sim/ to testsuite/ directly. We need to stop passing --tool to dejagnu so that it searches all dirs and not just ones that start with "sim". Since we have no other dirs in this tree, and no plans to add any, should be fine.