Home | History | Annotate | Line # | Download | only in frv
      1  1.1  christos # FRV simulator testsuite.
      2  1.1  christos 
      3  1.1  christos sim_init
      4  1.1  christos 
      5  1.1  christos # all machines
      6  1.1  christos set all_machs "frv fr500 fr550 fr400"
      7  1.1  christos set cpu_option -mcpu
      8  1.1  christos 
      9  1.1  christos # The .pcgs suffix is for "parallel cgen .s".
     10  1.1  christos foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.pcgs]] {
     11  1.1  christos     # If we're only testing specific files and this isn't one of them, skip it.
     12  1.1  christos     if ![runtest_file_p $runtests $src] {
     13  1.1  christos 	continue
     14  1.1  christos     }
     15  1.1  christos     run_sim_test $src $all_machs
     16  1.1  christos }
     17