]>
Commit | Line | Data |
---|---|---|
4a306116 DB |
1 | # FRV simulator testsuite. |
2 | ||
3 | if [istarget frv*-*] { | |
b0dcd7d8 MF |
4 | # Used to locate the `run` program. |
5 | global arch | |
6 | set arch "frv" | |
7 | ||
4a306116 | 8 | # all machines |
086419a8 | 9 | set all_machs "frv fr500 fr550 fr400" |
4a306116 DB |
10 | set cpu_option -mcpu |
11 | ||
12 | # The .pcgs suffix is for "parallel cgen .s". | |
13 | foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.pcgs]] { | |
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 | run_sim_test $src $all_machs | |
20 | } | |
21 | } |