mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
024120b6ee
Switch from the centralized list in the exp file to each test declaring its own requirements which they're already (mostly) doing. This will increase coverage slightly by running more tests in more configurations since the hardcoded exp list was a little out of date. We have to mark the psh* tests as shdsp only (to match what the exp file was doing), mark the fsca & fsrra tests as failing (since they weren't even being run by the exp file), and to fix the expected output & status of the fail test.
20 lines
376 B
Plaintext
20 lines
376 B
Plaintext
# sh tests
|
|
|
|
set all_machs "sh shdsp"
|
|
|
|
set global_as_options ""
|
|
set global_ld_options ""
|
|
|
|
foreach opt $board_variant_list {
|
|
switch "x$opt" {
|
|
x-ml { set global_as_options "-little --defsym LITTLE=1"
|
|
set global_ld_options "-EL" }
|
|
}
|
|
}
|
|
|
|
if [istarget sh-*elf] {
|
|
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
|
|
run_sim_test $src $all_machs
|
|
}
|
|
}
|