sim: testsuite: drop most specific istarget checks

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.
This commit is contained in:
Mike Frysinger
2021-11-26 00:18:45 -05:00
parent 804de1faf4
commit b42f20d2ac
42 changed files with 42 additions and 47 deletions

View File

@@ -14,7 +14,7 @@ foreach opt $board_variant_list {
}
}
if [istarget sh-*elf] {
if [istarget *] {
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
run_sim_test $src $all_machs
}