mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 21:34:46 +08:00
allinsn.exp misc.exp: New files: Test run scripts
This commit is contained in:
24
sim/testsuite/sim/cr16/allinsn.exp
Normal file
24
sim/testsuite/sim/cr16/allinsn.exp
Normal file
@ -0,0 +1,24 @@
|
||||
# CR16 simulator testsuite.
|
||||
|
||||
set target_alias cr16-elf
|
||||
set global_ld_options "-L/local/user/swami/cr16-5.1/build/CR_R_2007-08-24_11-34-56/release/linux/lib/gcc/cr16-elf/4.1.2 -T/home10/swami/dummy.ld"
|
||||
|
||||
if [istarget cr16*-*-*] {
|
||||
# load support procs
|
||||
# load_lib cgen.exp
|
||||
|
||||
# all machines
|
||||
set all_machs "cr16"
|
||||
|
||||
|
||||
# The .cgs suffix is for "cgen .s".
|
||||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
|
||||
# If we're only testing specific files and this isn't one of them,
|
||||
# skip it.
|
||||
if ![runtest_file_p $runtests $src] {
|
||||
continue
|
||||
}
|
||||
|
||||
run_sim_test $src $all_machs
|
||||
}
|
||||
}
|
21
sim/testsuite/sim/cr16/misc.exp
Normal file
21
sim/testsuite/sim/cr16/misc.exp
Normal file
@ -0,0 +1,21 @@
|
||||
# Miscellaneous CR16 simulator testcases
|
||||
|
||||
if [istarget cr16*-*-*] {
|
||||
# load support procs
|
||||
# load_lib cgen.exp
|
||||
|
||||
# all machines
|
||||
set all_machs "cr16"
|
||||
|
||||
|
||||
# The .ms suffix is for "miscellaneous .s".
|
||||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.ms]] {
|
||||
# If we're only testing specific files and this isn't one of them,
|
||||
# skip it.
|
||||
if ![runtest_file_p $runtests $src] {
|
||||
continue
|
||||
}
|
||||
|
||||
run_sim_test $src $all_machs
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user