3 changed files with 51 additions and 0 deletions
@ -0,0 +1,22 @@ |
|||
# M32R simulator testsuite. |
|||
|
|||
if [istarget m32r*-*-*] { |
|||
# load support procs |
|||
# load_lib cgen.exp |
|||
|
|||
# start-sanitize-m32rx |
|||
# FIXME: This should live in common place. |
|||
set opts(as,m32rx) "-m32rx --m32rx-enable-special" |
|||
# end-sanitize-m32rx |
|||
|
|||
# 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 |
|||
} |
|||
} |
|||
@ -0,0 +1,22 @@ |
|||
# Miscellaneous M32R simulator testcases |
|||
|
|||
if [istarget m32r*-*-*] { |
|||
# load support procs |
|||
# load_lib cgen.exp |
|||
|
|||
# start-sanitize-m32rx |
|||
# FIXME: This should live in common place. |
|||
set opts(as,m32rx) "-m32rx --m32rx-enable-special" |
|||
# end-sanitize-m32rx |
|||
|
|||
# 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 |
|||
} |
|||
} |
|||
Loading…
Reference in new issue