]>
Commit | Line | Data |
---|---|---|
882d99e4 DE |
1 | # M32R simulator testsuite. |
2 | ||
3 | if [istarget m32r*-*-*] { | |
4 | # load support procs | |
5 | # load_lib cgen.exp | |
6 | ||
7 | # start-sanitize-m32rx | |
8 | # FIXME: This should live in common place. | |
9 | set opts(as,m32rx) "-m32rx --m32rx-enable-special" | |
10 | # end-sanitize-m32rx | |
11 | ||
12 | # The .cgs suffix is for "cgen .s". | |
13 | foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] { | |
14 | # If we're only testing specific files and this isn't one of them, | |
15 | # skip it. | |
16 | if ![runtest_file_p $runtests $src] { | |
17 | continue | |
18 | } | |
19 | ||
20 | run_sim_test $src | |
21 | } | |
22 | } |