binutils-gdb/sim/testsuite/sh/allinsn.exp
Mike Frysinger d0b2f561a1 sim: testsuite: cleanup the istarget * logic
Now that the multitarget testing has settled, clean up the cases where
istarget * is used.  This ends up being mostly style unindenting.
2022-02-16 00:36:47 -05:00

20 lines
359 B
Plaintext

# sh tests
sim_init
set all_machs "sh shdsp"
global ASFLAGS_FOR_TARGET
global LDFLAGS_FOR_TARGET
foreach opt $board_variant_list {
switch "x$opt" {
x-ml { set ASFLAGS_FOR_TARGET "-little --defsym LITTLE=1"
set LDFLAGS_FOR_TARGET "-EL" }
}
}
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
run_sim_test $src $all_machs
}