mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
3daaa003d2
Running frv's allinsn in serial is quite slow due to the sheer number of tests it contains. By splitting it up and running in parallel, the execution time on my system goes from ~100sec to ~60sec.
18 lines
410 B
Plaintext
18 lines
410 B
Plaintext
# FRV simulator testsuite.
|
|
|
|
sim_init
|
|
|
|
# all machines
|
|
set all_machs "frv fr500 fr550 fr400 fr405 fr450"
|
|
set cpu_option -mcpu
|
|
|
|
# The .cgs suffix is for "cgen .s".
|
|
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[t-z\]*.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
|
|
}
|